Index: src/gpu/glsl/GrGLSLProgramDataManager.h |
diff --git a/src/gpu/glsl/GrGLSLProgramDataManager.h b/src/gpu/glsl/GrGLSLProgramDataManager.h |
index 442a1e5bc678f740d57b3c1a0fcb9a7cdcdf1235..8d58fc8b9daef491dccad133554d400e639a804a 100644 |
--- a/src/gpu/glsl/GrGLSLProgramDataManager.h |
+++ b/src/gpu/glsl/GrGLSLProgramDataManager.h |
@@ -12,6 +12,7 @@ |
#include "SkTypes.h" |
class SkMatrix; |
+class SkMatrix44; |
/** Manages the resources used by a shader program. |
* The resources are objects the program uses to communicate with the |
@@ -48,6 +49,9 @@ public: |
// convenience method for uploading a SkMatrix to a 3x3 matrix uniform |
void setSkMatrix(UniformHandle, const SkMatrix&) const; |
+ // convenience method for uploading a SkMatrix44 to a 4x4 matrix uniform |
+ void setSkMatrix44(UniformHandle, const SkMatrix44&) const; |
+ |
// for nvpr only |
GR_DEFINE_RESOURCE_HANDLE_CLASS(VaryingHandle); |
virtual void setPathFragmentInputTransform(VaryingHandle u, int components, |