RESOLVED FIXED 48152
Implement copyTextureToParentTextureCHROMIUM in WebGraphicsContext3DDefaultImpl.
https://bugs.webkit.org/show_bug.cgi?id=48152
Summary Implement copyTextureToParentTextureCHROMIUM in WebGraphicsContext3DDefaultImpl.
Stephen White
Reported 2010-10-22 13:56:30 PDT
Implement copyTextureToParentTextureCHROMIUM in WebGraphicsContext3DDefaultImpl.
Attachments
Patch (6.53 KB, patch)
2010-10-22 14:02 PDT, Stephen White
no flags
Patch (6.90 KB, patch)
2010-10-25 07:44 PDT, Stephen White
no flags
Patch (7.10 KB, patch)
2010-10-26 09:47 PDT, Stephen White
kbr: review+
Stephen White
Comment 1 2010-10-22 14:02:30 PDT
Eric Seidel (no email)
Comment 2 2010-10-24 01:26:43 PDT
WebKit Review Bot
Comment 3 2010-10-24 11:21:02 PDT
Stephen White
Comment 4 2010-10-25 07:44:49 PDT
Stephen White
Comment 5 2010-10-25 13:10:24 PDT
Fix for warning-as-error on chromium/linux, and add chromium DEPS roll to pick up new API.
Kenneth Russell
Comment 6 2010-10-25 19:27:37 PDT
Comment on attachment 71747 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=71747&action=review This basically looks good but one issue. > WebKit/chromium/src/WebGraphicsContext3DDefaultImpl.cpp:580 > + glGetTexLevelParameteriv(GL_TEXTURE_2D, 0, GL_TEXTURE_WIDTH, &width); Please guard this call either with a call to gfx::GetGLImplementation() (app/gfx/gl/gl_implementation.h) or a test of whether glGetTexLevelParameteriv is NULL. Actually, in the current structure, supportsCopyTextureToParentTextureCHROMIUM should return false if this function is not available. This should prevent crashes when running on ANGLE or a pure GLES2 implementation. See https://bugs.webkit.org/show_bug.cgi?id=48282 .
Stephen White
Comment 7 2010-10-26 09:47:25 PDT
Kenneth Russell
Comment 8 2010-10-26 10:32:50 PDT
Comment on attachment 71902 [details] Patch Looks good.
Stephen White
Comment 9 2010-10-26 12:01:50 PDT
Stephen White
Comment 10 2010-11-02 07:09:33 PDT
*** Bug 47289 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.