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

Issue 18341007: Minor GrContext/GrInOrderDrawBuffer cleanup (Closed)

Created:
7 years, 5 months ago by robertphillips
Modified:
7 years, 5 months ago
Reviewers:
bsalomon
CC:
skia-review_googlegroups.com
Visibility:
Public.

Description

In preparation for having the ResourceCache be able to flush the draw buffer

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -31 lines) Patch
M include/gpu/GrContext.h View 2 chunks +0 lines, -10 lines 0 comments Download
M src/gpu/GrContext.cpp View 2 chunks +1 line, -12 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.h View 1 chunk +1 line, -5 lines 0 comments Download
M src/gpu/GrInOrderDrawBuffer.cpp View 2 chunks +6 lines, -4 lines 2 comments Download

Messages

Total messages: 3 (0 generated)
robertphillips
7 years, 5 months ago (2013-07-03 18:28:30 UTC) #1
bsalomon
lgtm with one question https://codereview.chromium.org/18341007/diff/1/src/gpu/GrInOrderDrawBuffer.cpp File src/gpu/GrInOrderDrawBuffer.cpp (left): https://codereview.chromium.org/18341007/diff/1/src/gpu/GrInOrderDrawBuffer.cpp#oldcode456 src/gpu/GrInOrderDrawBuffer.cpp:456: GrAssert(!fFlushing); Is this assertion no ...
7 years, 5 months ago (2013-07-03 18:34:21 UTC) #2
robertphillips
7 years, 5 months ago (2013-07-03 18:37:45 UTC) #3
Message was sent while issue was closed.
committed as r9898

https://codereview.chromium.org/18341007/diff/1/src/gpu/GrInOrderDrawBuffer.cpp
File src/gpu/GrInOrderDrawBuffer.cpp (left):

https://codereview.chromium.org/18341007/diff/1/src/gpu/GrInOrderDrawBuffer.c...
src/gpu/GrInOrderDrawBuffer.cpp:456: GrAssert(!fFlushing);
It shouldn't ever fire since we are returning at the top of the function if
we're flushing.

Powered by Google App Engine
This is Rietveld 408576698