| Index: src/gpu/gl/GrGLUniformManager.cpp
|
| diff --git a/src/gpu/gl/GrGLUniformManager.cpp b/src/gpu/gl/GrGLUniformManager.cpp
|
| index 74bb651fa4b5a6b55680c9d5be49e9ccaaa45568..b3ed2dc7a4df34c1792f3d726b180d5361fcf8ea 100644
|
| --- a/src/gpu/gl/GrGLUniformManager.cpp
|
| +++ b/src/gpu/gl/GrGLUniformManager.cpp
|
| @@ -233,6 +233,18 @@ void GrGLUniformManager::setMatrix4fv(UniformHandle u,
|
| }
|
| }
|
|
|
| +void GrGLUniformManager::enableGlobalTexGen(int unitIndex,
|
| + int numComponents,
|
| + const GrGLfloat* coefficients) const {
|
| + fGpu->enableTexGen(unitIndex, numComponents, coefficients);
|
| +}
|
| +
|
| +void GrGLUniformManager::enableGlobalTexGen(int unitIndex,
|
| + int numComponents,
|
| + const SkMatrix& matrix) const {
|
| + fGpu->enableTexGen(unitIndex, numComponents, matrix);
|
| +}
|
| +
|
| void GrGLUniformManager::setSkMatrix(UniformHandle u, const SkMatrix& matrix) const {
|
| // GR_STATIC_ASSERT(SK_SCALAR_IS_FLOAT);
|
| GrGLfloat mt[] = {
|
|
|