| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 | 5 |
| 6 #include "webkit/glue/gl_bindings_skia_cmd_buffer.h" | 6 #include "webkit/glue/gl_bindings_skia_cmd_buffer.h" |
| 7 | 7 |
| 8 #ifndef GL_GLEXT_PROTOTYPES | 8 #ifndef GL_GLEXT_PROTOTYPES |
| 9 #define GL_GLEXT_PROTOTYPES | 9 #define GL_GLEXT_PROTOTYPES |
| 10 #endif | 10 #endif |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 glFramebufferRenderbuffer, | 118 glFramebufferRenderbuffer, |
| 119 glFramebufferTexture2D, | 119 glFramebufferTexture2D, |
| 120 glGenFramebuffers, | 120 glGenFramebuffers, |
| 121 glGenRenderbuffers, | 121 glGenRenderbuffers, |
| 122 glRenderbufferStorage, | 122 glRenderbufferStorage, |
| 123 glRenderbufferStorageMultisampleEXT, | 123 glRenderbufferStorageMultisampleEXT, |
| 124 glBlitFramebufferEXT, | 124 glBlitFramebufferEXT, |
| 125 NULL, // glResolveMultisampleFramebuffer | 125 NULL, // glResolveMultisampleFramebuffer |
| 126 NULL, // glMapBuffer | 126 NULL, // glMapBuffer |
| 127 NULL, // glUnmapBuffer | 127 NULL, // glUnmapBuffer |
| 128 NULL, // glBindFragDataLocationIndexed |
| 128 | 129 |
| 129 GrGLInterface::kStaticInitEndGuard | 130 GrGLInterface::kStaticInitEndGuard |
| 130 }; | 131 }; |
| 131 static bool host_StubGL_initialized = false; | 132 static bool host_StubGL_initialized = false; |
| 132 if (!host_StubGL_initialized) { | 133 if (!host_StubGL_initialized) { |
| 133 GrGLSetGLInterface(&cmd_buffer_interface); | 134 GrGLSetGLInterface(&cmd_buffer_interface); |
| 134 host_StubGL_initialized = true; | 135 host_StubGL_initialized = true; |
| 135 } | 136 } |
| 136 } | 137 } |
| 137 | 138 |
| 138 } // namespace webkit_glue | 139 } // namespace webkit_glue |
| 139 | 140 |
| OLD | NEW |