Commit 232d4c6a authored by bsalomon's avatar bsalomon Committed by Commit bot

Add glBlendBarrierKHR to Skia's GL bindings.

BUG=480534

TBR=sievers@chromium.org

Review URL: https://codereview.chromium.org/1097153003

Cr-Commit-Position: refs/heads/master@{#326731}
parent 1af4dffa
......@@ -29,6 +29,7 @@ GrGLInterface* CreateCommandBufferSkiaGLBinding() {
functions->fBindBuffer = glBindBuffer;
functions->fBindTexture = glBindTexture;
functions->fBindVertexArray = glBindVertexArrayOES;
functions->fBlendBarrier = glBlendBarrierKHR;
functions->fBlendColor = glBlendColor;
functions->fBlendEquation = glBlendEquation;
functions->fBlendFunc = glBlendFunc;
......
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment