blob: 0d2b7e742f4d9a9600e997f5aed6c233dd060d4e [file] [log] [blame]
egdaniel64c47282015-11-13 06:54:19 -08001/*
2* Copyright 2015 Google Inc.
3*
4* Use of this source code is governed by a BSD-style license that can be
5* found in the LICENSE file.
6*/
7
8#ifndef GrGLSLUtil_DEFINED
9#define GrGLSLUtil_DEFINED
10
11class SkMatrix;
12
13/**
14 * Helper for converting SkMatrix to a column-major float array. We assume that all GLSL backends
15 * use a column major representation for matrices.
16 */
17template<int MatrixSize> void GrGLSLGetMatrix(float* dest, const SkMatrix& src);
18
19#endif