From ff6ea2663f76aa85ec55ddd0f00ca7906f1bc4e3 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Tue, 12 Mar 2013 12:26:08 +0000 Subject: Add GrEllipseEdgeEffect. Adds the effect that replaces the old oval rendering code. Also hooks in code to set attribute names and indices for effects. Author: jvanverth@google.com Review URL: https://chromiumcodereview.appspot.com/12462008 git-svn-id: http://skia.googlecode.com/svn/trunk@8092 2bbb7eff-a529-9590-31e7-b0007b416f81 --- include/gpu/GrTypesPriv.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 include/gpu/GrTypesPriv.h (limited to 'include/gpu/GrTypesPriv.h') diff --git a/include/gpu/GrTypesPriv.h b/include/gpu/GrTypesPriv.h new file mode 100644 index 0000000000..fea80f8f46 --- /dev/null +++ b/include/gpu/GrTypesPriv.h @@ -0,0 +1,27 @@ +/* + * Copyright 2013 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +#ifndef GrTypesPriv_DEFINED +#define GrTypesPriv_DEFINED + +/** + * Types of shader-language-specific boxed variables we can create. + * (Currently only GrGLShaderVars, but should be applicable to other shader + * languages.) + */ +enum GrSLType { + kVoid_GrSLType, + kFloat_GrSLType, + kVec2f_GrSLType, + kVec3f_GrSLType, + kVec4f_GrSLType, + kMat33f_GrSLType, + kMat44f_GrSLType, + kSampler2D_GrSLType +}; + +#endif -- cgit v1.2.3