| 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 "base/logging.h" | 10 #include "base/logging.h" |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 functions->fGenFramebuffers = glGenFramebuffers; | 136 functions->fGenFramebuffers = glGenFramebuffers; |
| 137 functions->fGenRenderbuffers = glGenRenderbuffers; | 137 functions->fGenRenderbuffers = glGenRenderbuffers; |
| 138 functions->fGetFramebufferAttachmentParameteriv = | 138 functions->fGetFramebufferAttachmentParameteriv = |
| 139 glGetFramebufferAttachmentParameteriv; | 139 glGetFramebufferAttachmentParameteriv; |
| 140 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; | 140 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; |
| 141 functions->fRenderbufferStorage = glRenderbufferStorage; | 141 functions->fRenderbufferStorage = glRenderbufferStorage; |
| 142 functions->fRenderbufferStorageMultisample = | 142 functions->fRenderbufferStorageMultisample = |
| 143 glRenderbufferStorageMultisampleCHROMIUM; | 143 glRenderbufferStorageMultisampleCHROMIUM; |
| 144 functions->fRenderbufferStorageMultisampleES2EXT = | 144 functions->fRenderbufferStorageMultisampleES2EXT = |
| 145 glRenderbufferStorageMultisampleEXT; | 145 glRenderbufferStorageMultisampleEXT; |
| 146 functions->fBindFragDataLocation = glBindFragDataLocationEXT; |
| 147 functions->fBindFragDataLocationIndexed = glBindFragDataLocationIndexedEXT; |
| 146 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; | 148 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; |
| 147 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; | 149 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; |
| 148 functions->fGenerateMipmap = glGenerateMipmap; | 150 functions->fGenerateMipmap = glGenerateMipmap; |
| 149 if (false) { | 151 if (false) { |
| 150 // These are disabled until the full extension is implemented. | 152 // These are disabled until the full extension is implemented. |
| 151 // Otherwise the interface fails validation and the context can not | 153 // Otherwise the interface fails validation and the context can not |
| 152 // be created. | 154 // be created. |
| 153 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; | 155 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; |
| 154 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; | 156 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; |
| 155 functions->fPathCommands = glPathCommandsCHROMIUM; | 157 functions->fPathCommands = glPathCommandsCHROMIUM; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 175 glStencilThenCoverFillPathInstancedCHROMIUM; | 177 glStencilThenCoverFillPathInstancedCHROMIUM; |
| 176 functions->fStencilThenCoverStrokePathInstanced = | 178 functions->fStencilThenCoverStrokePathInstanced = |
| 177 glStencilThenCoverStrokePathInstancedCHROMIUM; | 179 glStencilThenCoverStrokePathInstancedCHROMIUM; |
| 178 functions->fProgramPathFragmentInputGen = | 180 functions->fProgramPathFragmentInputGen = |
| 179 glProgramPathFragmentInputGenCHROMIUM; | 181 glProgramPathFragmentInputGenCHROMIUM; |
| 180 functions->fBindFragmentInputLocation = glBindFragmentInputLocationCHROMIUM; | 182 functions->fBindFragmentInputLocation = glBindFragmentInputLocationCHROMIUM; |
| 181 } | 183 } |
| 182 } | 184 } |
| 183 | 185 |
| 184 } // namespace skia | 186 } // namespace skia |
| OLD | NEW |