Index: src/gpu/gl/GrGLAssembleInterface.cpp |
diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp |
index c91da9e6c732fc06c9453fb8174c69e4352196d5..6a4fbe20e0b214b57f624dd15708a73688afd3ef 100644 |
--- a/src/gpu/gl/GrGLAssembleInterface.cpp |
+++ b/src/gpu/gl/GrGLAssembleInterface.cpp |
@@ -278,6 +278,10 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { |
GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV); |
} |
+ if (extensions.has("GL_NV_framebuffer_mixed_samples")) { |
+ GET_PROC_SUFFIX(CoverageModulation, NV); |
+ } |
+ |
if (extensions.has("GL_EXT_debug_marker")) { |
GET_PROC_SUFFIX(InsertEventMarker, EXT); |
GET_PROC_SUFFIX(PushGroupMarker, EXT); |
@@ -519,6 +523,10 @@ const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get) { |
GET_PROC_SUFFIX(PathMemoryGlyphIndexArray, NV); |
} |
+ if (extensions.has("GL_NV_framebuffer_mixed_samples")) { |
+ GET_PROC_SUFFIX(CoverageModulation, NV); |
+ } |
+ |
interface->fStandard = kGLES_GrGLStandard; |
interface->fExtensions.swap(&extensions); |