Lines Matching defs:texture
77 * Delete a texture handle in the shared state.
103 * Return TRUE if the texture handle is resident in the current context.
123 * Make a texture handle resident/non-resident in the current context.
142 /* Reference the texture object (and the separate sampler if needed) to
156 /* Unreference the texture object but keep the pointer intact, if
157 * refcount hits zero, the texture and all handles will be deleted.
191 /* Reference the texture object to be sure it won't be deleted until it
203 /* Unreference the texture object but keep the pointer intact, if
204 * refcount hits zero, the texture and all handles will be deleted.
259 * "The handle for each texture or texture/sampler pair is unique; the same
261 * for the same texture or if GetTextureSamplerHandleARB is called multiple
262 * times for the same texture/sampler pair."
271 /* Request a new texture handle from the driver. */
286 /* Store the handle into the texture object. */
299 /* When referenced by one or more handles, texture objects are immutable. */
338 * "The handle returned for each combination of <texture>, <level>,
383 /* Store the handle into the texture object. */
389 /* When referenced by one or more handles, texture objects are immutable. */
443 * Init/free texture/image handles per-texture object.
505 * Init/free texture handles per-sampler object.
521 /* Delete the handle in the texture object. */
554 * If the texture's base internal format is signed or unsigned integer,
576 _mesa_GetTextureHandleARB_no_error(GLuint texture)
582 texObj = _mesa_lookup_texture(ctx, texture);
591 _mesa_GetTextureHandleARB(GLuint texture)
606 * GetTextureSamplerHandleARB if <texture> is zero or not the name of an
607 * existing texture object."
609 if (texture > 0)
610 texObj = _mesa_lookup_texture(ctx, texture);
613 _mesa_error(ctx, GL_INVALID_VALUE, "glGetTextureHandleARB(texture)");
620 * GetTextureSamplerHandleARB if the texture object specified by <texture>
629 "glGetTextureHandleARB(incomplete texture)");
644 _mesa_GetTextureSamplerHandleARB_no_error(GLuint texture, GLuint sampler)
651 texObj = _mesa_lookup_texture(ctx, texture);
662 _mesa_GetTextureSamplerHandleARB(GLuint texture, GLuint sampler)
678 * GetTextureSamplerHandleARB if <texture> is zero or not the name of an
679 * existing texture object."
681 if (texture > 0)
682 texObj = _mesa_lookup_texture(ctx, texture);
686 "glGetTextureSamplerHandleARB(texture)");
705 * GetTextureSamplerHandleARB if the texture object specified by <texture>
714 "glGetTextureSamplerHandleARB(incomplete texture)");
755 * if <handle> is not a valid texture handle, or if <handle> is already
801 * MakeTextureHandleNonResidentARB if <handle> is not a valid texture
821 _mesa_GetImageHandleARB_no_error(GLuint texture, GLint level, GLboolean layered,
828 texObj = _mesa_lookup_texture(ctx, texture);
837 _mesa_GetImageHandleARB(GLuint texture, GLint level, GLboolean layered,
853 * "The error INVALID_VALUE is generated by GetImageHandleARB if <texture>
854 * is zero or not the name of an existing texture object, if the image for
855 * <level> does not existing in <texture>, or if <layered> is FALSE and
859 if (texture > 0)
860 texObj = _mesa_lookup_texture(ctx, texture);
863 _mesa_error(ctx, GL_INVALID_VALUE, "glGetImageHandleARB(texture)");
885 * texture object <texture> is not complete or if <layered> is TRUE and
886 * <texture> is not a three-dimensional, one-dimensional array, two
887 * dimensional array, cube map, or cube map array texture."
895 "glGetImageHandleARB(incomplete texture)");
1033 * not a valid texture or image handle, respectively."
1067 * not a valid texture or image handle, respectively."