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

Unified Diff: src/gpu/GrPathProcessor.cpp

Issue 1441683008: Move GrGLPrimitive/GeometryProc to GLSL (Closed) Base URL: https://skia.googlesource.com/skia.git@xferProcs
Patch Set: nits Created 5 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 | « src/gpu/GrPathProcessor.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/GrPathProcessor.cpp
diff --git a/src/gpu/GrPathProcessor.cpp b/src/gpu/GrPathProcessor.cpp
index b83172d46ed527a89cf52c36d28a9d5fbebcb2bb..f5adfe75d69e490af48c2284f856e937d1a09b33 100644
--- a/src/gpu/GrPathProcessor.cpp
+++ b/src/gpu/GrPathProcessor.cpp
@@ -13,7 +13,7 @@
#include "glsl/GrGLSLProcessorTypes.h"
#include "glsl/GrGLSLProgramBuilder.h"
-class GrGLPathProcessor : public GrGLPrimitiveProcessor {
+class GrGLPathProcessor : public GrGLSLPrimitiveProcessor {
public:
GrGLPathProcessor() : fColor(GrColor_ILLEGAL) {}
@@ -111,7 +111,7 @@ private:
UniformHandle fColorUniform;
GrColor fColor;
- typedef GrGLPrimitiveProcessor INHERITED;
+ typedef GrGLSLPrimitiveProcessor INHERITED;
};
GrPathProcessor::GrPathProcessor(GrColor color,
@@ -131,7 +131,7 @@ void GrPathProcessor::getGLProcessorKey(const GrGLSLCaps& caps,
GrGLPathProcessor::GenKey(*this, caps, b);
}
-GrGLPrimitiveProcessor* GrPathProcessor::createGLInstance(const GrGLSLCaps& caps) const {
+GrGLSLPrimitiveProcessor* GrPathProcessor::createGLInstance(const GrGLSLCaps& caps) const {
SkASSERT(caps.pathRenderingSupport());
return new GrGLPathProcessor();
}
« no previous file with comments | « src/gpu/GrPathProcessor.h ('k') | src/gpu/GrPrimitiveProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698