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

Unified Diff: include/gpu/GrContext.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
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | src/gpu/GrInOrderDrawBuffer.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/gpu/GrContext.h
===================================================================
--- include/gpu/GrContext.h (revision 9893)
+++ include/gpu/GrContext.h (working copy)
@@ -477,14 +477,6 @@
*/
enum FlushBits {
/**
- * A client may want Gr to bind a GrRenderTarget in the 3D API so that
- * it can be rendered to directly. However, Gr lazily sets state. Simply
- * calling setRenderTarget() followed by flush() without flags may not
- * bind the render target. This flag forces the context to bind the last
- * set render target in the 3D API.
- */
- kForceCurrentRenderTarget_FlushBit = 0x1,
- /**
* A client may reach a point where it has partially rendered a frame
* through a GrContext that it knows the user will never see. This flag
* causes the flush to skip submission of deferred content to the 3D API
@@ -903,8 +895,6 @@
void setupDrawBuffer();
- void flushDrawBuffer();
-
class AutoRestoreEffects;
/// Sets the paint and returns the target to draw into. The paint can be NULL in which case the
/// draw state is left unmodified.
« no previous file with comments | « no previous file | src/gpu/GrContext.cpp » ('j') | src/gpu/GrInOrderDrawBuffer.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698