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

Issue 8387008: GpuScheduler can unschedule a command buffer until the GPU has made progress up to a fence. (Closed)

Created:
9 years, 2 months ago by apatrick_chromium
Modified:
9 years, 2 months ago
Reviewers:
jbauman
CC:
chromium-reviews, jbates
Visibility:
Public.

Description

GpuScheduler can unschedule a command buffer until the GPU has made progress up to a fence. Other command buffers on the channel can still be processed but if any more calls are issued on the unscheduled command buffer, the entire channel is unscheduled. This prevents reordering of GL commands wrt flushes. It'll be used by this: http://codereview.chromium.org/8060045/ Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=107154

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -1 line) Patch
M gpu/command_buffer/service/gpu_scheduler.h View 4 chunks +19 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gpu_scheduler.cc View 1 2 4 chunks +72 lines, -0 lines 1 comment Download

Messages

Total messages: 6 (0 generated)
apatrick_chromium
9 years, 2 months ago (2011-10-24 23:59:30 UTC) #1
apatrick_chromium
Oh, forgot to mention. This should do something in the case where GL_NV_fence is not ...
9 years, 2 months ago (2011-10-25 00:02:34 UTC) #2
jbauman
On 2011/10/25 00:02:34, apatrick_chromium wrote: > Oh, forgot to mention. This should do something in ...
9 years, 2 months ago (2011-10-25 00:16:02 UTC) #3
apatrick_chromium
glFinish it is then. http://codereview.chromium.org/8387008/diff/5/gpu/command_buffer/service/gpu_scheduler.cc File gpu/command_buffer/service/gpu_scheduler.cc (right): http://codereview.chromium.org/8387008/diff/5/gpu/command_buffer/service/gpu_scheduler.cc#newcode62 gpu/command_buffer/service/gpu_scheduler.cc:62: glGenFencesNV = NULL; glFinish code ...
9 years, 2 months ago (2011-10-25 00:44:24 UTC) #4
apatrick_chromium
http://codereview.chromium.org/8387008/diff/5001/gpu/command_buffer/service/gpu_scheduler.cc File gpu/command_buffer/service/gpu_scheduler.cc (right): http://codereview.chromium.org/8387008/diff/5001/gpu/command_buffer/service/gpu_scheduler.cc#newcode189 gpu/command_buffer/service/gpu_scheduler.cc:189: glFlush(); I might as well flush here in the ...
9 years, 2 months ago (2011-10-25 00:54:45 UTC) #5
jbauman
9 years, 2 months ago (2011-10-25 01:37:25 UTC) #6
lgtm

Powered by Google App Engine
This is Rietveld 408576698