Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: gpu/skia_bindings/gl_bindings_skia_cmd_buffer.cc

Issue 1309743005: command_buffer: Implement EXT_blend_func_extended (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@new-05-path-fragment-input-gen
Patch Set: rebase Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gpu/gpu.gyp ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « gpu/gpu.gyp ('k') | mojo/gpu/mojo_gles2_impl_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698