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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 glGetFramebufferAttachmentParameteriv; | 133 glGetFramebufferAttachmentParameteriv; |
134 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; | 134 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; |
135 functions->fRenderbufferStorage = glRenderbufferStorage; | 135 functions->fRenderbufferStorage = glRenderbufferStorage; |
136 functions->fRenderbufferStorageMultisample = | 136 functions->fRenderbufferStorageMultisample = |
137 glRenderbufferStorageMultisampleCHROMIUM; | 137 glRenderbufferStorageMultisampleCHROMIUM; |
138 functions->fRenderbufferStorageMultisampleES2EXT = | 138 functions->fRenderbufferStorageMultisampleES2EXT = |
139 glRenderbufferStorageMultisampleEXT; | 139 glRenderbufferStorageMultisampleEXT; |
140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; | 140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; |
141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; | 141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; |
142 functions->fGenerateMipmap = glGenerateMipmap; | 142 functions->fGenerateMipmap = glGenerateMipmap; |
| 143 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; |
| 144 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; |
143 | 145 |
144 return interface; | 146 return interface; |
145 } | 147 } |
146 | 148 |
147 } // namespace skia | 149 } // namespace skia |
OLD | NEW |