Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(328)

Issue 9699125: Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. (Closed)

Created:
8 years, 9 months ago by mmocny
Modified:
8 years, 9 months ago
CC:
chromium-reviews, Ian Vollick, dhollowa+watch_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org
Visibility:
Public.

Description

Chromium implementation of discardBackbuffer WebGraphicsContext3D extension. Webkit side patch: https://bugs.webkit.org/show_bug.cgi?id=81383 BUG=116049 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128501

Patch Set 1 #

Patch Set 2 : Removing bool argument #

Patch Set 3 : New naming: discardFramebufferEXT and ensureFramebufferCHROMIUM #

Total comments: 4

Patch Set 4 : Changing discardFramebufferEXT signature, and adding various WGC3D implementations. #

Patch Set 5 : One more WGC3D implementation (doesn't compile locally, is it used?). #

Patch Set 6 : Adding implementation of explicit backbuffer management. Needs WK patch to work properly. #

Patch Set 7 : . #

Total comments: 2

Patch Set 8 : Renaming extension for now, so its not mistaken for the standard one #

Unified diffs Side-by-side diffs Delta from patch set Stats (+118 lines, -20 lines) Patch
M content/common/gpu/client/command_buffer_proxy.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy.cc View 1 2 3 4 5 1 chunk +14 lines, -0 lines 0 comments Download
M content/common/gpu/client/content_gl_context.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/client/content_gl_context.cc View 1 2 3 4 5 1 chunk +8 lines, -0 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 1 2 3 4 5 6 7 3 chunks +23 lines, -15 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M content/common/gpu/texture_image_transport_surface.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/compositor/test_web_graphics_context_3d.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 3 4 5 6 1 chunk +13 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.h View 1 2 3 4 1 chunk +6 lines, -1 line 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.cc View 1 2 3 4 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
mmocny
This is just a bare minimum patch before webkit side can land. Implementation of these ...
8 years, 9 months ago (2012-03-16 17:50:52 UTC) #1
apatrick_chromium
Rather than a chromium specific extension, why not implement EXT_discard_framebuffer? http://www.khronos.org/registry/gles/extensions/EXT/EXT_discard_framebuffer.txt It could discard the ...
8 years, 9 months ago (2012-03-16 18:07:55 UTC) #2
mmocny
Sure, I can name it that way. But it would temporarily differ from that extension ...
8 years, 9 months ago (2012-03-16 18:15:29 UTC) #3
apatrick_chromium
https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (right): https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h#newcode446 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h:446: virtual void discardFramebufferEXT(); This one takes some arguments. https://chromiumcodereview.appspot.com/9699125/diff/3002/gpu/command_buffer/service/feature_info.cc ...
8 years, 9 months ago (2012-03-16 19:37:54 UTC) #4
mmocny
https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (right): https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h#newcode446 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h:446: virtual void discardFramebufferEXT(); How closely should I duplicate the ...
8 years, 9 months ago (2012-03-16 20:25:20 UTC) #5
apatrick_chromium
https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (right): https://chromiumcodereview.appspot.com/9699125/diff/3002/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h#newcode446 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h:446: virtual void discardFramebufferEXT(); I think for the purposes of ...
8 years, 9 months ago (2012-03-16 21:08:19 UTC) #6
mmocny
This is ready for another round of review, though it will need to wait for ...
8 years, 9 months ago (2012-03-21 20:13:52 UTC) #7
apatrick_chromium
LGTM for my part. You will need one of piman or backer for ui/gfx/compositor. https://chromiumcodereview.appspot.com/9699125/diff/17001/gpu/command_buffer/service/feature_info.cc ...
8 years, 9 months ago (2012-03-22 21:03:49 UTC) #8
jonathan.backer
On 2012/03/22 21:03:49, apatrick_chromium wrote: > LGTM for my part. You will need one of ...
8 years, 9 months ago (2012-03-22 21:05:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mmocny@chromium.org/9699125/21002
8 years, 9 months ago (2012-03-23 14:38:35 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-23 16:17:42 UTC) #11
Change committed as 128501

Powered by Google App Engine
This is Rietveld 408576698