/third_party/mesa3d/src/mesa/main/ |
H A D | texparam.c | 157 struct gl_texture_object *texObj; in get_texobj_by_name() local 159 texObj = _mesa_lookup_texture_err(ctx, texture, name); in get_texobj_by_name() 160 if (!texObj) in get_texobj_by_name() 163 if (!is_texparameteri_target_valid(texObj->Target)) { in get_texobj_by_name() 168 return texObj; in get_texobj_by_name() 230 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) in incomplete() argument 233 _mesa_dirty_texobj(ctx, texObj); in incomplete() 257 struct gl_texture_object *texObj, in set_tex_parameteri() 262 if (texObj->HandleAllocated) { in set_tex_parameteri() 277 if (!_mesa_target_allows_setting_sampler_parameters(texObj in set_tex_parameteri() 256 set_tex_parameteri(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) set_tex_parameteri() argument 736 set_tex_parameterf(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params, bool dsa) set_tex_parameterf() argument 917 _mesa_texture_parameter_invalidate(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname) _mesa_texture_parameter_invalidate() argument 922 st_texture_release_all_sampler_views(st_context(ctx), texObj); _mesa_texture_parameter_invalidate() local 926 _mesa_texture_parameterf(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, GLfloat param, bool dsa) _mesa_texture_parameterf() argument 986 _mesa_texture_parameterfv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params, bool dsa) _mesa_texture_parameterfv() argument 1056 _mesa_texture_parameteri(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, GLint param, bool dsa) _mesa_texture_parameteri() argument 1100 _mesa_texture_parameteriv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) _mesa_texture_parameteriv() argument 1142 _mesa_texture_parameterIiv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) _mesa_texture_parameterIiv() argument 1171 _mesa_texture_parameterIuiv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLuint *params, bool dsa) _mesa_texture_parameterIuiv() argument 1203 struct gl_texture_object *texObj; _mesa_TexParameterf() local 1219 struct gl_texture_object *texObj; _mesa_TexParameterfv() local 1235 struct gl_texture_object *texObj; _mesa_TexParameteri() local 1251 struct gl_texture_object *texObj; _mesa_TexParameteriv() local 1272 struct gl_texture_object *texObj; _mesa_TexParameterIiv() local 1293 struct gl_texture_object *texObj; _mesa_TexParameterIuiv() local 1309 struct gl_texture_object *texObj; _mesa_TextureParameterfvEXT() local 1328 struct gl_texture_object *texObj; _mesa_TextureParameterfv() local 1341 struct gl_texture_object *texObj; _mesa_MultiTexParameterfvEXT() local 1362 struct gl_texture_object *texObj; _mesa_TextureParameterfEXT() local 1382 struct gl_texture_object *texObj; _mesa_MultiTexParameterfEXT() local 1403 struct gl_texture_object *texObj; _mesa_TextureParameterf() local 1416 struct gl_texture_object *texObj; _mesa_TextureParameteriEXT() local 1436 struct gl_texture_object *texObj; _mesa_MultiTexParameteriEXT() local 1457 struct gl_texture_object *texObj; _mesa_TextureParameteri() local 1471 struct gl_texture_object *texObj; _mesa_TextureParameterivEXT() local 1491 struct gl_texture_object *texObj; _mesa_MultiTexParameterivEXT() local 1513 struct gl_texture_object *texObj; _mesa_TextureParameteriv() local 1527 struct gl_texture_object *texObj; _mesa_TextureParameterIiv() local 1541 struct gl_texture_object *texObj; _mesa_TextureParameterIivEXT() local 1556 struct gl_texture_object *texObj; _mesa_MultiTexParameterIivEXT() local 1572 struct gl_texture_object *texObj; _mesa_TextureParameterIuiv() local 1586 struct gl_texture_object *texObj; _mesa_TextureParameterIuivEXT() local 1601 struct gl_texture_object *texObj; _mesa_MultiTexParameterIuivEXT() local 1703 get_tex_level_parameter_image(struct gl_context *ctx, const struct gl_texture_object *texObj, GLenum target, GLint level, GLenum pname, GLint *params, bool dsa) get_tex_level_parameter_image() argument 1907 get_tex_level_parameter_buffer(struct gl_context *ctx, const struct gl_texture_object *texObj, GLenum pname, GLint *params, bool dsa) get_tex_level_parameter_buffer() argument 2066 get_tex_level_parameteriv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum pname, GLint *params, bool dsa) get_tex_level_parameteriv() argument 2106 struct gl_texture_object *texObj; _mesa_GetTexLevelParameterfv() local 2127 struct gl_texture_object *texObj; _mesa_GetTexLevelParameteriv() local 2145 struct gl_texture_object *texObj; _mesa_GetTextureLevelParameterfv() local 2167 struct gl_texture_object *texObj; _mesa_GetTextureLevelParameterfvEXT() local 2189 struct gl_texture_object *texObj; _mesa_GetMultiTexLevelParameterfvEXT() local 2213 struct gl_texture_object *texObj; _mesa_GetTextureLevelParameteriv() local 2232 struct gl_texture_object *texObj; _mesa_GetTextureLevelParameterivEXT() local 2251 struct gl_texture_object *texObj; _mesa_GetMultiTexLevelParameterivEXT() local 2876 struct gl_texture_object *texObj; _mesa_GetTexParameterIiv() local 2894 struct gl_texture_object *texObj; _mesa_GetTexParameterIuiv() local 2910 struct gl_texture_object *texObj; _mesa_GetTextureParameterfvEXT() local 2929 struct gl_texture_object *texObj; _mesa_GetMultiTexParameterfvEXT() local 2962 struct gl_texture_object *texObj; _mesa_GetTextureParameterivEXT() local 2980 struct gl_texture_object *texObj; _mesa_GetMultiTexParameterivEXT() local 3013 struct gl_texture_object *texObj; _mesa_GetTextureParameterIiv() local 3026 struct gl_texture_object *texObj; _mesa_GetTextureParameterIivEXT() local 3042 struct gl_texture_object *texObj; _mesa_GetMultiTexParameterIivEXT() local 3058 struct gl_texture_object *texObj; _mesa_GetTextureParameterIuiv() local 3072 struct gl_texture_object *texObj; _mesa_GetTextureParameterIuivEXT() local 3087 struct gl_texture_object *texObj; _mesa_GetMultiTexParameterIuivEXT() local [all...] |
H A D | genmipmap.c | 116 struct gl_texture_object *texObj, GLenum target, in generate_texture_mipmap() 123 if (texObj->Attrib.BaseLevel >= texObj->Attrib.MaxLevel) { in generate_texture_mipmap() 128 if (caller && texObj->Target == GL_TEXTURE_CUBE_MAP && in generate_texture_mipmap() 129 !_mesa_cube_complete(texObj)) { in generate_texture_mipmap() 135 _mesa_lock_texture(ctx, texObj); in generate_texture_mipmap() 137 texObj->External = GL_FALSE; in generate_texture_mipmap() 139 srcImage = _mesa_select_tex_image(texObj, target, texObj->Attrib.BaseLevel); in generate_texture_mipmap() 142 _mesa_unlock_texture(ctx, texObj); in generate_texture_mipmap() 115 generate_texture_mipmap(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, const char* caller) generate_texture_mipmap() argument 200 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); _mesa_GenerateMipmap_no_error() local 207 struct gl_texture_object *texObj; _mesa_GenerateMipmap() local 231 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); _mesa_GenerateTextureMipmap_no_error() local 236 validate_params_and_generate_mipmap(struct gl_texture_object *texObj, const char* caller) validate_params_and_generate_mipmap() argument 256 struct gl_texture_object *texObj; _mesa_GenerateTextureMipmap() local 266 struct gl_texture_object *texObj; _mesa_GenerateTextureMipmapEXT() local 279 struct gl_texture_object *texObj; _mesa_GenerateMultiTexMipmapEXT() local [all...] |
H A D | texturebindless.c | 131 struct gl_texture_object *texObj = NULL; in make_texture_handle_resident() local 146 _mesa_reference_texobj(&texObj, texHandleObj->texObj); in make_texture_handle_resident() 159 texObj = texHandleObj->texObj; in make_texture_handle_resident() 160 _mesa_reference_texobj(&texObj, NULL); in make_texture_handle_resident() 180 struct gl_texture_object *texObj = NULL; in make_image_handle_resident() local 195 _mesa_reference_texobj(&texObj, imgHandleObj->imgObj.TexObj); in make_image_handle_resident() 206 texObj = imgHandleObj->imgObj.TexObj; in make_image_handle_resident() 207 _mesa_reference_texobj(&texObj, NUL in make_image_handle_resident() 212 find_texhandleobj(struct gl_texture_object *texObj, struct gl_sampler_object *sampObj) find_texhandleobj() argument 224 new_texture_handle(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_sampler_object *sampObj) new_texture_handle() argument 250 get_texture_handle(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_sampler_object *sampObj) get_texture_handle() argument 314 find_imghandleobj(struct gl_texture_object *texObj, GLint level, GLboolean layered, GLint layer, GLenum format) find_imghandleobj() argument 329 get_image_handle(struct gl_context *ctx, struct gl_texture_object *texObj, GLint level, GLboolean layered, GLint layer, GLenum format) get_image_handle() argument 446 _mesa_init_texture_handles(struct gl_texture_object *texObj) _mesa_init_texture_handles() argument 453 _mesa_make_texture_handles_non_resident(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_make_texture_handles_non_resident() argument 476 _mesa_delete_texture_handles(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_delete_texture_handles() argument 519 struct gl_texture_object *texObj = (*texHandleObj)->texObj; _mesa_delete_sampler_handles() local 578 struct gl_texture_object *texObj; _mesa_GetTextureHandleARB_no_error() local 593 struct gl_texture_object *texObj = NULL; _mesa_GetTextureHandleARB() local 646 struct gl_texture_object *texObj; _mesa_GetTextureSamplerHandleARB_no_error() local 664 struct gl_texture_object *texObj = NULL; _mesa_GetTextureSamplerHandleARB() local 824 struct gl_texture_object *texObj; _mesa_GetImageHandleARB_no_error() local 840 struct gl_texture_object *texObj = NULL; _mesa_GetImageHandleARB() local [all...] |
H A D | texstorage.c | 128 struct gl_texture_object *texObj, in get_tex_image() 132 (texObj->Target == GL_TEXTURE_CUBE_MAP || in get_tex_image() 133 texObj->Target == GL_PROXY_TEXTURE_CUBE_MAP) in get_tex_image() 134 ? GL_TEXTURE_CUBE_MAP_POSITIVE_X + face : texObj->Target; in get_tex_image() 135 return _mesa_get_tex_image(ctx, texObj, faceTarget, level); in get_tex_image() 142 struct gl_texture_object *texObj, in initialize_texture_fields() 147 const GLenum target = texObj->Target; in initialize_texture_fields() 156 get_tex_image(ctx, texObj, face, level); in initialize_texture_fields() 182 struct gl_texture_object *texObj) in clear_texture_fields() 184 const GLenum target = texObj in clear_texture_fields() 127 get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) get_tex_image() argument 141 initialize_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj, GLint levels, GLsizei width, GLsizei height, GLsizei depth, GLenum internalFormat, mesa_format texFormat) initialize_texture_fields() argument 181 clear_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj) clear_texture_fields() argument 209 update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj) update_fbo_texture() argument 271 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) tex_storage_error_check() argument 353 _mesa_sparse_texture_error_check(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, mesa_format format, GLenum target, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, const char *func) _mesa_sparse_texture_error_check() argument 436 texture_storage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa, bool no_error) texture_storage() argument 548 texture_storage_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_error() argument 560 texture_storage_no_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) texture_storage_no_error() argument 579 struct gl_texture_object *texObj; texstorage_error() local 622 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); texstorage_no_error() local 636 struct gl_texture_object *texObj; texturestorage_error() local 679 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, texture); texturestorage_no_error() local 845 _mesa_texture_storage_memory(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset, bool dsa) _mesa_texture_storage_memory() argument [all...] |
H A D | texobj.h | 98 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _mesa_lock_texture() argument 103 (void) texObj; in _mesa_lock_texture() 107 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) in _mesa_unlock_texture() argument 109 (void) texObj; in _mesa_unlock_texture() 117 _mesa_is_texture_complete(const struct gl_texture_object *texObj, in _mesa_is_texture_complete() argument 121 struct gl_texture_image *img = texObj->Image[0][texObj->Attrib.BaseLevel]; in _mesa_is_texture_complete() 143 (texObj->_IsIntegerFormat || in _mesa_is_texture_complete() 144 (texObj->StencilSampling && in _mesa_is_texture_complete() 154 if (texObj in _mesa_is_texture_complete() [all...] |
H A D | teximage.c | 362 * \param texObj texture unit. 369 _mesa_select_tex_image(const struct gl_texture_object *texObj, in _mesa_select_tex_image() argument 374 assert(texObj); in _mesa_select_tex_image() 378 return texObj->Image[face][level]; in _mesa_select_tex_image() 388 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, in _mesa_get_tex_image() argument 393 if (!texObj) in _mesa_get_tex_image() 396 texImage = _mesa_select_tex_image(texObj, target, level); in _mesa_get_tex_image() 404 set_tex_image(texObj, target, level, texImage); in _mesa_get_tex_image() 640 _mesa_get_texture_layers(const struct gl_texture_object *texObj, GLint level) in _mesa_get_texture_layers() argument 644 switch (texObj in _mesa_get_texture_layers() 1636 mutable_tex_object(struct gl_texture_object *texObj) mutable_tex_object() argument 1823 texture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, struct gl_texture_object* texObj, GLint level, GLint internalFormat, GLenum format, GLenum type, GLint width, GLint height, GLint depth, GLint border, const GLvoid *pixels ) texture_error_check() argument 2006 compressed_texture_error_check(struct gl_context *ctx, GLint dimensions, GLenum target, struct gl_texture_object* texObj, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) compressed_texture_error_check() argument 2164 texsubimage_error_check(struct gl_context *ctx, GLuint dimensions, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, GLint depth, GLenum format, GLenum type, const GLvoid *pixels, const char *callerName) texsubimage_error_check() argument 2288 copytexture_error_check( struct gl_context *ctx, GLuint dimensions, GLenum target, struct gl_texture_object* texObj, GLint level, GLint internalFormat, GLint border ) copytexture_error_check() argument 2561 copytexsubimage_error_check(struct gl_context *ctx, GLuint dimensions, const struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint width, GLint height, const char *caller) copytexsubimage_error_check() argument 2685 struct gl_texture_object *texObj; global() member 2699 const struct gl_texture_object *texObj = info->texObj; check_rtt_cb() local 2735 _mesa_update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) _mesa_update_fbo_texture() argument 2757 check_gen_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, GLint level) check_gen_mipmap() argument 2822 _mesa_choose_texture_format(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLenum format, GLenum type) _mesa_choose_texture_format() argument 2924 struct gl_texture_object *texObj; lookup_texture_ext_dsa() local 2969 teximage(struct gl_context *ctx, GLboolean compressed, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, GLsizei imageSize, const GLvoid *pixels, bool no_error) teximage() argument 3227 struct gl_texture_object* texObj; _mesa_TextureImage1DEXT() local 3243 struct gl_texture_object* texObj; _mesa_MultiTexImage1DEXT() local 3273 struct gl_texture_object* texObj; _mesa_TextureImage2DEXT() local 3290 struct gl_texture_object* texObj; _mesa_MultiTexImage2DEXT() local 3324 struct gl_texture_object* texObj; _mesa_TextureImage3DEXT() local 3342 struct gl_texture_object* texObj; _mesa_MultiTexImage3DEXT() local 3394 egl_image_target_texture(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLeglImageOES image, bool tex_storage, const char *caller) egl_image_target_texture() argument 3477 egl_image_target_texture_storage(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLeglImageOES image, const GLint *attrib_list, const char *caller) egl_image_target_texture_storage() argument 3511 struct gl_texture_object *texObj; _mesa_EGLImageTargetTextureStorageEXT() local 3535 texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) texture_sub_image() argument 3590 struct gl_texture_object *texObj; texsubimage_err() local 3634 struct gl_texture_object *texObj; texsubimage() local 3658 struct gl_texture_object *texObj; texturesubimage() local 3913 struct gl_texture_object *texObj; _mesa_MultiTexSubImage1DEXT() local 3974 struct gl_texture_object *texObj; _mesa_MultiTexSubImage2DEXT() local 4036 struct gl_texture_object *texObj; _mesa_MultiTexSubImage3DEXT() local 4167 copy_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) copy_texture_sub_image() argument 4214 copy_texture_sub_image_err(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, const char *caller) copy_texture_sub_image_err() argument 4245 copy_texture_sub_image_no_error(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) copy_texture_sub_image_no_error() argument 4267 copyteximage(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border, bool no_error) copyteximage() argument 4480 struct gl_texture_object* texObj = _mesa_CopyTextureImage1DEXT() local 4497 struct gl_texture_object* texObj = _mesa_CopyMultiTexImage1DEXT() local 4528 struct gl_texture_object* texObj = _mesa_CopyTextureImage2DEXT() local 4545 struct gl_texture_object* texObj = _mesa_CopyMultiTexImage2DEXT() local 4582 struct gl_texture_object* texObj; _mesa_CopyTexSubImage1D() local 4609 struct gl_texture_object* texObj; _mesa_CopyTexSubImage2D() local 4636 struct gl_texture_object* texObj; _mesa_CopyTexSubImage3D() local 4662 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage1D() local 4686 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage1DEXT() local 4711 struct gl_texture_object* texObj; _mesa_CopyMultiTexSubImage1DEXT() local 4731 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage2D() local 4756 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage2DEXT() local 4781 struct gl_texture_object* texObj; _mesa_CopyMultiTexSubImage2DEXT() local 4800 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage3D() local 4833 struct gl_texture_object* texObj; _mesa_CopyTextureSubImage3DEXT() local 4866 struct gl_texture_object* texObj; _mesa_CopyMultiTexSubImage3DEXT() local 4895 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); _mesa_CopyTexSubImage1D_no_error() local 4908 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); _mesa_CopyTexSubImage2D_no_error() local 4921 struct gl_texture_object* texObj = _mesa_get_current_tex_object(ctx, target); _mesa_CopyTexSubImage3D_no_error() local 4933 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); _mesa_CopyTextureSubImage1D_no_error() local 4946 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); _mesa_CopyTextureSubImage2D_no_error() local 4959 struct gl_texture_object* texObj = _mesa_lookup_texture(ctx, texture); _mesa_CopyTextureSubImage3D_no_error() local 4982 struct gl_texture_object *texObj = texImage->TexObject; check_clear_tex_image() local 5053 struct gl_texture_object *texObj; get_tex_obj_for_clear() local 5077 get_tex_images_for_clear(struct gl_context *ctx, const char *function, struct gl_texture_object *texObj, GLint level, struct gl_texture_image **texImages) get_tex_images_for_clear() argument 5119 struct gl_texture_object *texObj; _mesa_ClearTexSubImage() local 5196 struct gl_texture_object *texObj; _mesa_ClearTexImage() local 5381 compressed_subtexture_error_check(struct gl_context *ctx, GLint dims, const struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data, const char *callerName) compressed_subtexture_error_check() argument 5490 struct gl_texture_object* texObj; _mesa_CompressedTextureImage1DEXT() local 5508 struct gl_texture_object* texObj; _mesa_CompressedMultiTexImage1DEXT() local 5540 struct gl_texture_object* texObj; _mesa_CompressedTextureImage2DEXT() local 5558 struct gl_texture_object* texObj; _mesa_CompressedMultiTexImage2DEXT() local 5590 struct gl_texture_object* texObj; _mesa_CompressedTextureImage3DEXT() local 5608 struct gl_texture_object* texObj; _mesa_CompressedMultiTexImage3DEXT() local 5663 compressed_texture_sub_image(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) compressed_texture_sub_image() argument 5714 struct gl_texture_object *texObj = NULL; compressed_tex_sub_image() local 6302 texture_buffer_range(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum internalFormat, struct gl_buffer_object *bufObj, GLintptr offset, GLsizeiptr size, const char *caller) texture_buffer_range() argument 6358 st_texture_release_all_sampler_views(st_context(ctx), texObj); texture_buffer_range() local 6361 st_texture_release_all_sampler_views(st_context(ctx), texObj); texture_buffer_range() local 6364 st_texture_release_all_sampler_views(st_context(ctx), texObj); texture_buffer_range() local 6449 struct gl_texture_object *texObj; _mesa_TexBuffer() local 6481 struct gl_texture_object *texObj; _mesa_TexBufferRange() local 6528 struct gl_texture_object *texObj; _mesa_TextureBufferRangeEXT() local 6571 struct gl_texture_object *texObj; _mesa_TextureBuffer() local 6599 struct gl_texture_object *texObj; _mesa_TextureBufferEXT() local 6628 struct gl_texture_object *texObj; _mesa_MultiTexBufferEXT() local 6658 struct gl_texture_object *texObj; _mesa_TextureBufferRange() local 6734 texture_image_multisample(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations, GLboolean immutable, GLuint64 offset, const char *func) texture_image_multisample() argument 7002 struct gl_texture_object *texObj; _mesa_TextureStorage2DMultisample() local 7025 struct gl_texture_object *texObj; _mesa_TextureStorage3DMultisample() local 7049 struct gl_texture_object *texObj; _mesa_TextureStorage2DMultisampleEXT() local 7072 struct gl_texture_object *texObj; _mesa_TextureStorage3DMultisampleEXT() local 7090 _mesa_texture_storage_ms_memory(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint64 offset, const char* func) _mesa_texture_storage_ms_memory() argument [all...] |
H A D | textureview.c | 309 struct gl_texture_object *texObj, in initialize_texture_fields() 320 texObj->Target = target; in initialize_texture_fields() 328 texImage = _mesa_get_tex_image(ctx, texObj, faceTarget, level); in initialize_texture_fields() 347 texObj->Target = 0; in initialize_texture_fields() 466 struct gl_texture_object *texObj, in _mesa_set_texture_view_state() 472 texImage = _mesa_select_tex_image(texObj, target, 0); in _mesa_set_texture_view_state() 491 texObj->Immutable = GL_TRUE; in _mesa_set_texture_view_state() 492 texObj->External = GL_FALSE; in _mesa_set_texture_view_state() 493 texObj->Attrib.ImmutableLevels = levels; in _mesa_set_texture_view_state() 494 texObj in _mesa_set_texture_view_state() 307 initialize_texture_fields(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, GLint levels, GLsizei width, GLsizei height, GLsizei depth, GLenum internalFormat, mesa_format texFormat, GLuint numSamples, GLboolean fixedSampleLocations) initialize_texture_fields() argument 465 _mesa_set_texture_view_state(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLuint levels) _mesa_set_texture_view_state() argument 531 texture_view(struct gl_context *ctx, struct gl_texture_object *origTexObj, struct gl_texture_object *texObj, GLenum target, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers, bool no_error) texture_view() argument 716 struct gl_texture_object *texObj; _mesa_TextureView_no_error() local 734 struct gl_texture_object *texObj; _mesa_TextureView() local [all...] |
H A D | texgetimage.c | 895 select_tex_image(const struct gl_texture_object *texObj, GLenum target, in select_tex_image() argument 905 return _mesa_select_tex_image(texObj, target, level); in select_tex_image() 916 struct gl_texture_object *texObj, in dimensions_error_check() 997 texImage = select_tex_image(texObj, target, level, zoffset); in dimensions_error_check() 1212 struct gl_texture_object *texObj, in common_error_check() 1221 if (texObj->Target == 0) { in common_error_check() 1248 if (target == GL_TEXTURE_CUBE_MAP && !_mesa_cube_complete(texObj)) { in common_error_check() 1264 struct gl_texture_object *texObj, in getteximage_error_check() 1272 assert(texObj); in getteximage_error_check() 1274 if (common_error_check(ctx, texObj, targe in getteximage_error_check() 915 dimensions_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, const char *caller) dimensions_error_check() argument 1211 common_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) common_error_check() argument 1263 getteximage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) getteximage_error_check() argument 1305 gettexsubimage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) gettexsubimage_error_check() argument 1348 get_texture_image_dims(const struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei *width, GLsizei *height, GLsizei *depth) get_texture_image_dims() argument 1386 get_texture_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLenum format, GLenum type, GLvoid *pixels, const char *caller) get_texture_image() argument 1453 _get_texture_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *pixels, const char *caller) _get_texture_image() argument 1525 struct gl_texture_object *texObj = _mesa_GetTextureImage() local 1548 struct gl_texture_object *texObj = _mesa_GetTextureImageEXT() local 1574 struct gl_texture_object *texObj = _mesa_GetMultiTexImageEXT() local 1613 struct gl_texture_object *texObj = _mesa_GetTextureSubImage() local 1670 getcompressedteximage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, GLvoid *pixels, const char *caller) getcompressedteximage_error_check() argument 1764 get_compressed_texture_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLint depth, GLvoid *pixels, const char *caller) get_compressed_texture_image() argument 1839 struct gl_texture_object *texObj; _mesa_GetnCompressedTexImageARB() local 1869 struct gl_texture_object *texObj; _mesa_GetCompressedTexImage() local 1899 struct gl_texture_object* texObj; _mesa_GetCompressedTextureImageEXT() local 1926 struct gl_texture_object* texObj; _mesa_GetCompressedMultiTexImageEXT() local 1957 struct gl_texture_object *texObj = _mesa_GetCompressedTextureImage() local 1988 struct gl_texture_object *texObj = NULL; _mesa_GetCompressedTextureSubImage() local [all...] |
H A D | shaderimage.c | 564 set_image_binding(struct gl_image_unit *u, struct gl_texture_object *texObj, in set_image_binding() argument 573 if (texObj && _mesa_tex_target_is_layered(texObj->Target)) { in set_image_binding() 582 _mesa_reference_texobj(&u->TexObj, texObj); in set_image_binding() 586 bind_image_texture(struct gl_context *ctx, struct gl_texture_object *texObj, in bind_image_texture() argument 597 set_image_binding(u, texObj, level, layered, layer, access, format); in bind_image_texture() 605 struct gl_texture_object *texObj = NULL; in _mesa_BindImageTexture_no_error() local 610 texObj = _mesa_lookup_texture(ctx, texture); in _mesa_BindImageTexture_no_error() 612 bind_image_texture(ctx, texObj, unit, level, layered, layer, access, format); in _mesa_BindImageTexture_no_error() 620 struct gl_texture_object *texObj in _mesa_BindImageTexture() local 665 struct gl_texture_object *texObj = NULL; _mesa_BindImageTextureEXT() local 721 struct gl_texture_object *texObj = u->TexObj; bind_image_textures() local [all...] |
H A D | texobj.c | 130 struct gl_texture_object *texObj = NULL; in _mesa_lookup_texture_err() local 133 texObj = _mesa_lookup_texture(ctx, id); /* Returns NULL if not found. */ in _mesa_lookup_texture_err() 135 if (!texObj) in _mesa_lookup_texture_err() 138 return texObj; in _mesa_lookup_texture_err() 461 * \param texObj the texture object to delete. 465 struct gl_texture_object *texObj) in _mesa_delete_texture_object() 472 texObj->Target = 0x99; in _mesa_delete_texture_object() 474 pipe_resource_reference(&texObj->pt, NULL); in _mesa_delete_texture_object() 475 st_delete_texture_sampler_views(ctx->st, texObj); in _mesa_delete_texture_object() 476 simple_mtx_destroy(&texObj in _mesa_delete_texture_object() 464 _mesa_delete_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_delete_texture_object() argument 509 _mesa_clear_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_texture_image *retainTexImage) _mesa_clear_texture_object() argument 866 _mesa_cube_level_complete(const struct gl_texture_object *texObj, const GLint level) _mesa_cube_level_complete() argument 903 _mesa_cube_complete(const struct gl_texture_object *texObj) _mesa_cube_complete() argument 916 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj) _mesa_dirty_texobj() argument 939 struct gl_texture_object *texObj; _mesa_get_fallback_texture() local 1061 texture_size(const struct gl_texture_object *texObj) texture_size() argument 1087 const struct gl_texture_object *texObj = count_tex_size() local 1121 _mesa_texture_base_format(const struct gl_texture_object *texObj) _mesa_texture_base_format() argument 1208 struct gl_texture_object *texObj; create_textures() local 1320 unbind_texobj_from_fbo(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_fbo() argument 1360 unbind_texobj_from_texunits(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_texunits() argument 1391 unbind_texobj_from_image_units(struct gl_context *ctx, struct gl_texture_object *texObj) unbind_texobj_from_image_units() argument 1417 struct gl_texture_object *texObj = ctx->Shared->DefaultTex[index]; unbind_textures_from_unit() local 1588 bind_texture_object(struct gl_context *ctx, unsigned unit, struct gl_texture_object *texObj) bind_texture_object() argument 1806 struct gl_texture_object *texObj; bind_texture_unit() local 1903 struct gl_texture_object *texObj; bind_textures() local 2369 struct gl_texture_object *texObj; _mesa_TexPageCommitmentARB() local 2388 struct gl_texture_object *texObj; _mesa_TexturePageCommitmentEXT() local [all...] |
H A D | texparam.h | 39 struct gl_texture_object *texObj, 44 struct gl_texture_object *texObj, 50 struct gl_texture_object *texObj, 55 struct gl_texture_object *texObj, 60 struct gl_texture_object *texObj, 65 struct gl_texture_object *texObj,
|
H A D | teximage.h | 145 struct gl_texture_object *texObj, 151 struct gl_texture_object *texObj, 160 _mesa_select_tex_image(const struct gl_texture_object *texObj, 165 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, 175 _mesa_base_tex_image(const struct gl_texture_object *texObj) in _mesa_base_tex_image() argument 177 return texObj->Image[0][texObj->Attrib.BaseLevel]; in _mesa_base_tex_image() 202 _mesa_get_texture_layers(const struct gl_texture_object *texObj, GLint level); 232 struct gl_texture_object *texObj, 242 struct gl_texture_object *texObj, [all...] |
H A D | texstate.c | 543 const struct gl_texture_object *texObj = texUnit->_Current; in update_tex_combine() local 544 GLenum format = texObj->Image[0][texObj->Attrib.BaseLevel]->_BaseFormat; in update_tex_combine() 547 format = texObj->Attrib.DepthMode; in update_tex_combine() 663 struct gl_texture_object *texObj; in update_single_program_texture() local 679 texObj = texUnit->CurrentTex[target_index]; in update_single_program_texture() 682 texUnit->Sampler : &texObj->Sampler; in update_single_program_texture() 684 if (likely(texObj)) { in update_single_program_texture() 685 if (_mesa_is_texture_complete(texObj, sampler, in update_single_program_texture() 687 return texObj; in update_single_program_texture() 719 struct gl_texture_object *texObj; update_single_program_texture_state() local 829 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; update_ff_texture_state() local 872 struct gl_texture_object *texObj = fix_missing_textures_for_atifs() local [all...] |
H A D | debug.c | 268 write_texture_image(struct gl_texture_object *texObj, in write_texture_image() argument 271 struct gl_texture_image *img = texObj->Image[face][level]; in write_texture_image() 289 snprintf(s, sizeof(s), "/tmp/tex%u.l%u.f%u.ppm", texObj->Name, level, face); in write_texture_image() 357 dump_texture(struct gl_texture_object *texObj, GLuint writeImages) in dump_texture() argument 359 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; in dump_texture() 363 printf("Texture %u\n", texObj->Name); in dump_texture() 364 printf(" Target %s\n", tex_target_name(texObj->Target)); in dump_texture() 367 struct gl_texture_image *texImg = texObj->Image[j][i]; in dump_texture() 375 write_texture_image(texObj, j, i); in dump_texture() 391 struct gl_texture_object *texObj in _mesa_dump_texture() local 401 struct gl_texture_object *texObj = (struct gl_texture_object *) data; dump_texture_cb() local [all...] |
H A D | externalobjects.c | 336 struct gl_texture_object *texObj; in texstorage_memory() local 361 texObj = _mesa_get_current_tex_object(ctx, target); in texstorage_memory() 362 if (!texObj) in texstorage_memory() 369 _mesa_texture_storage_memory(ctx, dims, texObj, memObj, target, in texstorage_memory() 380 struct gl_texture_object *texObj; in texstorage_memory_ms() local 390 texObj = _mesa_get_current_tex_object(ctx, target); in texstorage_memory_ms() 391 if (!texObj) in texstorage_memory_ms() 398 _mesa_texture_storage_ms_memory(ctx, dims, texObj, memObj, target, samples, in texstorage_memory_ms() 412 struct gl_texture_object *texObj; in texturestorage_memory() local 430 texObj in texturestorage_memory() 456 struct gl_texture_object *texObj; texturestorage_memory_ms() local 670 struct gl_texture_object *texObj; server_wait_semaphore() local 718 struct gl_texture_object *texObj; server_signal_semaphore() local [all...] |
H A D | texturebindless.h | 51 _mesa_init_texture_handles(struct gl_texture_object *texObj); 54 struct gl_texture_object *texObj); 57 struct gl_texture_object *texObj);
|
H A D | mipmap.h | 36 struct gl_texture_object *texObj, 41 struct gl_texture_object *texObj, 46 struct gl_texture_object *texObj);
|
H A D | copyimage.c | 143 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, name); in prepare_target_err() local 145 if (!texObj) { in prepare_target_err() 207 * To ignore formats, we check texObj->_MipmapComplete directly in prepare_target_err() 210 _mesa_test_texobj_completeness(ctx, texObj); in prepare_target_err() 212 _mesa_is_mipmap_filter(&texObj->Sampler) ? texObj->_MipmapComplete in prepare_target_err() 213 : texObj->_BaseComplete; in prepare_target_err() 221 if (texObj->Target != target) { in prepare_target_err() 246 if (!texObj->Image[z+i][level]) { in prepare_target_err() 254 *tex_image = texObj in prepare_target_err() 289 struct gl_texture_object *texObj = _mesa_lookup_texture(ctx, name); prepare_target() local [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_sampler_view.c | 433 const struct gl_texture_object *texObj, in get_texture_format_swizzle() 436 GLenum baseFormat = _mesa_base_tex_image(texObj)->_BaseFormat; in get_texture_format_swizzle() 438 GLenum depth_mode = texObj->Attrib.DepthMode; in get_texture_format_swizzle() 448 _mesa_base_tex_image(texObj); in get_texture_format_swizzle() 459 return swizzle_swizzle(texObj->Attrib._Swizzle, tex_swizzle); in get_texture_format_swizzle() 467 * \param texObj the st texture object, 471 const struct gl_texture_object *texObj, in check_sampler_swizzle() 475 unsigned swizzle = get_texture_format_swizzle(st, texObj, glsl130_or_later); in check_sampler_swizzle() 485 last_level(const struct gl_texture_object *texObj) in last_level() argument 487 unsigned ret = MIN2(texObj in last_level() 432 get_texture_format_swizzle(const struct st_context *st, const struct gl_texture_object *texObj, bool glsl130_or_later) get_texture_format_swizzle() argument 470 check_sampler_swizzle(const struct st_context *st, const struct gl_texture_object *texObj, const struct pipe_sampler_view *sv, bool glsl130_or_later) check_sampler_swizzle() argument 497 last_layer(const struct gl_texture_object *texObj) last_layer() argument 511 st_get_sampler_view_format(const struct st_context *st, const struct gl_texture_object *texObj, bool srgb_skip_decode) st_get_sampler_view_format() argument 588 st_create_texture_sampler_view_from_stobj(struct st_context *st, struct gl_texture_object *texObj, enum pipe_format format, bool glsl130_or_later) st_create_texture_sampler_view_from_stobj() argument 625 st_get_texture_sampler_view_from_stobj(struct st_context *st, struct gl_texture_object *texObj, const struct gl_sampler_object *samp, bool glsl130_or_later, bool ignore_srgb_decode, bool get_reference) st_get_texture_sampler_view_from_stobj() argument 685 st_get_buffer_sampler_view_from_stobj(struct st_context *st, struct gl_texture_object *texObj, bool get_reference) st_get_buffer_sampler_view_from_stobj() argument [all...] |
H A D | st_gen_mipmap.c | 50 struct gl_texture_object *texObj) in st_generate_mipmap() 53 struct pipe_resource *pt = st_get_texobj_resource(texObj); in st_generate_mipmap() 54 uint baseLevel = texObj->Attrib.BaseLevel; in st_generate_mipmap() 61 if (texObj->Immutable) in st_generate_mipmap() 62 baseLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 69 lastLevel = _mesa_compute_num_levels(ctx, texObj, target) - 1; in st_generate_mipmap() 71 if (texObj->Immutable) in st_generate_mipmap() 72 lastLevel += texObj->Attrib.MinLevel; in st_generate_mipmap() 83 texObj->lastLevel = lastLevel; in st_generate_mipmap() 85 if (!texObj in st_generate_mipmap() 49 st_generate_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj) st_generate_mipmap() argument [all...] |
H A D | st_cb_eglimage.c | 265 struct gl_texture_object *texObj, in st_bind_egl_image() 287 if (!texObj->surface_based) { in st_bind_egl_image() 288 _mesa_clear_texture_object(ctx, texObj, NULL); in st_bind_egl_image() 289 texObj->surface_based = GL_TRUE; in st_bind_egl_image() 300 texObj->RequiredTextureImageUnits = 1; in st_bind_egl_image() 303 texObj->RequiredTextureImageUnits = 2; in st_bind_egl_image() 310 texObj->RequiredTextureImageUnits = 2; in st_bind_egl_image() 316 texObj->RequiredTextureImageUnits = 2; in st_bind_egl_image() 321 texObj->RequiredTextureImageUnits = 1; in st_bind_egl_image() 327 texObj in st_bind_egl_image() 264 st_bind_egl_image(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_texture_image *texImage, struct st_egl_image *stimg, bool tex_storage, bool native_supported) st_bind_egl_image() argument 413 st_egl_image_target_texture_2d(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLeglImageOES image_handle) st_egl_image_target_texture_2d() argument 433 st_egl_image_target_tex_storage(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLeglImageOES image_handle) st_egl_image_target_tex_storage() argument [all...] |
H A D | st_vdpau.c | 187 GLboolean output, struct gl_texture_object *texObj, in st_vdpau_map_surface() 238 if (!texObj->surface_based) { in st_vdpau_map_surface() 239 _mesa_clear_texture_object(ctx, texObj, NULL); in st_vdpau_map_surface() 240 texObj->surface_based = GL_TRUE; in st_vdpau_map_surface() 249 pipe_resource_reference(&texObj->pt, res); in st_vdpau_map_surface() 250 st_texture_release_all_sampler_views(st, texObj); in st_vdpau_map_surface() 253 texObj->surface_format = res->format; in st_vdpau_map_surface() 254 texObj->level_override = -1; in st_vdpau_map_surface() 255 texObj->layer_override = layer_override; in st_vdpau_map_surface() 257 _mesa_dirty_texobj(ctx, texObj); in st_vdpau_map_surface() 186 st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_map_surface() argument 262 st_vdpau_unmap_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_unmap_surface() argument [all...] |
H A D | st_atom_texture.c | 64 struct gl_texture_object *texObj; in st_update_single_texture() local 66 texObj = ctx->Texture.Unit[texUnit]._Current; in st_update_single_texture() 67 assert(texObj); in st_update_single_texture() 69 GLenum target = texObj->Target; in st_update_single_texture() 72 return st_get_buffer_sampler_view_from_stobj(st, texObj, get_reference); in st_update_single_texture() 74 if (!st_finalize_texture(ctx, st->pipe, texObj, 0) || !texObj->pt) in st_update_single_texture() 78 texObj->pt->screen->resource_changed) in st_update_single_texture() 79 texObj->pt->screen->resource_changed(texObj in st_update_single_texture() [all...] |
H A D | st_vdpau.h | 41 GLboolean output, struct gl_texture_object *texObj, 46 GLboolean output, struct gl_texture_object *texObj, 53 GLboolean output, struct gl_texture_object *texObj, in st_vdpau_map_surface() 58 GLboolean output, struct gl_texture_object *texObj, in st_vdpau_unmap_surface() 52 st_vdpau_map_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_map_surface() argument 57 st_vdpau_unmap_surface(struct gl_context *ctx, GLenum target, GLenum access, GLboolean output, struct gl_texture_object *texObj, struct gl_texture_image *texImage, const void *vdpSurface, GLuint index) st_vdpau_unmap_surface() argument
|
H A D | st_cb_texture.c | 1019 struct gl_texture_object *texObj = texImage->TexObject; in prep_teximage() local 1022 if (texObj->surface_based) { in prep_teximage() 1023 const GLenum target = texObj->Target; in prep_teximage() 1028 _mesa_clear_texture_object(ctx, texObj, texImage); in prep_teximage() 1029 texObj->layer_override = -1; in prep_teximage() 1030 texObj->level_override = -1; in prep_teximage() 1031 pipe_resource_reference(&texObj->pt, NULL); in prep_teximage() 1034 texFormat = _mesa_choose_texture_format(ctx, texObj, target, level, in prep_teximage() 1043 texObj->surface_based = GL_FALSE; in prep_teximage() 3176 struct gl_texture_object *texObj, in st_texture_storage() 3175 st_texture_storage(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, struct gl_memory_object *memObj, GLuint64 offset) st_texture_storage() argument 3297 st_AllocTextureStorage(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth) st_AllocTextureStorage() argument 3323 struct gl_texture_object *texObj = st_TestProxyTexImage() local 3365 st_TextureView(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_texture_object *origTexObj) st_TextureView() argument 3462 struct gl_texture_object *texObj = texImage->TexObject; st_ClearTexSubImage() local 3511 st_SetTextureStorageForMemoryObject(struct gl_context *ctx, struct gl_texture_object *texObj, struct gl_memory_object *memObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth, GLuint64 offset) st_SetTextureStorageForMemoryObject() argument [all...] |