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

Unified Diff: src/gpu/GrDrawState.h

Issue 726693002: Use DrawStates ProcOptInfo when creating the Optimized Draw State. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 1 month 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/GrOptDrawState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDrawState.h
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 454390cfbc651382e833f4fd3ec841f40916d62d..2aff00a26102396d80264abf03bc456fb9c5e0c9 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -449,6 +449,15 @@ public:
}
}
+ const GrProcOptInfo& colorProcInfo() const {
bsalomon 2014/11/13 22:04:57 puhpuhpuhpublic? Can this somehow only be exposed
egdaniel 2014/11/14 15:36:30 we already friend ODS for other reasons, so not an
+ this->calcColorInvariantOutput();
+ return fColorProcInfo;
+ }
+ const GrProcOptInfo& coverageProcInfo() const {
+ this->calcCoverageInvariantOutput();
+ return fCoverageProcInfo;
+ }
+
/// @}
///////////////////////////////////////////////////////////////////////////
« no previous file with comments | « no previous file | src/gpu/GrOptDrawState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698