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

Unified Diff: ui/gl/gl_bindings_skia_in_process.cc

Issue 1105633002: Add glBlendEquation to skia GL bindings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 | « gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_bindings_skia_in_process.cc
diff --git a/ui/gl/gl_bindings_skia_in_process.cc b/ui/gl/gl_bindings_skia_in_process.cc
index 25dd698efdf994e6ac7d3da24a91e85cba0dcbb8..6da9478466bbea64224d76393565ce4e5f16195a 100644
--- a/ui/gl/gl_bindings_skia_in_process.cc
+++ b/ui/gl/gl_bindings_skia_in_process.cc
@@ -69,6 +69,10 @@ GLvoid StubGLBlendColor(GLclampf red, GLclampf green, GLclampf blue,
glBlendColor(red, green, blue, alpha);
}
+GLvoid StubGLBlendEquation(GLenum mode) {
+ glBlendEquation(mode);
+}
+
GLvoid StubGLBlendFunc(GLenum sfactor, GLenum dfactor) {
glBlendFunc(sfactor, dfactor);
}
@@ -670,6 +674,7 @@ GrGLInterface* CreateInProcessSkiaGLBinding() {
functions->fBindTexture = StubGLBindTexture;
functions->fBindVertexArray = StubGLBindVertexArray;
functions->fBlendColor = StubGLBlendColor;
+ functions->fBlendEquation = StubGLBlendEquation;
functions->fBlendFunc = StubGLBlendFunc;
functions->fBufferData = StubGLBufferData;
functions->fBufferSubData = StubGLBufferSubData;
« no previous file with comments | « gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698