[Webkit-unassigned] [Bug 49089] New: WebGL renderbuffers can still be uninitialized: need to set the viewport explicitly
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 5 13:25:29 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=49089
Summary: WebGL renderbuffers can still be uninitialized: need
to set the viewport explicitly
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebGL
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bjacob at mozilla.com
This is a variant of bug 48351.
I believe that WebGLFramebuffer::initializeRenderbuffers() needs to set the viewport to (0,0,w,h) where w and h are the width and height of the framebuffer. Otherwise, if the user had set a tiny viewport, the glClear call here fails to initialize the renderbuffer, allowing video memory readback as in bug 48351.
We just fixed this in Mozilla:
http://hg.mozilla.org/mozilla-central/file/3769e11d18d6/content/canvas/src/WebGLContext.h#l1533
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list