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

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: improve parameter validation and write up the extension .txt file Created 6 years, 8 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 "gpu/GLES2/gl2extchromium.h" 10 #include "gpu/GLES2/gl2extchromium.h"
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 glGetFramebufferAttachmentParameteriv; 133 glGetFramebufferAttachmentParameteriv;
134 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv; 134 functions->fGetRenderbufferParameteriv = glGetRenderbufferParameteriv;
135 functions->fRenderbufferStorage = glRenderbufferStorage; 135 functions->fRenderbufferStorage = glRenderbufferStorage;
136 functions->fRenderbufferStorageMultisample = 136 functions->fRenderbufferStorageMultisample =
137 glRenderbufferStorageMultisampleCHROMIUM; 137 glRenderbufferStorageMultisampleCHROMIUM;
138 functions->fRenderbufferStorageMultisampleES2EXT = 138 functions->fRenderbufferStorageMultisampleES2EXT =
139 glRenderbufferStorageMultisampleEXT; 139 glRenderbufferStorageMultisampleEXT;
140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM; 140 functions->fBindUniformLocation = glBindUniformLocationCHROMIUM;
141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM; 141 functions->fBlitFramebuffer = glBlitFramebufferCHROMIUM;
142 functions->fGenerateMipmap = glGenerateMipmap; 142 functions->fGenerateMipmap = glGenerateMipmap;
143 functions->fMatrixLoadf = glMatrixLoadfCHROMIUM;
144 functions->fMatrixLoadIdentity = glMatrixLoadIdentityCHROMIUM;
145 functions->fPathCommands = glPathCommandsCHROMIUM;
146 functions->fPathParameteri = glPathParameteriCHROMIUM;
147 functions->fPathParameterf = glPathParameterfCHROMIUM;
148 functions->fGenPaths = glGenPathsCHROMIUM;
149 functions->fDeletePaths = glDeletePathsCHROMIUM;
150 functions->fPathStencilFunc = glPathStencilFuncCHROMIUM;
151 functions->fStencilFillPath = glStencilFillPathCHROMIUM;
152 functions->fStencilFillPathInstanced = glStencilFillPathInstancedCHROMIUM;
153 functions->fStencilStrokePath = glStencilStrokePathCHROMIUM;
154 functions->fStencilStrokePathInstanced = glStencilStrokePathInstancedCHROMIUM;
155 functions->fCoverFillPath = glCoverFillPathCHROMIUM;
156 functions->fCoverFillPathInstanced = glCoverFillPathInstancedCHROMIUM;
157 functions->fCoverStrokePath = glCoverStrokePathCHROMIUM;
158 functions->fCoverStrokePathInstanced = glCoverStrokePathInstancedCHROMIUM;
159 functions->fPathTexGen = glPathTexGenCHROMIUM;
143 160
144 return interface; 161 return interface;
145 } 162 }
146 163
147 } // namespace skia 164 } // namespace skia
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698