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

Side by Side Diff: src/gpu/gl/GrGLAssembleInterface.cpp

Issue 349983002: Revert of Add functions to support NV_path_rendering in OpenGL ES (Closed) Base URL: https://skia.googlesource.com/skia.git@desktop-es
Patch Set: Created 6 years, 6 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 | « src/gpu/gl/GrGLAssembleGLESInterface.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrGLAssembleInterface.h" 10 #include "GrGLAssembleInterface.h"
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after
217 } 217 }
218 } else { 218 } else {
219 // we must have FBOs 219 // we must have FBOs
220 delete interface; 220 delete interface;
221 return NULL; 221 return NULL;
222 } 222 }
223 223
224 if (extensions.has("GL_NV_path_rendering")) { 224 if (extensions.has("GL_NV_path_rendering")) {
225 GET_PROC_SUFFIX(PathCommands, NV); 225 GET_PROC_SUFFIX(PathCommands, NV);
226 GET_PROC_SUFFIX(PathCoords, NV); 226 GET_PROC_SUFFIX(PathCoords, NV);
227 GET_PROC_SUFFIX(PathSubCommands, NV);
228 GET_PROC_SUFFIX(PathSubCoords, NV);
229 GET_PROC_SUFFIX(PathString, NV);
230 GET_PROC_SUFFIX(PathGlyphs, NV);
231 GET_PROC_SUFFIX(PathGlyphRange, NV);
232 GET_PROC_SUFFIX(WeightPaths, NV);
233 GET_PROC_SUFFIX(CopyPath, NV);
234 GET_PROC_SUFFIX(InterpolatePaths, NV);
235 GET_PROC_SUFFIX(TransformPath, NV);
236 GET_PROC_SUFFIX(PathParameteriv, NV);
227 GET_PROC_SUFFIX(PathParameteri, NV); 237 GET_PROC_SUFFIX(PathParameteri, NV);
238 GET_PROC_SUFFIX(PathParameterfv, NV);
228 GET_PROC_SUFFIX(PathParameterf, NV); 239 GET_PROC_SUFFIX(PathParameterf, NV);
240 GET_PROC_SUFFIX(PathDashArray, NV);
229 GET_PROC_SUFFIX(GenPaths, NV); 241 GET_PROC_SUFFIX(GenPaths, NV);
230 GET_PROC_SUFFIX(DeletePaths, NV); 242 GET_PROC_SUFFIX(DeletePaths, NV);
243 GET_PROC_SUFFIX(IsPath, NV);
231 GET_PROC_SUFFIX(PathStencilFunc, NV); 244 GET_PROC_SUFFIX(PathStencilFunc, NV);
245 GET_PROC_SUFFIX(PathStencilDepthOffset, NV);
232 GET_PROC_SUFFIX(StencilFillPath, NV); 246 GET_PROC_SUFFIX(StencilFillPath, NV);
233 GET_PROC_SUFFIX(StencilStrokePath, NV); 247 GET_PROC_SUFFIX(StencilStrokePath, NV);
234 GET_PROC_SUFFIX(StencilFillPathInstanced, NV); 248 GET_PROC_SUFFIX(StencilFillPathInstanced, NV);
235 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV); 249 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV);
250 GET_PROC_SUFFIX(PathCoverDepthFunc, NV);
251 GET_PROC_SUFFIX(PathColorGen, NV);
236 GET_PROC_SUFFIX(PathTexGen, NV); 252 GET_PROC_SUFFIX(PathTexGen, NV);
253 GET_PROC_SUFFIX(PathFogGen, NV);
237 GET_PROC_SUFFIX(CoverFillPath, NV); 254 GET_PROC_SUFFIX(CoverFillPath, NV);
238 GET_PROC_SUFFIX(CoverStrokePath, NV); 255 GET_PROC_SUFFIX(CoverStrokePath, NV);
239 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); 256 GET_PROC_SUFFIX(CoverFillPathInstanced, NV);
240 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); 257 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV);
241 GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); 258 GET_PROC_SUFFIX(GetPathParameteriv, NV);
259 GET_PROC_SUFFIX(GetPathParameterfv, NV);
260 GET_PROC_SUFFIX(GetPathCommands, NV);
261 GET_PROC_SUFFIX(GetPathCoords, NV);
262 GET_PROC_SUFFIX(GetPathDashArray, NV);
263 GET_PROC_SUFFIX(GetPathMetrics, NV);
264 GET_PROC_SUFFIX(GetPathMetricRange, NV);
265 GET_PROC_SUFFIX(GetPathSpacing, NV);
266 GET_PROC_SUFFIX(GetPathColorGeniv, NV);
267 GET_PROC_SUFFIX(GetPathColorGenfv, NV);
268 GET_PROC_SUFFIX(GetPathTexGeniv, NV);
269 GET_PROC_SUFFIX(GetPathTexGenfv, NV);
270 GET_PROC_SUFFIX(IsPointInFillPath, NV);
271 GET_PROC_SUFFIX(IsPointInStrokePath, NV);
272 GET_PROC_SUFFIX(GetPathLength, NV);
273 GET_PROC_SUFFIX(PointAlongPath, NV);
242 } 274 }
243 275
244 if (extensions.has("GL_EXT_debug_marker")) { 276 if (extensions.has("GL_EXT_debug_marker")) {
245 GET_PROC_SUFFIX(InsertEventMarker, EXT); 277 GET_PROC_SUFFIX(InsertEventMarker, EXT);
246 GET_PROC_SUFFIX(PushGroupMarker, EXT); 278 GET_PROC_SUFFIX(PushGroupMarker, EXT);
247 GET_PROC_SUFFIX(PopGroupMarker, EXT); 279 GET_PROC_SUFFIX(PopGroupMarker, EXT);
248 } 280 }
249 281
250 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { 282 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) {
251 GET_PROC(InvalidateBufferData); 283 GET_PROC(InvalidateBufferData);
252 GET_PROC(InvalidateBufferSubData); 284 GET_PROC(InvalidateBufferSubData);
253 GET_PROC(InvalidateFramebuffer); 285 GET_PROC(InvalidateFramebuffer);
254 GET_PROC(InvalidateSubFramebuffer); 286 GET_PROC(InvalidateSubFramebuffer);
255 GET_PROC(InvalidateTexImage); 287 GET_PROC(InvalidateTexImage);
256 GET_PROC(InvalidateTexSubImage); 288 GET_PROC(InvalidateTexSubImage);
257 } 289 }
258 290
259 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_program_interface_quer y")) {
260 GET_PROC(GetProgramResourceLocation);
261 }
262
263 interface->fStandard = kGL_GrGLStandard; 291 interface->fStandard = kGL_GrGLStandard;
264 interface->fExtensions.swap(&extensions); 292 interface->fExtensions.swap(&extensions);
265 293
266 return interface; 294 return interface;
267 } 295 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLAssembleGLESInterface.h ('k') | src/gpu/gl/GrGLCaps.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698