Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(681)

Unified Diff: src/gpu/gl/GrGLSL.h

Issue 1160923007: Disable dual source blending support when GLSL version is too old (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: string Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLSL.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLSL.h
diff --git a/src/gpu/gl/GrGLSL.h b/src/gpu/gl/GrGLSL.h
index db8e1bdca5092a42f7524604d462c88d3b4bf9e4..b338c991a6ca5415fcc157493b5bdea1cdb723a9 100644
--- a/src/gpu/gl/GrGLSL.h
+++ b/src/gpu/gl/GrGLSL.h
@@ -50,6 +50,8 @@ enum GrGLSLGeneration {
*/
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.
« no previous file with comments | « src/gpu/gl/GrGLCaps.cpp ('k') | src/gpu/gl/GrGLSL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698