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

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

Issue 365853002: Rename GrGLUniformManager to GrGLProgramResourceManager (Closed) Base URL: https://skia.googlesource.com/skia.git@02-path-program-fragment
Patch Set: rebase Created 6 years, 5 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 | « src/gpu/gl/GrGLProgramDataManager.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLProgramEffects.h
diff --git a/src/gpu/gl/GrGLProgramEffects.h b/src/gpu/gl/GrGLProgramEffects.h
index c9ba9135a9bcc4d11ebaa069cf10ad86ff4672cd..7ae925b69b51073f57731b02d3b8a932f134c851 100644
--- a/src/gpu/gl/GrGLProgramEffects.h
+++ b/src/gpu/gl/GrGLProgramEffects.h
@@ -9,7 +9,7 @@
#define GrGLProgramEffects_DEFINED
#include "GrBackendEffectFactory.h"
-#include "GrGLUniformManager.h"
+#include "GrGLProgramDataManager.h"
#include "GrTexture.h"
#include "GrTextureAccess.h"
@@ -27,7 +27,7 @@ class GrGLFragmentOnlyShaderBuilder;
*/
class GrGLProgramEffects : public SkRefCnt {
public:
- typedef GrGLUniformManager::UniformHandle UniformHandle;
+ typedef GrGLProgramDataManager::UniformHandle UniformHandle;
/**
* This class emits some of the code inserted into the shaders for an effect. The code it
@@ -45,13 +45,13 @@ public:
* Assigns a texture unit to each sampler. It starts on *texUnitIdx and writes the next
* available unit to *texUnitIdx when it returns.
*/
- void initSamplers(const GrGLUniformManager&, int* texUnitIdx);
+ void initSamplers(const GrGLProgramDataManager&, int* texUnitIdx);
/**
* Calls setData() on each effect, and sets their transformation matrices and texture bindings.
*/
virtual void setData(GrGpuGL*,
- const GrGLUniformManager&,
+ const GrGLProgramDataManager&,
const GrEffectStage* effectStages[]) = 0;
/**
@@ -162,7 +162,7 @@ public:
class GrGLVertexProgramEffects : public GrGLProgramEffects {
public:
virtual void setData(GrGpuGL*,
- const GrGLUniformManager&,
+ const GrGLProgramDataManager&,
const GrEffectStage* effectStages[]) SK_OVERRIDE;
private:
@@ -204,7 +204,7 @@ private:
/**
* Helper for setData(). Sets all the transform matrices for an effect.
*/
- void setTransformData(const GrGLUniformManager&, const GrDrawEffect&, int effectIdx);
+ void setTransformData(const GrGLProgramDataManager&, const GrDrawEffect&, int effectIdx);
struct Transform {
Transform() { fCurrentValue = SkMatrix::InvalidMatrix(); }
@@ -254,7 +254,7 @@ private:
class GrGLPathTexGenProgramEffects : public GrGLProgramEffects {
public:
virtual void setData(GrGpuGL*,
- const GrGLUniformManager&,
+ const GrGLProgramDataManager&,
const GrEffectStage* effectStages[]) SK_OVERRIDE;
private:
« no previous file with comments | « src/gpu/gl/GrGLProgramDataManager.cpp ('k') | src/gpu/gl/GrGLProgramEffects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698