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

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

Issue 14875002: Add support for GL_*_shader_framebuffer_fetch (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 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/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLShaderBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/GrGLShaderBuilder.h
===================================================================
--- src/gpu/gl/GrGLShaderBuilder.h (revision 8966)
+++ src/gpu/gl/GrGLShaderBuilder.h (working copy)
@@ -259,7 +259,7 @@
/** Returns the color of the destination pixel. This may be NULL if no effect advertised
that it will read the destination. */
- const char* dstColor() const;
+ const char* dstColor();
/**
* Are explicit local coordinates provided as input to the vertex shader.
@@ -346,7 +346,9 @@
* Features that should only be enabled by GrGLShaderBuilder itself.
*/
enum GLSLPrivateFeature {
- kFragCoordConventions_GLSLPrivateFeature = kLastGLSLFeature + 1
+ kFragCoordConventions_GLSLPrivateFeature = kLastGLSLFeature + 1,
+ kEXTShaderFramebufferFetch_GLSLPrivateFeature,
+ kNVShaderFramebufferFetch_GLSLPrivateFeature,
};
bool enablePrivateFeature(GLSLPrivateFeature);
« no previous file with comments | « src/gpu/gl/GrGLProgramDesc.cpp ('k') | src/gpu/gl/GrGLShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698