diff options
author | cdalton <cdalton@nvidia.com> | 2014-07-17 09:28:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-07-17 09:28:36 -0700 |
commit | 8dd90cb1fd541b9a2a264725e3dfeae736c91e22 (patch) | |
tree | d22b72b3f153b7c741bac1ad8af8254d8c350c24 /src | |
parent | 91bdbcdbbdf5cdf0fdb4518a0d30206c964cfdf6 (diff) |
Add IsPath to GrGLInterface
This will be used by path ranges.
BUG=skia:
R=bsalomon@google.com
Author: cdalton@nvidia.com
Review URL: https://codereview.chromium.org/403563002
Diffstat (limited to 'src')
-rw-r--r-- | src/gpu/gl/GrGLAssembleGLESInterface.h | 1 | ||||
-rw-r--r-- | src/gpu/gl/GrGLAssembleInterface.cpp | 1 | ||||
-rw-r--r-- | src/gpu/gl/GrGLInterface.cpp | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/src/gpu/gl/GrGLAssembleGLESInterface.h b/src/gpu/gl/GrGLAssembleGLESInterface.h index 43f48c2594..d3ebebd756 100644 --- a/src/gpu/gl/GrGLAssembleGLESInterface.h +++ b/src/gpu/gl/GrGLAssembleGLESInterface.h @@ -266,6 +266,7 @@ static const GrGLInterface* GrGLAssembleGLESInterface(void* ctx, GrGLGetProc get GET_PROC_SUFFIX(PathParameterf, NV); GET_PROC_SUFFIX(GenPaths, NV); GET_PROC_SUFFIX(DeletePaths, NV); + GET_PROC_SUFFIX(IsPath, NV); GET_PROC_SUFFIX(PathStencilFunc, NV); GET_PROC_SUFFIX(StencilFillPath, NV); GET_PROC_SUFFIX(StencilStrokePath, NV); diff --git a/src/gpu/gl/GrGLAssembleInterface.cpp b/src/gpu/gl/GrGLAssembleInterface.cpp index 4c02a6eb58..c6b3f93793 100644 --- a/src/gpu/gl/GrGLAssembleInterface.cpp +++ b/src/gpu/gl/GrGLAssembleInterface.cpp @@ -228,6 +228,7 @@ const GrGLInterface* GrGLAssembleGLInterface(void* ctx, GrGLGetProc get) { GET_PROC_SUFFIX(PathParameterf, NV); GET_PROC_SUFFIX(GenPaths, NV); GET_PROC_SUFFIX(DeletePaths, NV); + GET_PROC_SUFFIX(IsPath, NV); GET_PROC_SUFFIX(PathStencilFunc, NV); GET_PROC_SUFFIX(StencilFillPath, NV); GET_PROC_SUFFIX(StencilStrokePath, NV); diff --git a/src/gpu/gl/GrGLInterface.cpp b/src/gpu/gl/GrGLInterface.cpp index 89e23f79f1..823b73efa3 100644 --- a/src/gpu/gl/GrGLInterface.cpp +++ b/src/gpu/gl/GrGLInterface.cpp @@ -45,6 +45,7 @@ const GrGLInterface* GrGLInterfaceRemoveNVPR(const GrGLInterface* interface) { newInterface->fFunctions.fPathParameterf = NULL; newInterface->fFunctions.fGenPaths = NULL; newInterface->fFunctions.fDeletePaths = NULL; + newInterface->fFunctions.fIsPath = NULL; newInterface->fFunctions.fPathStencilFunc = NULL; newInterface->fFunctions.fStencilFillPath = NULL; newInterface->fFunctions.fStencilStrokePath = NULL; @@ -457,6 +458,7 @@ bool GrGLInterface::validate() const { NULL == fFunctions.fPathParameterf || NULL == fFunctions.fGenPaths || NULL == fFunctions.fDeletePaths || + NULL == fFunctions.fIsPath || NULL == fFunctions.fPathStencilFunc || NULL == fFunctions.fStencilFillPath || NULL == fFunctions.fStencilStrokePath || |