diff options
author | 2013-07-03 18:37:27 +0000 | |
---|---|---|
committer | 2013-07-03 18:37:27 +0000 | |
commit | 1267fbd95290f58443652ca8d947bde50b212618 (patch) | |
tree | 64919cb1d59b80d0e0fbce6ebd646b90bee36ba9 /src/gpu/GrInOrderDrawBuffer.h | |
parent | 34b73a2da18f9c1ee01ca716a2e5a4ea0fa3ace4 (diff) |
Minor GrContext/GrInOrderDrawBuffer cleanup
https://codereview.chromium.org/18341007/
git-svn-id: http://skia.googlecode.com/svn/trunk@9898 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r-- | src/gpu/GrInOrderDrawBuffer.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gpu/GrInOrderDrawBuffer.h b/src/gpu/GrInOrderDrawBuffer.h index 6090235263..0871cc53f7 100644 --- a/src/gpu/GrInOrderDrawBuffer.h +++ b/src/gpu/GrInOrderDrawBuffer.h @@ -63,12 +63,8 @@ public: * is destructive). This buffer must not have an active reserved vertex or index source. Any * reserved geometry on the target will be finalized because it's geometry source will be pushed * before flushing and popped afterwards. - * - * @return false if the playback trivially drew nothing because nothing was recorded. */ - bool flush(); - - bool isFlushing() const { return fFlushing; } + void flush(); // overrides from GrDrawTarget virtual bool geometryHints(int* vertexCount, |