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

Issue 7795015: Delay resize of the front buffer until the swap for offscreen buffers. (Closed)

Created:
9 years, 3 months ago by piman
Modified:
9 years, 3 months ago
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Delay resize of the front buffer until the swap for offscreen buffers. Previous code was resizing, and clearing the front buffer as soon as the back buffer was resized. It can lead to race conditions where the compositor draws a black texture if it triggers between the resize and the swap. BUG=None TEST=Pepper Flash Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=98905

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -43 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +46 lines, -43 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
piman
Ken: I hope this is not going to affect your Mac/NVIDIA workaround. If anything I'm ...
9 years, 3 months ago (2011-08-30 02:48:12 UTC) #1
apatrick_chromium
I think it's right. LGTM.
9 years, 3 months ago (2011-08-30 19:40:47 UTC) #2
Ken Russell (switch to Gerrit)
LGTM. Not too concerned about interactions with the NVIDIA workaround. One comment. http://codereview.chromium.org/7795015/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc ...
9 years, 3 months ago (2011-08-30 22:47:13 UTC) #3
piman
On Tue, Aug 30, 2011 at 3:47 PM, <kbr@chromium.org> wrote: > LGTM. Not too concerned ...
9 years, 3 months ago (2011-08-30 22:50:58 UTC) #4
Ken Russell (switch to Gerrit)
On 2011/08/30 22:50:58, piman wrote: > On Tue, Aug 30, 2011 at 3:47 PM, <mailto:kbr@chromium.org> ...
9 years, 3 months ago (2011-08-30 23:00:32 UTC) #5
commit-bot: I haz the power
9 years, 3 months ago (2011-08-31 01:01:57 UTC) #6
Change committed as 98905

Powered by Google App Engine
This is Rietveld 408576698