diff options
author | 2015-10-22 07:08:37 -0700 | |
---|---|---|
committer | 2015-10-22 07:08:37 -0700 | |
commit | 899ba37db336c20a06bce65d952e0664596a26ef (patch) | |
tree | cdb633ab7b5ea307e1785c976b998ecc6965922c /src/gpu/gl/GrGLGLSL.h | |
parent | 5eaaad29dd4fd903a2dde36473c4643bd069c753 (diff) |
Revert of Add version string and force highp NDS transfrom to GLSLCaps (patchset #3 id:40001 of https://codereview.chromium.org/1417993004/ )
Reason for revert:
breaking bots
Original issue's description:
> Add version string and force highp NDS transfrom to GLSLCaps
>
> This also include the use of any() in the shaders.
>
> BUG=skia:
>
> Committed: https://skia.googlesource.com/skia/+/cef4bce8e260b49bf3417eadbac806cf7d39cdc8
TBR=bsalomon@google.com,jvanverth@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=skia:
Review URL: https://codereview.chromium.org/1420033002
Diffstat (limited to 'src/gpu/gl/GrGLGLSL.h')
-rwxr-xr-x | src/gpu/gl/GrGLGLSL.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLGLSL.h b/src/gpu/gl/GrGLGLSL.h index fa2b6ae153..724765f1a8 100755 --- a/src/gpu/gl/GrGLGLSL.h +++ b/src/gpu/gl/GrGLGLSL.h @@ -22,6 +22,12 @@ class GrGLContextInfo; bool GrGLGetGLSLGeneration(const GrGLInterface* gl, GrGLSLGeneration* generation); /** + * Returns a string to include at the beginning of a shader to declare the GLSL + * version. + */ +const char* GrGLGetGLSLVersionDecl(const GrGLContextInfo&); + +/** * Adds a line of GLSL code to declare the default precision for float types. */ void GrGLAppendGLSLDefaultFloatPrecisionDeclaration(GrSLPrecision, GrGLStandard, SkString* out); |