[Webkit-unassigned] [Bug 104799] New: Web Inspector: [WebGL] handle copyTexImage2D and copyTexSubImage2D calls
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 12 05:23:59 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104799
Summary: Web Inspector: [WebGL] handle copyTexImage2D and
copyTexSubImage2D calls
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P2
Component: Web Inspector
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: aandrey at chromium.org
CC: keishi at webkit.org, pmuellr at yahoo.com,
pfeldman at chromium.org, yurys at chromium.org,
apavlov at chromium.org, loislo at chromium.org,
gman at google.com, vsevik at chromium.org,
web-inspector-bugs at googlegroups.com
The copyTexImage2D and copyTexSubImage2D copy pixels from the current framebuffer, rather than from client memory. To replay these calls when reconstructing a texture, we need to replace those with a texImage2D call providing actual pixels of the texture, since the framebuffer may.
FIXME: this works only for level=0 textures. For a mipmapped texture we will record a copyTexImage2D call, that may or may not work in the replay.
FIXME: we will need to restore drawing buffer pixels (and all bound FBO's) before starting the replay, so that a copyTexImage2D call that relies on a recently rendered frame would work, while we capturing a current one.
Patch to follow.
Links:
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glCopyTexImage2D.xml
http://www.khronos.org/opengles/sdk/docs/man/xhtml/glCopyTexSubImage2D.xml
http://stackoverflow.com/questions/13626606/read-pixels-from-a-webgl-texture
--
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