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

Unified Diff: src/gpu/gl/GrGLNoOpInterface.cpp

Issue 1039693004: Add tokens and entry points for KHR_blend_equation_advanced (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 9 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
Index: src/gpu/gl/GrGLNoOpInterface.cpp
diff --git a/src/gpu/gl/GrGLNoOpInterface.cpp b/src/gpu/gl/GrGLNoOpInterface.cpp
index 6b8880ed81c9c19ad1bf646438b4a88fa41e2ba1..57671fcce961ce5cf42c6bd575df80c3c5035321 100644
--- a/src/gpu/gl/GrGLNoOpInterface.cpp
+++ b/src/gpu/gl/GrGLNoOpInterface.cpp
@@ -28,7 +28,9 @@ static const char* kExtensions[] = {
"GL_ARB_draw_buffers",
"GL_ARB_occlusion_query",
"GL_EXT_blend_color",
- "GL_EXT_stencil_wrap"
+ "GL_EXT_blend_subtract",
Mark Kilgard 2015/04/02 22:41:43 If you remove EXT_blend_subtract, remove this too,
Chris Dalton 2015/04/17 07:53:42 I don't mind taking it out, but I think we should
bsalomon 2015/04/21 15:21:51 It seems ok to remove both.
+ "GL_EXT_stencil_wrap",
+ "GL_KHR_blend_equation_advanced"
};
namespace {
@@ -48,15 +50,21 @@ const GrGLubyte* combined_extensions_string() {
}
}
+GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program,
+ GrGLuint colorNumber,
+ const GrGLchar* name) {
+}
+
+GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendBarrier() {
+}
+
GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendColor(GrGLclampf red,
GrGLclampf green,
GrGLclampf blue,
GrGLclampf alpha) {
}
-GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBindFragDataLocation(GrGLuint program,
- GrGLuint colorNumber,
- const GrGLchar* name) {
+GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendEquation(GrGLenum mode) {
}
GrGLvoid GR_GL_FUNCTION_TYPE noOpGLBlendFunc(GrGLenum sfactor,

Powered by Google App Engine
This is Rietveld 408576698