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

Unified Diff: src/gpu/GrGpu.h

Issue 13314002: Add support for reading the dst pixel value in an effect. Use in a new effect for the kDarken xfer … (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Revert whitespace/comment changes accidentally made in GrGLProgramDesc.cpp Created 7 years, 9 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 | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrGpu.h
===================================================================
--- src/gpu/GrGpu.h (revision 8448)
+++ src/gpu/GrGpu.h (working copy)
@@ -366,7 +366,7 @@
}
// prepares clip flushes gpu state before a draw
- bool setupClipAndFlushState(DrawType);
+ bool setupClipAndFlushState(DrawType, const GrDeviceCoordTexture* dstCopy);
// Functions used to map clip-respecting stencil tests into normal
// stencil funcs supported by GPUs.
@@ -482,9 +482,9 @@
// The GrGpu typically records the clients requested state and then flushes
// deltas from previous state at draw time. This function does the
- // backend-specific flush of the state
+ // backend-specific flush of the state.
// returns false if current state is unsupported.
- virtual bool flushGraphicsState(DrawType) = 0;
+ virtual bool flushGraphicsState(DrawType, const GrDeviceCoordTexture* dstCopy) = 0;
// clears the entire stencil buffer to 0
virtual void clearStencil() = 0;
« no previous file with comments | « src/gpu/GrDrawTarget.cpp ('k') | src/gpu/GrGpu.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698