X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fmain%2Ftexturebindless.h;h=ac97e95e81c0c306ed5168a09b51b05dea56ade4;hb=442fd3d007d733a24e8d2473756467d616a134ac;hp=d584f5cc0cce81d67aaf11e2ef3e9ea8a796dff5;hpb=1fe7b1f9724ac38cbddcac6505d3750ef99a2eca;p=mesa.git diff --git a/src/mesa/main/texturebindless.h b/src/mesa/main/texturebindless.h index d584f5cc0cc..ac97e95e81c 100644 --- a/src/mesa/main/texturebindless.h +++ b/src/mesa/main/texturebindless.h @@ -24,12 +24,14 @@ #ifndef TEXTUREBINDLESS_H #define TEXTUREBINDLESS_H -#include "mtypes.h" +#include "glheader.h" #ifdef __cplusplus extern "C" { #endif +struct gl_context; + /** * \name Internal functions */ @@ -67,27 +69,59 @@ _mesa_delete_sampler_handles(struct gl_context *ctx, */ /*@{*/ +GLuint64 GLAPIENTRY +_mesa_GetTextureHandleARB_no_error(GLuint texture); + GLuint64 GLAPIENTRY _mesa_GetTextureHandleARB(GLuint texture); + +GLuint64 GLAPIENTRY +_mesa_GetTextureSamplerHandleARB_no_error(GLuint texture, GLuint sampler); + GLuint64 GLAPIENTRY _mesa_GetTextureSamplerHandleARB(GLuint texture, GLuint sampler); +void GLAPIENTRY +_mesa_MakeTextureHandleResidentARB_no_error(GLuint64 handle); + void GLAPIENTRY _mesa_MakeTextureHandleResidentARB(GLuint64 handle); + +void GLAPIENTRY +_mesa_MakeTextureHandleNonResidentARB_no_error(GLuint64 handle); + void GLAPIENTRY _mesa_MakeTextureHandleNonResidentARB(GLuint64 handle); +GLuint64 GLAPIENTRY +_mesa_GetImageHandleARB_no_error(GLuint texture, GLint level, GLboolean layered, + GLint layer, GLenum format); + GLuint64 GLAPIENTRY _mesa_GetImageHandleARB(GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format); +void GLAPIENTRY +_mesa_MakeImageHandleResidentARB_no_error(GLuint64 handle, GLenum access); + void GLAPIENTRY _mesa_MakeImageHandleResidentARB(GLuint64 handle, GLenum access); + +void GLAPIENTRY +_mesa_MakeImageHandleNonResidentARB_no_error(GLuint64 handle); + void GLAPIENTRY _mesa_MakeImageHandleNonResidentARB(GLuint64 handle); +GLboolean GLAPIENTRY +_mesa_IsTextureHandleResidentARB_no_error(GLuint64 handle); + GLboolean GLAPIENTRY _mesa_IsTextureHandleResidentARB(GLuint64 handle); + +GLboolean GLAPIENTRY +_mesa_IsImageHandleResidentARB_no_error(GLuint64 handle); + GLboolean GLAPIENTRY _mesa_IsImageHandleResidentARB(GLuint64 handle);