diff options
author | 2014-09-17 09:19:18 -0700 | |
---|---|---|
committer | 2014-09-17 09:19:18 -0700 | |
commit | 149b3ec2b1ccaf00e40bf296d2a3394852d73fe9 (patch) | |
tree | c945ae380eb26860b4db4d9137afd247100955a6 /src/gpu/gl/GrGLAssembleInterface.cpp | |
parent | 9a0267fa9aa1dab078ab67b40b647de5be80696f (diff) |
Adds glMemoryGlyphIndexArrayNV to the GrGLInterface and begins
detecting support for this method in GrGLPathRendering.
BUG=skia:2939
R=bsalomon@google.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/570733002
Diffstat (limited to 'src/gpu/gl/GrGLAssembleInterface.cpp')
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp index da88547f9b..c5c0785fe8 100644 --- a/src/gpu/gl/GrGLAssembleInterface.cpp +++ b/src/gpu/gl/GrGLAssembleInterface.cpp @@ -267,6 +267,7 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV); // NV_path_rendering v1.3 (These methods may not be present) GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); + GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV); } if (extensions.has("GL_EXT_debug_marker")) { @@ -503,6 +504,7 @@ const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { GET_PROC_SUFFIX(StencilThenCoverFillPathInstanced, NV); GET_PROC_SUFFIX(StencilThenCoverStrokePathInstanced, NV); GET_PROC_SUFFIX(ProgramPathFragmentInputGen, NV); + GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV); } interface->fStandard = kGLES_GrGLStandard; |