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

Issue 1914005: Call set_unblock(true) on async resize message to guarantee its... (Closed)

Created:
10 years, 7 months ago by Ken Russell (switch to Gerrit)
Modified:
9 years, 7 months ago
CC:
chromium-reviews, jam+cc_chromium.org, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Call set_unblock(true) on async resize message to guarantee its processing order relative to sync messages, in particular flush on behalf of SwapBuffers, in the GPU process. This fixes a race condition in WebGL initialization where the back buffer would sometimes not be resized properly. Thanks to jam for the suggestion for this fix. Tested manually by reloading the WebGL image-texture-test demo over 100 times and ensuring it displayed properly each time. BUG=42733 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=46545

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -1 line) Patch
M chrome/renderer/command_buffer_proxy.cc View 1 chunk +15 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
Ken Russell (switch to Gerrit)
Please review. Thanks.
10 years, 7 months ago (2010-05-05 00:56:33 UTC) #1
jam
lgtm
10 years, 7 months ago (2010-05-05 20:00:28 UTC) #2
apatrick
10 years, 7 months ago (2010-05-06 15:59:13 UTC) #3
LGTM

Powered by Google App Engine
This is Rietveld 408576698