aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/glsl/GrGLSLProcessorTypes.h
blob: 6410e5eee16527ab03ae370ab42919138244bd0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
 * 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 GrGLSLProcessorTypes_DEFINED
#define GrGLSLProcessorTypes_DEFINED

#include "GrShaderVar.h"

/**
 * These are meant to only be used by GrGLSL*Processors so they can add transformed coordinates
 * to their shader code.
 */
typedef GrShaderVar GrGLSLTransformedCoords;
typedef SkTArray<GrShaderVar> GrGLSLTransformedCoordsArray;

#endif