| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |