| Index: src/gpu/glsl/GrGLSLUtil.h
|
| diff --git a/src/gpu/glsl/GrGLSLUtil.h b/src/gpu/glsl/GrGLSLUtil.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..0d2b7e742f4d9a9600e997f5aed6c233dd060d4e
|
| --- /dev/null
|
| +++ b/src/gpu/glsl/GrGLSLUtil.h
|
| @@ -0,0 +1,19 @@
|
| +/*
|
| +* Copyright 2015 Google Inc.
|
| +*
|
| +* Use of this source code is governed by a BSD-style license that can be
|
| +* found in the LICENSE file.
|
| +*/
|
| +
|
| +#ifndef GrGLSLUtil_DEFINED
|
| +#define GrGLSLUtil_DEFINED
|
| +
|
| +class SkMatrix;
|
| +
|
| +/**
|
| + * Helper for converting SkMatrix to a column-major float array. We assume that all GLSL backends
|
| + * use a column major representation for matrices.
|
| + */
|
| +template<int MatrixSize> void GrGLSLGetMatrix(float* dest, const SkMatrix& src);
|
| +
|
| +#endif
|
|
|