| Index: src/gpu/glsl/GrGLSL.h
|
| diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/glsl/GrGLSL.h
|
| similarity index 94%
|
| rename from src/gpu/gl/GrGLSL.h
|
| rename to src/gpu/glsl/GrGLSL.h
|
| index b338c991a6ca5415fcc157493b5bdea1cdb723a9..efe31fe2dd051ad3ecfbda2a7154ae7956e4b868 100644
|
| --- a/src/gpu/gl/GrGLSL.h
|
| +++ b/src/gpu/glsl/GrGLSL.h
|
| @@ -8,14 +8,9 @@
|
| #ifndef GrGLSL_DEFINED
|
| #define GrGLSL_DEFINED
|
|
|
| -#include "gl/GrGLInterface.h"
|
| -#include "GrColor.h"
|
| #include "GrTypesPriv.h"
|
| #include "SkString.h"
|
|
|
| -class GrGLContextInfo;
|
| -class GrGLShaderVar;
|
| -
|
| // Limited set of GLSL versions we build shaders for. Caller should round
|
| // down the GLSL version to one of these enums.
|
| enum GrGLSLGeneration {
|
| @@ -45,25 +40,9 @@ enum GrGLSLGeneration {
|
| k310es_GrGLSLGeneration,
|
| };
|
|
|
| -/**
|
| - * Gets the most recent GLSL Generation compatible with the OpenGL context.
|
| - */
|
| -bool GrGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation);
|
| -
|
| bool GrGLSLSupportsNamedFragmentShaderOutputs(GrGLSLGeneration);
|
|
|
| /**
|
| - * Returns a string to include at the beginning of a shader to declare the GLSL
|
| - * version.
|
| - */
|
| -const char* GrGetGLSLVersionDecl(const GrGLContextInfo&);
|
| -
|
| -/**
|
| - * Adds a line of GLSL code to declare the default precision for float types.
|
| - */
|
| -void GrGLSLAppendDefaultFloatPrecisionDeclaration(GrSLPrecision, GrGLStandard, SkString* out);
|
| -
|
| -/**
|
| * Gets the name of the function that should be used to sample a 2D texture. Coord type is used
|
| * to indicate whether the texture is sampled using projective textured (kVec3f) or not (kVec2f).
|
| */
|
|
|