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

Issue 11412262: gpu: Defer reads from default framebuffer when needed. (Closed)

Created:
8 years ago by piman
Modified:
8 years ago
Reviewers:
greggman
CC:
chromium-reviews, apatrick_chromium, no sievers, jonathan.backer
Visibility:
Public.

Description

gpu: Defer reads from default framebuffer when needed. On some platforms, we want to unschedule after a swap until the ack, but the DeferDraws mechanism allows us to delay the unschedule until we actually need to access the back buffer. Up to now, only commands that *write* to the framebuffer were considered, however we also need to consider *reads*. This fixes that. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170435

Patch Set 1 #

Total comments: 3

Patch Set 2 : do it in the generator #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -19 lines) Patch
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 11 chunks +29 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +0 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 8 chunks +13 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 4 chunks +15 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h View 1 chunk +8 lines, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
piman
https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode3105 gpu/command_buffer/service/gles2_cmd_decoder.cc:3105: if (!offscreen_target_frame_buffer_.get() && surface_->DeferDraws()) Note here: ResizeCHROMIUM resizes the ...
8 years ago (2012-11-30 01:52:12 UTC) #1
piman
8 years ago (2012-11-30 01:52:38 UTC) #2
greggman
https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1186 gpu/command_buffer/build_gles2_cmd_buffer.py:1186: 'pepper_interface': 'FramebufferBlit', Would be better to add add a ...
8 years ago (2012-11-30 02:49:01 UTC) #3
piman
https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py File gpu/command_buffer/build_gles2_cmd_buffer.py (right): https://codereview.chromium.org/11412262/diff/1/gpu/command_buffer/build_gles2_cmd_buffer.py#newcode1186 gpu/command_buffer/build_gles2_cmd_buffer.py:1186: 'pepper_interface': 'FramebufferBlit', On 2012/11/30 02:49:01, greggman wrote: > Would ...
8 years ago (2012-11-30 04:52:34 UTC) #4
greggman
lgtm
8 years ago (2012-11-30 05:15:16 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/piman@chromium.org/11412262/8001
8 years ago (2012-11-30 08:22:48 UTC) #6
commit-bot: I haz the power
8 years ago (2012-11-30 10:30:45 UTC) #7
Message was sent while issue was closed.
Change committed as 170435

Powered by Google App Engine
This is Rietveld 408576698