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 /include | |
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 'include')
-rw-r--r-- | include/gpu/gl/GrGLFunctions.h | 1 | ||||
-rw-r--r-- | include/gpu/gl/GrGLInterface.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/gpu/gl/GrGLFunctions.h b/include/gpu/gl/GrGLFunctions.h index f31ae8a2a3..093c7d1087 100644 --- a/include/gpu/gl/GrGLFunctions.h +++ b/include/gpu/gl/GrGLFunctions.h @@ -234,6 +234,7 @@ extern "C" { typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathParameterfProc)(GrGLuint path, GrGLenum pname, GrGLfloat value); typedef GrGLuint (GR_GL_FUNCTION_TYPE* GrGLGenPathsProc)(GrGLsizei range); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDeletePathsProc)(GrGLuint path, GrGLsizei range); + typedef GrGLboolean (GR_GL_FUNCTION_TYPE* GrGLIsPathProc)(GrGLuint path); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLPathStencilFuncProc)(GrGLenum func, GrGLint ref, GrGLuint mask); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilFillPathProc)(GrGLuint path, GrGLenum fillMode, GrGLuint mask); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLStencilStrokePathProc)(GrGLuint path, GrGLint reference, GrGLuint mask); diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h index add7ee2567..7bf382c05d 100644 --- a/include/gpu/gl/GrGLInterface.h +++ b/include/gpu/gl/GrGLInterface.h @@ -324,6 +324,7 @@ public: GLPtr<GrGLPathParameterfProc> fPathParameterf; GLPtr<GrGLGenPathsProc> fGenPaths; GLPtr<GrGLDeletePathsProc> fDeletePaths; + GLPtr<GrGLIsPathProc> fIsPath; GLPtr<GrGLPathStencilFuncProc> fPathStencilFunc; GLPtr<GrGLStencilFillPathProc> fStencilFillPath; GLPtr<GrGLStencilStrokePathProc> fStencilStrokePath; |