aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrInOrderDrawBuffer.h
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-03 18:37:27 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-07-03 18:37:27 +0000
commit1267fbd95290f58443652ca8d947bde50b212618 (patch)
tree64919cb1d59b80d0e0fbce6ebd646b90bee36ba9 /src/gpu/GrInOrderDrawBuffer.h
parent34b73a2da18f9c1ee01ca716a2e5a4ea0fa3ace4 (diff)
Minor GrContext/GrInOrderDrawBuffer cleanup
Diffstat (limited to 'src/gpu/GrInOrderDrawBuffer.h')
-rw-r--r--src/gpu/GrInOrderDrawBuffer.h6
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,