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

Unified Diff: src/gpu/gl/GrGLGeometryProcessor.h

Issue 1416423003: Make GrGLSLProgramBuilder base class for ProgramBuilder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: nit 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/gl/GrGLFragmentProcessor.h ('k') | src/gpu/gl/GrGLGeometryProcessor.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLGeometryProcessor.h
diff --git a/src/gpu/gl/GrGLGeometryProcessor.h b/src/gpu/gl/GrGLGeometryProcessor.h
index 1b3b8d9277d20c16548a58ffc1dac2c03a86b430..8151c32eefa18b4edb4a22370e799e2b333858a6 100644
--- a/src/gpu/gl/GrGLGeometryProcessor.h
+++ b/src/gpu/gl/GrGLGeometryProcessor.h
@@ -10,7 +10,7 @@
#include "GrGLPrimitiveProcessor.h"
-class GrGLGPBuilder;
+class GrGLSLGPBuilder;
/**
* If a GL effect needs a GrGLFullShaderBuilder* object to emit vertex code, then it must inherit
@@ -42,7 +42,7 @@ public:
protected:
// Emit a uniform matrix for each coord transform.
- void emitTransforms(GrGLGPBuilder* gp,
+ void emitTransforms(GrGLSLGPBuilder* gp,
const GrShaderVar& posVar,
const char* localCoords,
const TransformsIn& tin,
@@ -51,7 +51,7 @@ protected:
}
// Emit pre-transformed coords as a vertex attribute per coord-transform.
- void emitTransforms(GrGLGPBuilder*,
+ void emitTransforms(GrGLSLGPBuilder*,
const GrShaderVar& posVar,
const char* localCoords,
const SkMatrix& localMatrix,
@@ -59,7 +59,7 @@ protected:
TransformsOut*);
// caller has emitted transforms via attributes
- void emitTransforms(GrGLGPBuilder*,
+ void emitTransforms(GrGLSLGPBuilder*,
const char* localCoords,
const TransformsIn& tin,
TransformsOut* tout);
@@ -71,8 +71,8 @@ protected:
};
// Create the correct type of position variable given the CTM
- void setupPosition(GrGLGPBuilder*, GrGPArgs*, const char* posName);
- void setupPosition(GrGLGPBuilder*, GrGPArgs*, const char* posName, const SkMatrix& mat,
+ void setupPosition(GrGLSLGPBuilder*, GrGPArgs*, const char* posName);
+ void setupPosition(GrGLSLGPBuilder*, GrGPArgs*, const char* posName, const SkMatrix& mat,
UniformHandle* viewMatrixUniform);
static uint32_t ComputePosKey(const SkMatrix& mat) {
« no previous file with comments | « src/gpu/gl/GrGLFragmentProcessor.h ('k') | src/gpu/gl/GrGLGeometryProcessor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698