| Index: src/gpu/gl/GrGLUtil.h
|
| diff --git a/src/gpu/gl/GrGLUtil.h b/src/gpu/gl/GrGLUtil.h
|
| index 9a82b0b97afa89f37aa74d26a83a856e10f28b27..686943bdcef2c82626a43f4e8860208b3bb6d710 100644
|
| --- a/src/gpu/gl/GrGLUtil.h
|
| +++ b/src/gpu/gl/GrGLUtil.h
|
| @@ -11,6 +11,8 @@
|
| #include "gl/GrGLInterface.h"
|
| #include "GrGLDefines.h"
|
|
|
| +class SkMatrix;
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| typedef uint32_t GrGLVersion;
|
| @@ -91,6 +93,11 @@ void GrGLCheckErr(const GrGLInterface* gl,
|
|
|
| void GrGLClearErr(const GrGLInterface* gl);
|
|
|
| +/**
|
| + * Helper for converting SkMatrix to a column-major GL float array
|
| + */
|
| +template<int MatrixSize> void GrGLGetMatrix(GrGLfloat* dest, const SkMatrix& src);
|
| +
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| /**
|
|
|