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 22 matching lines...) Expand all Loading... |
33 functions->fBlendFunc = glBlendFunc; | 33 functions->fBlendFunc = glBlendFunc; |
34 functions->fBufferData = glBufferData; | 34 functions->fBufferData = glBufferData; |
35 functions->fBufferSubData = glBufferSubData; | 35 functions->fBufferSubData = glBufferSubData; |
36 functions->fClear = glClear; | 36 functions->fClear = glClear; |
37 functions->fClearColor = glClearColor; | 37 functions->fClearColor = glClearColor; |
38 functions->fClearStencil = glClearStencil; | 38 functions->fClearStencil = glClearStencil; |
39 functions->fColorMask = glColorMask; | 39 functions->fColorMask = glColorMask; |
40 functions->fCompileShader = glCompileShader; | 40 functions->fCompileShader = glCompileShader; |
41 functions->fCompressedTexImage2D = glCompressedTexImage2D; | 41 functions->fCompressedTexImage2D = glCompressedTexImage2D; |
42 functions->fCopyTexSubImage2D = glCopyTexSubImage2D; | 42 functions->fCopyTexSubImage2D = glCopyTexSubImage2D; |
| 43 functions->fCopyTextureCHROMIUM = glCopyTextureCHROMIUM; |
43 functions->fCreateProgram = glCreateProgram; | 44 functions->fCreateProgram = glCreateProgram; |
44 functions->fCreateShader = glCreateShader; | 45 functions->fCreateShader = glCreateShader; |
45 functions->fCullFace = glCullFace; | 46 functions->fCullFace = glCullFace; |
46 functions->fDeleteBuffers = glDeleteBuffers; | 47 functions->fDeleteBuffers = glDeleteBuffers; |
47 functions->fDeleteProgram = glDeleteProgram; | 48 functions->fDeleteProgram = glDeleteProgram; |
48 functions->fDeleteShader = glDeleteShader; | 49 functions->fDeleteShader = glDeleteShader; |
49 functions->fDeleteTextures = glDeleteTextures; | 50 functions->fDeleteTextures = glDeleteTextures; |
50 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; | 51 functions->fDeleteVertexArrays = glDeleteVertexArraysOES; |
51 functions->fDepthMask = glDepthMask; | 52 functions->fDepthMask = glDepthMask; |
52 functions->fDisable = glDisable; | 53 functions->fDisable = glDisable; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; | 141 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; |
141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; | 142 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; |
142 functions->fGenerateMipmap = glGenerateMipmap; | 143 functions->fGenerateMipmap = glGenerateMipmap; |
143 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; | 144 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; |
144 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; | 145 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; |
145 | 146 |
146 return interface; | 147 return interface; |
147 } | 148 } |
148 | 149 |
149 } // namespace skia | 150 } // namespace skia |
OLD | NEW |