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

Issue 6901138: Allow gpu ringbuffer to wrap around. (Closed)

Created:
9 years, 7 months ago by jbauman
Modified:
9 years, 7 months ago
Reviewers:
greggman, piman
CC:
chromium-reviews, apatrick_chromium
Visibility:
Public.

Description

Allow gpu ringbuffer to wrap around. The ringbuffer was unwilling to wrap around unless the last block filled it up completely - otherwise it would have to wait until it was completely empty. Fix this in the most straightforward way by filling the ringbuffer up with a padding block if necessary. BUG=80946 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=83924

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -11 lines) Patch
M gpu/command_buffer/client/ring_buffer.h View 1 chunk +8 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/ring_buffer.cc View 5 chunks +17 lines, -8 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
jbauman
9 years, 7 months ago (2011-04-30 00:51:45 UTC) #1
piman
LGTM + nit. http://codereview.chromium.org/6901138/diff/1/gpu/command_buffer/client/ring_buffer.cc File gpu/command_buffer/client/ring_buffer.cc (right): http://codereview.chromium.org/6901138/diff/1/gpu/command_buffer/client/ring_buffer.cc#newcode63 gpu/command_buffer/client/ring_buffer.cc:63: //Add padding to fill space before ...
9 years, 7 months ago (2011-05-03 16:30:20 UTC) #2
greggman
Is there a reason you need a state for the blocks? It's a ring buffer ...
9 years, 7 months ago (2011-05-03 17:22:31 UTC) #3
jbauman
On 2011/05/03 17:22:31, greggman wrote: > Is there a reason you need a state for ...
9 years, 7 months ago (2011-05-03 17:31:03 UTC) #4
greggman
9 years, 7 months ago (2011-05-03 17:59:34 UTC) #5
lgtm

Powered by Google App Engine
This is Rietveld 408576698