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

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

Issue 570733002: Add support for glMemoryGlyphIndexArrayNV (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Fix windows warning Created 6 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
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLDefines.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 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 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 GET_PROC_SUFFIX(CoverStrokePath, NV); 260 GET_PROC_SUFFIX(CoverStrokePath, NV);
261 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); 261 GET_PROC_SUFFIX(CoverFillPathInstanced, NV);
262 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); 262 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV);
263 // NV_path_rendering v1.2 (These methods may not be present) 263 // NV_path_rendering v1.2 (These methods may not be present)
264 GET_PROC_SUFFIX(StencilThenCoverFillPath, NV); 264 GET_PROC_SUFFIX(StencilThenCoverFillPath, NV);
265 GET_PROC_SUFFIX(StencilThenCoverStrokePath, NV); 265 GET_PROC_SUFFIX(StencilThenCoverStrokePath, NV);
266 GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, NV); 266 GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, NV);
267 GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV); 267 GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV);
268 // NV_path_rendering v1.3 (These methods may not be present) 268 // NV_path_rendering v1.3 (These methods may not be present)
269 GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); 269 GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV);
270 GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV);
270 } 271 }
271 272
272 if (extensions.has("GL_EXT_debug_marker")) { 273 if (extensions.has("GL_EXT_debug_marker")) {
273 GET_PROC_SUFFIX(InsertEventMarker, EXT); 274 GET_PROC_SUFFIX(InsertEventMarker, EXT);
274 GET_PROC_SUFFIX(PushGroupMarker, EXT); 275 GET_PROC_SUFFIX(PushGroupMarker, EXT);
275 GET_PROC_SUFFIX(PopGroupMarker, EXT); 276 GET_PROC_SUFFIX(PopGroupMarker, EXT);
276 } 277 }
277 278
278 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) { 279 if (glVer >= GR_GL_VER(4,3) || extensions.has("GL_ARB_invalidate_subdata")) {
279 GET_PROC(InvalidateBufferData); 280 GET_PROC(InvalidateBufferData);
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV); 497 GET_PROC_SUFFIX(StencilStrokePathInstanced, NV);
497 GET_PROC_SUFFIX(CoverFillPath, NV); 498 GET_PROC_SUFFIX(CoverFillPath, NV);
498 GET_PROC_SUFFIX(CoverStrokePath, NV); 499 GET_PROC_SUFFIX(CoverStrokePath, NV);
499 GET_PROC_SUFFIX(CoverFillPathInstanced, NV); 500 GET_PROC_SUFFIX(CoverFillPathInstanced, NV);
500 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV); 501 GET_PROC_SUFFIX(CoverStrokePathInstanced, NV);
501 GET_PROC_SUFFIX(StencilThenCoverFillPath, NV); 502 GET_PROC_SUFFIX(StencilThenCoverFillPath, NV);
502 GET_PROC_SUFFIX(StencilThenCoverStrokePath, NV); 503 GET_PROC_SUFFIX(StencilThenCoverStrokePath, NV);
503 GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, NV); 504 GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, NV);
504 GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV); 505 GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV);
505 GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); 506 GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV);
507 GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV);
506 } 508 }
507 509
508 interface->fStandard = kGLES_GrGLStandard; 510 interface->fStandard = kGLES_GrGLStandard;
509 interface->fExtensions.swap(&extensions); 511 interface->fExtensions.swap(&extensions);
510 512
511 return interface; 513 return interface;
512 } 514 }
OLDNEW
« no previous file with comments | « include/gpu/gl/GrGLInterface.h ('k') | src/gpu/gl/GrGLDefines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698