summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texobj.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-18 18:02:51 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:39 +0200
commitc88649246f85415073cc8fd922ab039a067c89ee (patch)
treed325909c013953abfe0983addf76badd096165f5 /src/mesa/main/texobj.h
parentfee507b9092e0998c3f7e710b0d2feb3f191fec3 (diff)
mesa: add KHR_no_error support to glInvalidate*()
These are just no-op because we don't actually do anything useful in the errors path. Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.h')
-rw-r--r--src/mesa/main/texobj.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mesa/main/texobj.h b/src/mesa/main/texobj.h
index f10623899fc..9b9e4185d7b 100644
--- a/src/mesa/main/texobj.h
+++ b/src/mesa/main/texobj.h
@@ -218,10 +218,18 @@ _mesa_AreTexturesResident( GLsizei n, const GLuint *textures,
extern GLboolean GLAPIENTRY
_mesa_IsTexture( GLuint texture );
+void GLAPIENTRY
+_mesa_InvalidateTexSubImage_no_error(GLuint texture, GLint level, GLint xoffset,
+ GLint yoffset, GLint zoffset,
+ GLsizei width, GLsizei height,
+ GLsizei depth);
+
extern void GLAPIENTRY
_mesa_InvalidateTexSubImage(GLuint texture, GLint level, GLint xoffset,
GLint yoffset, GLint zoffset, GLsizei width,
GLsizei height, GLsizei depth);
+void GLAPIENTRY
+_mesa_InvalidateTexImage_no_error(GLuint texture, GLint level);
extern void GLAPIENTRY
_mesa_InvalidateTexImage(GLuint texture, GLint level);