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

Unified Diff: src/gpu/GrDefaultGeoProcFactory.h

Issue 1243583002: Add support for transformedLocalCoords to GrDefaultGeoProc (Closed) Base URL: https://skia.googlesource.com/skia.git@pipelinetobatch2
Patch Set: tweaks Created 5 years, 4 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/GrDefaultGeoProcFactory.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrDefaultGeoProcFactory.h
diff --git a/src/gpu/GrDefaultGeoProcFactory.h b/src/gpu/GrDefaultGeoProcFactory.h
index cd886a20e246ae5059246a42e41ed48a6afed5de..2d8055843f321855fc544f2e6ef9fcd1d107ea7b 100644
--- a/src/gpu/GrDefaultGeoProcFactory.h
+++ b/src/gpu/GrDefaultGeoProcFactory.h
@@ -64,14 +64,6 @@ namespace GrDefaultGeoProcFactory {
GrColor fCoverage;
};
- enum GPType {
- kPosition_GPType = 0x0, // we ALWAYS have position
- kColor_GPType = 0x01,
- kLocalCoord_GPType = 0x02,
- kCoverage_GPType= 0x04,
- kLastGPType = kCoverage_GPType
- };
-
struct Color {
enum Type {
kNone_Type,
@@ -113,6 +105,7 @@ namespace GrDefaultGeoProcFactory {
kUnused_Type,
kUsePosition_Type,
kHasExplicit_Type,
+ kHasTransformed_Type,
};
LocalCoords(Type type) : fType(type), fMatrix(NULL) {}
LocalCoords(Type type, const SkMatrix* matrix) : fType(type), fMatrix(matrix) {
« no previous file with comments | « no previous file | src/gpu/GrDefaultGeoProcFactory.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698