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

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: Created 5 years, 3 months 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
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 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 functions->fGenFramebuffers = glGenFramebuffers; 137 functions->fGenFramebuffers = glGenFramebuffers;
138 functions->fGenRenderbuffers = glGenRenderbuffers; 138 functions->fGenRenderbuffers = glGenRenderbuffers;
139 functions->fGetFramebufferAttachmentParameteriv = 139 functions->fGetFramebufferAttachmentParameteriv =
140 glGetFramebufferAttachmentParameteriv; 140 glGetFramebufferAttachmentParameteriv;
141 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; 141 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv;
142 functions->fRenderbufferStorage = glRenderbufferStorage; 142 functions->fRenderbufferStorage = glRenderbufferStorage;
143 functions->fRenderbufferStorageMultisample = 143 functions->fRenderbufferStorageMultisample =
144 glRenderbufferStorageMultisampleCHROMIUM; 144 glRenderbufferStorageMultisampleCHROMIUM;
145 functions->fRenderbufferStorageMultisampleES2EXT = 145 functions->fRenderbufferStorageMultisampleES2EXT =
146 glRenderbufferStorageMultisampleEXT; 146 glRenderbufferStorageMultisampleEXT;
147 functions->fBindFragDataLocation = glBindFragDataLocationEXT;
148 functions->fBindFragDataLocationIndexed = glBindFragDataLocationIndexedEXT;
147 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; 149 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
148 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 150 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
149 functions->fGenerateMipmap = glGenerateMipmap; 151 functions->fGenerateMipmap = glGenerateMipmap;
150 if (false) { 152 if (false) {
151 // These are disabled until the full extension is implemented. 153 // These are disabled until the full extension is implemented.
152 // Otherwise the interface fails validation and the context can not 154 // Otherwise the interface fails validation and the context can not
153 // be created. 155 // be created.
154 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; 156 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
155 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; 157 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
156 functions->fPathCommands = glPathCommandsCHROMIUM; 158 functions->fPathCommands = glPathCommandsCHROMIUM;
(...skipping 21 matching lines...) Expand all
178 glStencilThenCoverStrokePathInstancedCHROMIUM; 180 glStencilThenCoverStrokePathInstancedCHROMIUM;
179 functions->fProgramPathFragmentInputGen = 181 functions->fProgramPathFragmentInputGen =
180 glProgramPathFragmentInputGenCHROMIUM; 182 glProgramPathFragmentInputGenCHROMIUM;
181 functions->fBindFragmentInputLocation = glBindFragmentInputLocationCHROMIUM; 183 functions->fBindFragmentInputLocation = glBindFragmentInputLocationCHROMIUM;
182 } 184 }
183 185
184 return interface; 186 return interface;
185 } 187 }
186 188
187 } // namespace skia 189 } // namespace skia
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698