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

Issue 8198017: Allow FlushSyncs to short circuit (Closed)

Created:
9 years, 2 months ago by jbauman
Modified:
9 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, dpranke+watch-content_chromium.org, jam, apatrick_chromium
Visibility:
Public.

Description

Allow FlushSyncs to short circuit All messages on a channel are now executed in order, so Flushs have to wait for all previous AsyncFlushs to finish. This is generally unnecessary, so we replace Flush with a GetStateFast message. All commands are queued up when they enter the gpu process, and GetStateFast commands are moved to the head of the line. BUG= TEST=trybots, webgl conformance tests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=104786

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+73 lines, -110 lines) Patch
M content/common/gpu/gpu_channel.h View 3 chunks +3 lines, -2 lines 0 comments Download
M content/common/gpu/gpu_channel.cc View 5 chunks +47 lines, -45 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.h View 1 chunk +1 line, -4 lines 0 comments Download
M content/common/gpu/gpu_command_buffer_stub.cc View 2 chunks +13 lines, -45 lines 0 comments Download
M content/common/gpu/gpu_messages.h View 1 chunk +2 lines, -6 lines 0 comments Download
M content/renderer/gpu/command_buffer_proxy.cc View 2 chunks +7 lines, -8 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
jbauman
9 years, 2 months ago (2011-10-08 02:34:20 UTC) #1
apatrick_chromium
LGTM
9 years, 2 months ago (2011-10-10 18:36:39 UTC) #2
commit-bot: I haz the power
CQ is trying the patch. Follow status at https://chromium-status.appspot.com/cq/jbauman@chromium.org/8198017/1
9 years, 2 months ago (2011-10-10 19:54:03 UTC) #3
commit-bot: I haz the power
Change committed as 104786
9 years, 2 months ago (2011-10-10 21:14:35 UTC) #4
piman
9 years, 1 month ago (2011-10-31 22:59:12 UTC) #5
On 2011/10/10 21:14:35, I haz the power (commit-bot) wrote:
> Change committed as 104786

I think this is causing
http://code.google.com/p/chromium-os/issues/detail?id=21566
When the renderer is doing a FlushSync, it can starve the gpu process by sending
GpuCommandBufferMsg_GetStateFast messages in a loop without giving a chance to
the GPU process to make progress

Powered by Google App Engine
This is Rietveld 408576698