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

Unified Diff: src/gpu/GrInOrderDrawBuffer.h

Issue 18341007: Minor GrContext/GrInOrderDrawBuffer cleanup (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/gpu/GrInOrderDrawBuffer.h
===================================================================
--- src/gpu/GrInOrderDrawBuffer.h (revision 9893)
+++ src/gpu/GrInOrderDrawBuffer.h (working copy)
@@ -63,13 +63,9 @@
* 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();
+ void flush();
- bool isFlushing() const { return fFlushing; }
-
// overrides from GrDrawTarget
virtual bool geometryHints(int* vertexCount,
int* indexCount) const SK_OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698