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

Unified Diff: src/gpu/GrProcOptInfo.h

Issue 766653008: Revert of Make all blending up to GrOptDrawState be handled by the xp/xp factory. (Closed) Base URL: https://skia.googlesource.com/skia.git@xferFactorySolo
Patch Set: Created 6 years 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/GrPaint.cpp ('k') | src/gpu/GrProcOptInfo.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrProcOptInfo.h
diff --git a/src/gpu/GrProcOptInfo.h b/src/gpu/GrProcOptInfo.h
index 5778c4c343a3c358cba2fc80e97c39a9eeff72ab..bb657d27c0cfa12b3bd264ca8e7587eefb3c1e2c 100644
--- a/src/gpu/GrProcOptInfo.h
+++ b/src/gpu/GrProcOptInfo.h
@@ -12,9 +12,7 @@
#include "GrInvariantOutput.h"
class GrFragmentStage;
-class GrFragmentProcessor;
class GrGeometryProcessor;
-class GrProcessor;
/**
* GrProcOptInfo gathers invariant data from a set of processor stages.It is used to recognize
@@ -29,8 +27,7 @@
, fInputColorIsUsed(true)
, fInputColor(0)
, fRemoveVertexAttrib(false)
- , fReadsDst(false)
- , fReadsFragPosition(false) {}
+ , fReadsDst(false) {}
void calcWithInitialValues(const GrFragmentStage*, int stageCount, GrColor startColor,
GrColorComponentFlags flags, bool areCoverageStages,
@@ -77,11 +74,6 @@
*/
bool readsDst() const { return fReadsDst; }
- /**
- * Returns true if any of the stages preserved by GrProcOptInfo read the frag position.
- */
- bool readsFragPosition() const { return fReadsFragPosition; }
-
private:
GrInvariantOutput fInOut;
int fFirstEffectStageIndex;
@@ -89,7 +81,6 @@
GrColor fInputColor;
bool fRemoveVertexAttrib;
bool fReadsDst;
- bool fReadsFragPosition;
};
#endif
« no previous file with comments | « src/gpu/GrPaint.cpp ('k') | src/gpu/GrProcOptInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698