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

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

Issue 169403005: command_buffer: Implement path rendering functions for CHROMIUM_path_rendering (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nv-pr-02-texgen
Patch Set: fix windows build Created 5 years, 5 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
« 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 "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
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->fBindUniformLocation = glBindUniformLocationCHROMIUM; 146 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
147 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 147 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
148 functions->fGenerateMipmap = glGenerateMipmap; 148 functions->fGenerateMipmap = glGenerateMipmap;
149 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM; 149 if (false) {
150 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM; 150 // These are disabled until the full extension is implemented.
151 // Otherwise the interface fails validation and the context can not
152 // be created.
153 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
154 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
155 functions->fPathCommands = glPathCommandsCHROMIUM;
156 functions->fPathParameteri = glPathParameteriCHROMIUM;
157 functions->fPathParameterf = glPathParameterfCHROMIUM;
158 functions->fGenPaths = glGenPathsCHROMIUM;
159 functions->fIsPath = glIsPathCHROMIUM;
160 functions->fDeletePaths = glDeletePathsCHROMIUM;
161 functions->fPathStencilFunc = glPathStencilFuncCHROMIUM;
162 functions->fStencilFillPath = glStencilFillPathCHROMIUM;
163 functions->fStencilStrokePath = glStencilStrokePathCHROMIUM;
164 functions->fCoverFillPath = glCoverFillPathCHROMIUM;
165 functions->fCoverStrokePath = glCoverStrokePathCHROMIUM;
166 functions->fStencilThenCoverFillPath = glStencilThenCoverFillPathCHROMIUM;
167 functions->fStencilThenCoverStrokePath =
168 glStencilThenCoverStrokePathCHROMIUM;
169 }
151 170
152 return interface; 171 return interface;
153 } 172 }
154 173
155 } // namespace skia 174 } // 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