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

Unified Diff: ui/gl/gl_bindings_skia_in_process.cc

Issue 1097153003: Add glBlendBarrierKHR to Skia's GL bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase on TOT 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 6da9478466bbea64224d76393565ce4e5f16195a..fe44954263cc4a670e6506e159e72522164af2d6 100644
--- a/ui/gl/gl_bindings_skia_in_process.cc
+++ b/ui/gl/gl_bindings_skia_in_process.cc
@@ -64,6 +64,10 @@ GLvoid StubGLBindVertexArray(GLuint array) {
glBindVertexArrayOES(array);
}
+GLvoid StubGLBlendBarrier() {
+ glBlendBarrierKHR();
+}
+
GLvoid StubGLBlendColor(GLclampf red, GLclampf green, GLclampf blue,
GLclampf alpha) {
glBlendColor(red, green, blue, alpha);
@@ -673,6 +677,7 @@ GrGLInterface* CreateInProcessSkiaGLBinding() {
functions->fBindFragDataLocation = StubGLBindFragDataLocation;
functions->fBindTexture = StubGLBindTexture;
functions->fBindVertexArray = StubGLBindVertexArray;
+ functions->fBlendBarrier = StubGLBlendBarrier;
functions->fBlendColor = StubGLBlendColor;
functions->fBlendEquation = StubGLBlendEquation;
functions->fBlendFunc = StubGLBlendFunc;
« 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