diff options
author | 2015-04-21 11:45:56 -0700 | |
---|---|---|
committer | 2015-04-21 11:45:56 -0700 | |
commit | fd4167ddf12ea723b828462ec1507acebdef5776 (patch) | |
tree | 88b2ded78a3c7a85637cc097a78b472e89b1061b /include | |
parent | d557462f1fd274400107dd28ea36900da51e42a6 (diff) |
Import glTextureBarrier
BUG=skia:
Review URL: https://codereview.chromium.org/1090163002
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 59cf55a95e..3995ead797 100644 --- a/include/gpu/gl/GrGLFunctions.h +++ b/include/gpu/gl/GrGLFunctions.h @@ -187,6 +187,7 @@ extern "C" { typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLTexStorage2DProc)(GrGLenum target, GrGLsizei levels, GrGLenum internalformat, GrGLsizei width, GrGLsizei height); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLDiscardFramebufferProc)(GrGLenum target, GrGLsizei numAttachments, const GrGLenum* attachments); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLTexSubImage2DProc)(GrGLenum target, GrGLint level, GrGLint xoffset, GrGLint yoffset, GrGLsizei width, GrGLsizei height, GrGLenum format, GrGLenum type, const GrGLvoid* pixels); + typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLTextureBarrierProc)(); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform1fProc)(GrGLint location, GrGLfloat v0); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform1iProc)(GrGLint location, GrGLint v0); typedef GrGLvoid (GR_GL_FUNCTION_TYPE* GrGLUniform1fvProc)(GrGLint location, GrGLsizei count, const GrGLfloat* v); diff --git a/include/gpu/gl/GrGLInterface.h b/include/gpu/gl/GrGLInterface.h index 368d19ca51..a96d2f404a 100644 --- a/include/gpu/gl/GrGLInterface.h +++ b/include/gpu/gl/GrGLInterface.h @@ -288,6 +288,7 @@ public: GLPtr<GrGLTexParameterivProc> fTexParameteriv; GLPtr<GrGLTexSubImage2DProc> fTexSubImage2D; GLPtr<GrGLTexStorage2DProc> fTexStorage2D; + GLPtr<GrGLTextureBarrierProc> fTextureBarrier; GLPtr<GrGLDiscardFramebufferProc> fDiscardFramebuffer; GLPtr<GrGLUniform1fProc> fUniform1f; GLPtr<GrGLUniform1iProc> fUniform1i; |