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

Issue 8512005: Plumb through EGL_NV_post_sub_buffer and GLX_MESA_copy_sub_buffer. (Closed)

Created:
9 years, 1 month ago by jonathan.backer
Modified:
9 years, 1 month ago
CC:
chromium-reviews, apatrick_chromium, Paweł Hajdan Jr.
Visibility:
Public.

Description

Plumb through EGL_NV_post_sub_buffer and GLX_MESA_copy_sub_buffer. These two extensions allow a partial swap: just pushing part of the backbuffer to the front buffer. This will allow the WK compositor to push a partial update to the screen instead of a full frame update (https://bugs.webkit.org/show_bug.cgi?id=70533). We should be able to do something similar for TOUCHUI ImageTransportSurfaces (hence the hooks into GLSurface and the glPostSubBufferCHROMIUM command). Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109625

Patch Set 1 #

Total comments: 1

Patch Set 2 : "" #

Total comments: 4

Patch Set 3 : Address reviewer comments. #

Total comments: 4

Patch Set 4 : Address reviewer comments. #

Patch Set 5 : "" #

Unified diffs Side-by-side diffs Delta from patch set Stats (+232 lines, -3 lines) Patch
M content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/gpu/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2ext.h View 1 chunk +13 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 3 chunks +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 chunk +46 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 chunk +19 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 1 chunk +14 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gfx/gl/generate_bindings.py View 2 chunks +6 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface_egl.h View 2 chunks +4 lines, -1 line 0 comments Download
M ui/gfx/gl/gl_surface_egl.cc View 1 2 3 4 4 chunks +32 lines, -2 lines 0 comments Download
M ui/gfx/gl/gl_surface_glx.h View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/gfx/gl/gl_surface_glx.cc View 1 chunk +11 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 3 4 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.cc View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jonathan.backer
A preliminary version of WebKit side is here: https://bugs.webkit.org/show_bug.cgi?id=72028 http://codereview.chromium.org/8512005/diff/1/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h File gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h (right): http://codereview.chromium.org/8512005/diff/1/gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h#newcode1 gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h:1: ...
9 years, 1 month ago (2011-11-10 17:42:02 UTC) #1
apatrick_chromium
+gman so he can take a look as well. http://codereview.chromium.org/8512005/diff/2001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): http://codereview.chromium.org/8512005/diff/2001/gpu/command_buffer/client/gles2_implementation.cc#newcode2672 gpu/command_buffer/client/gles2_implementation.cc:2672: ...
9 years, 1 month ago (2011-11-10 19:33:16 UTC) #2
greggman
lgtm
9 years, 1 month ago (2011-11-10 19:39:15 UTC) #3
jonathan.backer
+piman for flow control http://codereview.chromium.org/8512005/diff/2001/gpu/command_buffer/client/gles2_implementation.cc File gpu/command_buffer/client/gles2_implementation.cc (right): http://codereview.chromium.org/8512005/diff/2001/gpu/command_buffer/client/gles2_implementation.cc#newcode2672 gpu/command_buffer/client/gles2_implementation.cc:2672: } On 2011/11/10 19:33:16, apatrick_chromium ...
9 years, 1 month ago (2011-11-10 21:00:25 UTC) #4
piman
LGTM overall, just 2 comments. http://codereview.chromium.org/8512005/diff/9001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/8512005/diff/9001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5682 gpu/command_buffer/service/gles2_cmd_decoder.cc:5682: DCHECK(surface_->SupportsPostSubBuffer()); I think this ...
9 years, 1 month ago (2011-11-10 21:14:47 UTC) #5
jonathan.backer
http://codereview.chromium.org/8512005/diff/9001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): http://codereview.chromium.org/8512005/diff/9001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5682 gpu/command_buffer/service/gles2_cmd_decoder.cc:5682: DCHECK(surface_->SupportsPostSubBuffer()); On 2011/11/10 21:14:47, piman wrote: > I think ...
9 years, 1 month ago (2011-11-10 21:40:31 UTC) #6
piman
lgtm
9 years, 1 month ago (2011-11-10 21:42:42 UTC) #7
apatrick_chromium
9 years, 1 month ago (2011-11-10 22:35:45 UTC) #8
LGTM

Powered by Google App Engine
This is Rietveld 408576698