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

Side by Side Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 1254893008: Add glBlendBarrierKHR to Skia's GL bindings. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « no previous file | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h" 5 #include "gpu/skia_bindings/gl_bindings_skia_cmd_buffer.h"
6 6
7 #ifndef GL_GLEXT_PROTOTYPES 7 #ifndef GL_GLEXT_PROTOTYPES
8 #define GL_GLEXT_PROTOTYPES 8 #define GL_GLEXT_PROTOTYPES
9 #endif 9 #endif
10 #include "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 12 matching lines...) Expand all
23 glGetIntegerv); 23 glGetIntegerv);
24 24
25 GrGLInterface::Functions* functions = &interface->fFunctions; 25 GrGLInterface::Functions* functions = &interface->fFunctions;
26 functions->fActiveTexture = glActiveTexture; 26 functions->fActiveTexture = glActiveTexture;
27 functions->fAttachShader = glAttachShader; 27 functions->fAttachShader = glAttachShader;
28 functions->fBindAttribLocation = glBindAttribLocation; 28 functions->fBindAttribLocation = glBindAttribLocation;
29 functions->fBindBuffer = glBindBuffer; 29 functions->fBindBuffer = glBindBuffer;
30 functions->fBindTexture = glBindTexture; 30 functions->fBindTexture = glBindTexture;
31 functions->fBindVertexArray = glBindVertexArrayOES; 31 functions->fBindVertexArray = glBindVertexArrayOES;
32 functions->fBlendEquation = glBlendEquation; 32 functions->fBlendEquation = glBlendEquation;
33 functions->fBlendBarrier = glBlendBarrierKHR;
33 functions->fBlendColor = glBlendColor; 34 functions->fBlendColor = glBlendColor;
34 functions->fBlendFunc = glBlendFunc; 35 functions->fBlendFunc = glBlendFunc;
35 functions->fBufferData = glBufferData; 36 functions->fBufferData = glBufferData;
36 functions->fBufferSubData = glBufferSubData; 37 functions->fBufferSubData = glBufferSubData;
37 functions->fClear = glClear; 38 functions->fClear = glClear;
38 functions->fClearColor = glClearColor; 39 functions->fClearColor = glClearColor;
39 functions->fClearStencil = glClearStencil; 40 functions->fClearStencil = glClearStencil;
40 functions->fColorMask = glColorMask; 41 functions->fColorMask = glColorMask;
41 functions->fCompileShader = glCompileShader; 42 functions->fCompileShader = glCompileShader;
42 functions->fCompressedTexImage2D = glCompressedTexImage2D; 43 functions->fCompressedTexImage2D = glCompressedTexImage2D;
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; 146 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
146 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 147 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
147 functions->fGenerateMipmap = glGenerateMipmap; 148 functions->fGenerateMipmap = glGenerateMipmap;
148 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; 149 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
149 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; 150 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
150 151
151 return interface; 152 return interface;
152 } 153 }
153 154
154 } // namespace skia 155 } // namespace skia
OLDNEW
« no previous file with comments | « no previous file | ui/gl/gl_bindings_skia_in_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698