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
diff --git a/src/gpu/gl/GrGLPathRendering.cpp b/src/gpu/gl/GrGLPathRendering.cpp
index f524ff2..81d47c4 100644
--- a/src/gpu/gl/GrGLPathRendering.cpp
+++ b/src/gpu/gl/GrGLPathRendering.cpp
@@ -49,13 +49,15 @@
     : fGpu(gpu) {
     const GrGLInterface* glInterface = gpu->glInterface();
     fCaps.stencilThenCoverSupport =
-        glInterface->fFunctions.fStencilThenCoverFillPath &&
-        glInterface->fFunctions.fStencilThenCoverStrokePath &&
-        glInterface->fFunctions.fStencilThenCoverFillPathInstanced &&
-        glInterface->fFunctions.fStencilThenCoverStrokePathInstanced;
+        NULL != glInterface->fFunctions.fStencilThenCoverFillPath &&
+        NULL != glInterface->fFunctions.fStencilThenCoverStrokePath &&
+        NULL != glInterface->fFunctions.fStencilThenCoverFillPathInstanced &&
+        NULL != glInterface->fFunctions.fStencilThenCoverStrokePathInstanced;
     fCaps.fragmentInputGenSupport =
         kGLES_GrGLStandard == glInterface->fStandard &&
-        glInterface->fFunctions.fProgramPathFragmentInputGen;
+        NULL != glInterface->fFunctions.fProgramPathFragmentInputGen;
+    fCaps.glyphLoadingSupport =
+        NULL != glInterface->fFunctions.fPathMemoryGlyphIndexArray;
 
     if (!fCaps.fragmentInputGenSupport) {
         fHWPathTexGenSettings.reset(fGpu->glCaps().maxFixedFunctionTextureCoords());