mesa: add KHR_no_error support for glIs{Image,Texture}HandleResidentARB()
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -69,12 +69,12 @@
|
|||||||
<param name="value" type="const GLuint64 *" />
|
<param name="value" type="const GLuint64 *" />
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="IsTextureHandleResidentARB">
|
<function name="IsTextureHandleResidentARB" no_error="true">
|
||||||
<return type="GLboolean"/>
|
<return type="GLboolean"/>
|
||||||
<param name="handle" type="GLuint64" />
|
<param name="handle" type="GLuint64" />
|
||||||
</function>
|
</function>
|
||||||
|
|
||||||
<function name="IsImageHandleResidentARB">
|
<function name="IsImageHandleResidentARB" no_error="true">
|
||||||
<return type="GLboolean"/>
|
<return type="GLboolean"/>
|
||||||
<param name="handle" type="GLuint64" />
|
<param name="handle" type="GLuint64" />
|
||||||
</function>
|
</function>
|
||||||
|
@@ -869,6 +869,13 @@ _mesa_MakeImageHandleNonResidentARB(GLuint64 handle)
|
|||||||
make_image_handle_resident(ctx, imgHandleObj, GL_READ_ONLY, false);
|
make_image_handle_resident(ctx, imgHandleObj, GL_READ_ONLY, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLboolean GLAPIENTRY
|
||||||
|
_mesa_IsTextureHandleResidentARB_no_error(GLuint64 handle)
|
||||||
|
{
|
||||||
|
GET_CURRENT_CONTEXT(ctx);
|
||||||
|
return is_texture_handle_resident(ctx, handle);
|
||||||
|
}
|
||||||
|
|
||||||
GLboolean GLAPIENTRY
|
GLboolean GLAPIENTRY
|
||||||
_mesa_IsTextureHandleResidentARB(GLuint64 handle)
|
_mesa_IsTextureHandleResidentARB(GLuint64 handle)
|
||||||
{
|
{
|
||||||
@@ -895,6 +902,13 @@ _mesa_IsTextureHandleResidentARB(GLuint64 handle)
|
|||||||
return is_texture_handle_resident(ctx, handle);
|
return is_texture_handle_resident(ctx, handle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GLboolean GLAPIENTRY
|
||||||
|
_mesa_IsImageHandleResidentARB_no_error(GLuint64 handle)
|
||||||
|
{
|
||||||
|
GET_CURRENT_CONTEXT(ctx);
|
||||||
|
return is_image_handle_resident(ctx, handle);
|
||||||
|
}
|
||||||
|
|
||||||
GLboolean GLAPIENTRY
|
GLboolean GLAPIENTRY
|
||||||
_mesa_IsImageHandleResidentARB(GLuint64 handle)
|
_mesa_IsImageHandleResidentARB(GLuint64 handle)
|
||||||
{
|
{
|
||||||
|
@@ -86,8 +86,15 @@ _mesa_MakeImageHandleResidentARB(GLuint64 handle, GLenum access);
|
|||||||
void GLAPIENTRY
|
void GLAPIENTRY
|
||||||
_mesa_MakeImageHandleNonResidentARB(GLuint64 handle);
|
_mesa_MakeImageHandleNonResidentARB(GLuint64 handle);
|
||||||
|
|
||||||
|
GLboolean GLAPIENTRY
|
||||||
|
_mesa_IsTextureHandleResidentARB_no_error(GLuint64 handle);
|
||||||
|
|
||||||
GLboolean GLAPIENTRY
|
GLboolean GLAPIENTRY
|
||||||
_mesa_IsTextureHandleResidentARB(GLuint64 handle);
|
_mesa_IsTextureHandleResidentARB(GLuint64 handle);
|
||||||
|
|
||||||
|
GLboolean GLAPIENTRY
|
||||||
|
_mesa_IsImageHandleResidentARB_no_error(GLuint64 handle);
|
||||||
|
|
||||||
GLboolean GLAPIENTRY
|
GLboolean GLAPIENTRY
|
||||||
_mesa_IsImageHandleResidentARB(GLuint64 handle);
|
_mesa_IsImageHandleResidentARB(GLuint64 handle);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user