/external/mesa3d/src/mesa/main/ |
H A D | genmipmap.c | 112 struct gl_texture_object *texObj, GLenum target, 120 if (texObj->BaseLevel >= texObj->MaxLevel) { 125 if (texObj->Target == GL_TEXTURE_CUBE_MAP && 126 !_mesa_cube_complete(texObj)) { 132 _mesa_lock_texture(ctx, texObj); 134 srcImage = _mesa_select_tex_image(texObj, target, texObj->BaseLevel); 136 _mesa_unlock_texture(ctx, texObj); 144 _mesa_unlock_texture(ctx, texObj); 111 _mesa_generate_texture_mipmap(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, bool dsa) argument 177 struct gl_texture_object *texObj; local 199 struct gl_texture_object *texObj; local [all...] |
H A D | texparam.c | 158 struct gl_texture_object *texObj; local 160 texObj = _mesa_lookup_texture(ctx, texture); 161 if (!texObj) { 169 switch (texObj->Target) { 180 return texObj; 248 incomplete(struct gl_context *ctx, struct gl_texture_object *texObj) argument 251 _mesa_dirty_texobj(ctx, texObj); 275 struct gl_texture_object *texObj, 282 if (!_mesa_target_allows_setting_sampler_parameters(texObj->Target)) 285 if (texObj 274 set_tex_parameteri(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) argument 637 set_tex_parameterf(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params, bool dsa) argument 759 _mesa_texture_parameterf(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, GLfloat param, bool dsa) argument 816 _mesa_texture_parameterfv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLfloat *params, bool dsa) argument 883 _mesa_texture_parameteri(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, GLint param, bool dsa) argument 928 _mesa_texture_parameteriv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) argument 975 _mesa_texture_parameterIiv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLint *params, bool dsa) argument 997 _mesa_texture_parameterIuiv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum pname, const GLuint *params, bool dsa) argument 1022 struct gl_texture_object *texObj; local 1035 struct gl_texture_object *texObj; local 1048 struct gl_texture_object *texObj; local 1061 struct gl_texture_object *texObj; local 1079 struct gl_texture_object *texObj; local 1097 struct gl_texture_object *texObj; local 1111 struct gl_texture_object *texObj; local 1127 struct gl_texture_object *texObj; local 1143 struct gl_texture_object *texObj; local 1160 struct gl_texture_object *texObj; local 1177 struct gl_texture_object *texObj; local 1194 struct gl_texture_object *texObj; local 1294 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) argument 1496 get_tex_level_parameter_buffer(struct gl_context *ctx, const struct gl_texture_object *texObj, GLenum pname, GLint *params, bool dsa) argument 1655 get_tex_level_parameteriv(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum pname, GLint *params, bool dsa) argument 1695 struct gl_texture_object *texObj; local 1716 struct gl_texture_object *texObj; local 1734 struct gl_texture_object *texObj; local 1756 struct gl_texture_object *texObj; local 2309 struct gl_texture_object *texObj; local 2324 struct gl_texture_object *texObj; local 2372 struct gl_texture_object *texObj; local 2390 struct gl_texture_object *texObj; local [all...] |
H A D | texstorage.c | 127 struct gl_texture_object *texObj, 131 (texObj->Target == GL_TEXTURE_CUBE_MAP || 132 texObj->Target == GL_PROXY_TEXTURE_CUBE_MAP) 133 ? GL_TEXTURE_CUBE_MAP_POSITIVE_X + face : texObj->Target; 134 return _mesa_get_tex_image(ctx, texObj, faceTarget, level); 141 struct gl_texture_object *texObj, 146 const GLenum target = texObj->Target; 155 get_tex_image(ctx, texObj, face, level); 181 struct gl_texture_object *texObj) 183 const GLenum target = texObj 126 get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) argument 140 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) argument 180 clear_texture_fields(struct gl_context *ctx, struct gl_texture_object *texObj) argument 208 update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 273 _mesa_AllocTextureStorage_sw(struct gl_context *ctx, struct gl_texture_object *texObj, GLsizei levels, GLsizei width, GLsizei height, GLsizei depth) argument 305 tex_storage_error_check(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint dims, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, bool dsa) argument 390 _mesa_texture_storage(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) argument 480 struct gl_texture_object *texObj; local 525 struct gl_texture_object *texObj; local [all...] |
H A D | texobj.h | 108 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 112 (void) texObj; 116 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 118 (void) texObj; 125 _mesa_is_texture_complete(const struct gl_texture_object *texObj, argument 133 if ((texObj->_IsIntegerFormat || 134 (texObj->StencilSampling && 135 texObj->Image[0][texObj->BaseLevel]->_BaseFormat == GL_DEPTH_STENCIL)) && 144 return texObj [all...] |
H A D | teximage.c | 327 * \param texObj texture unit. 334 _mesa_select_tex_image(const struct gl_texture_object *texObj, argument 339 assert(texObj); 343 return texObj->Image[face][level]; 353 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, argument 358 if (!texObj) 361 texImage = _mesa_select_tex_image(texObj, target, level); 369 set_tex_image(texObj, target, level, texImage); 623 _mesa_get_texture_layers(const struct gl_texture_object *texObj, GLint level) argument 627 switch (texObj 1604 struct gl_texture_object *texObj = _mesa_get_current_tex_object(ctx, target); local 2132 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, bool dsa, const char *callerName) argument 2508 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) argument 2622 struct gl_texture_object *texObj; member in struct:cb_info 2636 const struct gl_texture_object *texObj = info->texObj; local 2672 _mesa_update_fbo_texture(struct gl_context *ctx, struct gl_texture_object *texObj, GLuint face, GLuint level) argument 2694 check_gen_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, GLint level) argument 2759 _mesa_choose_texture_format(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLint level, GLenum internalFormat, GLenum format, GLenum type) argument 2885 struct gl_texture_object *texObj; local 3141 struct gl_texture_object *texObj; local 3208 _mesa_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, bool dsa) argument 3265 struct gl_texture_object *texObj; local 3315 struct gl_texture_object *texObj; local 3607 struct gl_texture_object *texObj; local 3782 _mesa_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, const char *caller) argument 3849 struct gl_texture_object* texObj; local 3877 struct gl_texture_object* texObj; local 3906 struct gl_texture_object* texObj; local 3932 struct gl_texture_object* texObj; local 3956 struct gl_texture_object* texObj; local 3983 struct gl_texture_object* texObj; local 4019 struct gl_texture_object *texObj = texImage->TexObject; local 4089 struct gl_texture_object *texObj; local 4112 get_tex_images_for_clear(struct gl_context *ctx, const char *function, struct gl_texture_object *texObj, GLint level, struct gl_texture_image **texImages) argument 4158 struct gl_texture_object *texObj; local 4233 struct gl_texture_object *texObj; local 4395 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) argument 4520 _mesa_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) argument 4557 struct gl_texture_object *texObj; local 4592 struct gl_texture_object *texObj; local 4631 struct gl_texture_object *texObj; local 4669 struct gl_texture_object *texObj; local 4707 struct gl_texture_object *texObj; local 4746 struct gl_texture_object *texObj; local 5042 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) argument 5173 struct gl_texture_object *texObj; local 5205 struct gl_texture_object *texObj; local 5249 struct gl_texture_object *texObj; local 5277 struct gl_texture_object *texObj; local 5352 texture_image_multisample(struct gl_context *ctx, GLuint dims, struct gl_texture_object *texObj, GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations, GLboolean immutable, const char *func) argument 5522 struct gl_texture_object *texObj; local 5542 struct gl_texture_object *texObj; local 5575 struct gl_texture_object *texObj; local 5597 struct gl_texture_object *texObj; local 5619 struct gl_texture_object *texObj; local 5642 struct gl_texture_object *texObj; local [all...] |
H A D | genmipmap.h | 33 struct gl_texture_object *texObj, GLenum target,
|
H A D | textureview.c | 304 struct gl_texture_object *texObj, 314 texObj->Target = target; 322 texImage = _mesa_get_tex_image(ctx, texObj, faceTarget, level); 340 texObj->Target = 0; 459 struct gl_texture_object *texObj, 465 texImage = _mesa_select_tex_image(texObj, target, 0); 484 texObj->Immutable = GL_TRUE; 485 texObj->ImmutableLevels = levels; 486 texObj->MinLevel = 0; 487 texObj 302 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) argument 458 _mesa_set_texture_view_state(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target, GLuint levels) argument 527 struct gl_texture_object *texObj; local [all...] |
H A D | texobj.c | 119 struct gl_texture_object *texObj = NULL; local 122 texObj = _mesa_lookup_texture(ctx, id); /* Returns NULL if not found. */ 124 if (!texObj) 127 return texObj; 391 * \param texObj the texture object to delete. 395 struct gl_texture_object *texObj) 402 texObj->Target = 0x99; 407 if (texObj->Image[face][i]) { 408 ctx->Driver.DeleteTextureImage(ctx, texObj->Image[face][i]); 413 _mesa_reference_buffer_object(ctx, &texObj 394 _mesa_delete_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj) argument 484 _mesa_clear_texture_object(struct gl_context *ctx, struct gl_texture_object *texObj) argument 881 _mesa_cube_level_complete(const struct gl_texture_object *texObj, const GLint level) argument 918 _mesa_cube_complete(const struct gl_texture_object *texObj) argument 931 _mesa_dirty_texobj(struct gl_context *ctx, struct gl_texture_object *texObj) argument 953 struct gl_texture_object *texObj; local 1068 texture_size(const struct gl_texture_object *texObj) argument 1094 const struct gl_texture_object *texObj = local 1130 _mesa_texture_base_format(const struct gl_texture_object *texObj) argument 1226 struct gl_texture_object *texObj; local 1309 unbind_texobj_from_fbo(struct gl_context *ctx, struct gl_texture_object *texObj) argument 1349 unbind_texobj_from_texunits(struct gl_context *ctx, struct gl_texture_object *texObj) argument 1380 unbind_texobj_from_image_units(struct gl_context *ctx, struct gl_texture_object *texObj) argument 1406 struct gl_texture_object *texObj = ctx->Shared->DefaultTex[index]; local 1505 _mesa_delete_nameless_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 1604 bind_texture(struct gl_context *ctx, unsigned unit, struct gl_texture_object *texObj) argument 1750 struct gl_texture_object *texObj; local 1841 struct gl_texture_object *texObj; local [all...] |
H A D | mipmap.h | 45 struct gl_texture_object *texObj, 50 struct gl_texture_object *texObj);
|
H A D | texgetimage.c | 888 select_tex_image(const struct gl_texture_object *texObj, GLenum target, argument 898 return _mesa_select_tex_image(texObj, target, level); 910 struct gl_texture_object *texObj, 989 if (!_mesa_select_tex_image(texObj, face, level)) { 1001 texImage = select_tex_image(texObj, target, level, zoffset); 1144 struct gl_texture_object *texObj, 1155 assert(texObj); 1157 if (texObj->Target == 0) { 1174 if (dimensions_error_check(ctx, texObj, target, level, 1185 texImage = select_tex_image(texObj, targe 909 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) argument 1143 getteximage_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) argument 1254 get_texture_image_dims(const struct gl_texture_object *texObj, GLenum target, GLint level, GLsizei *width, GLsizei *height, GLsizei *depth) argument 1292 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) argument 1363 struct gl_texture_object *texObj; local 1394 struct gl_texture_object *texObj; local 1425 struct gl_texture_object *texObj = local 1461 struct gl_texture_object *texObj = local 1511 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) argument 1605 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) argument 1677 struct gl_texture_object *texObj; local 1707 struct gl_texture_object *texObj; local 1739 struct gl_texture_object *texObj = local 1770 struct gl_texture_object *texObj; 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 | textureview.h | 53 struct gl_texture_object *texObj,
|
/external/mesa3d/src/mesa/state_tracker/ |
H A D | st_gen_mipmap.c | 55 struct gl_texture_object *texObj, 61 baseImage = _mesa_get_tex_image(ctx, texObj, target, texObj->BaseLevel); 63 numLevels = texObj->BaseLevel + baseImage->MaxNumLevels; 64 numLevels = MIN2(numLevels, (GLuint) texObj->MaxLevel + 1); 65 if (texObj->Immutable) 66 numLevels = MIN2(numLevels, texObj->NumLevels); 78 struct gl_texture_object *texObj) 81 struct st_texture_object *stObj = st_texture_object(texObj); 82 struct pipe_resource *pt = st_get_texobj_resource(texObj); 54 compute_num_levels(struct gl_context *ctx, struct gl_texture_object *texObj, GLenum target) argument 77 st_generate_mipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj) argument [all...] |
H A D | st_gen_mipmap.h | 41 struct gl_texture_object *texObj);
|
H A D | st_cb_eglimage.c | 97 struct gl_texture_object *texObj, 113 stObj = st_texture_object(texObj); 118 _mesa_clear_texture_object(ctx, texObj); 131 texObj->RequiredTextureImageUnits = 2; 135 texObj->RequiredTextureImageUnits = 3; 153 _mesa_dirty_texobj(ctx, texObj); 158 struct gl_texture_object *texObj, 167 st_bind_surface(ctx, target, texObj, texImage, ps); 96 st_bind_surface(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *texImage, struct pipe_surface *ps) argument 157 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) argument
|
H A D | st_texture.h | 153 st_get_texobj_resource(struct gl_texture_object *texObj) argument 155 struct st_texture_object *stObj = st_texture_object(texObj); 173 struct gl_texture_object *texObj = ctx->Texture.Unit[texUnit]._Current; local 175 if (!texObj) 178 return st_texture_object(texObj);
|
/external/mesa3d/src/mesa/drivers/common/ |
H A D | meta_generate_mipmap.c | 59 struct gl_texture_object *texObj) 74 srcLevel = texObj->BaseLevel; 75 baseImage = _mesa_select_tex_image(texObj, target, srcLevel); 148 struct gl_texture_object *texObj) 152 const GLuint baseLevel = texObj->BaseLevel; 153 const GLuint maxLevel = texObj->MaxLevel; 154 const GLint maxLevelSave = texObj->MaxLevel; 155 const GLboolean genMipmapSave = texObj->GenerateMipmap; 170 if (fallback_required(ctx, target, texObj)) { 171 _mesa_generate_mipmap(ctx, target, texObj); 58 fallback_required(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj) argument 147 _mesa_meta_GenerateMipmap(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | radeon_mipmap_tree.c | 311 static GLboolean radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) argument 317 if (texObj->BaseLevel < mt->baseLevel) 320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; 321 firstImage = texObj->Image[0][texObj->BaseLevel]; 322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); 325 fprintf(stderr, "Checking if miptree %p matches texObj %p\n", mt, texObj); 326 fprintf(stderr, "target %d vs %d\n", mt->target, texObj 359 struct gl_texture_object *texObj = &t->base; local 446 get_biggest_matching_miptree(radeonTexObj *texObj, unsigned firstLevel, unsigned lastLevel) argument 508 radeon_validate_texture_miptree(struct gl_context * ctx, struct gl_sampler_object *samp, struct gl_texture_object *texObj) argument 572 get_base_teximage_offset(radeonTexObj *texObj) argument [all...] |
H A D | radeon_texture.h | 51 struct gl_texture_object *texObj); 75 struct gl_texture_object *texObj,
|
H A D | r200_fragshader.c | 365 struct gl_texture_object *texObj = ctx->Texture.Unit[reg]._Current; local 390 else if (texObj && texObj->Target == GL_TEXTURE_3D) { 393 else if (texObj && texObj->Target == GL_TEXTURE_CUBE_MAP) { 406 if (texObj) 414 struct gl_texture_object *texObj = ctx->Texture.Unit[reg]._Current; local 431 else if (texObj && texObj->Target == GL_TEXTURE_3D) { 434 else if (texObj 452 struct gl_texture_object *texObj = ctx->Texture.Unit[reg]._Current; local [all...] |
H A D | radeon_texture.c | 51 struct gl_texture_object *texObj, 55 struct gl_texture_object *texObj, 491 struct gl_texture_object *texObj, 494 radeonTexObj *t = radeon_tex_obj(texObj); 501 texObj, 505 "%s: texObj %p, texImage %p, " 506 "texObj miptree doesn't match, allocated new miptree %p\n", 507 __func__, texObj, texImage, t->mt); 536 struct gl_texture_object *texObj, 541 radeonTexObj *t = radeon_tex_obj(texObj); 490 teximage_assign_miptree(radeonContextPtr rmesa, struct gl_texture_object *texObj, struct gl_texture_image *texImage) argument 535 radeon_image_target_texture_2d(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLeglImageOES image_handle) argument 645 radeon_miptree_create_for_teximage(radeonContextPtr rmesa, struct gl_texture_object *texObj, struct gl_texture_image *texImage) argument [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_mipmap_tree.c | 311 static GLboolean radeon_miptree_matches_texture(radeon_mipmap_tree *mt, struct gl_texture_object *texObj) argument 317 if (texObj->BaseLevel < mt->baseLevel) 320 mtBaseLevel = &mt->levels[texObj->BaseLevel - mt->baseLevel]; 321 firstImage = texObj->Image[0][texObj->BaseLevel]; 322 numLevels = MIN2(texObj->_MaxLevel - texObj->BaseLevel + 1, firstImage->MaxNumLevels); 325 fprintf(stderr, "Checking if miptree %p matches texObj %p\n", mt, texObj); 326 fprintf(stderr, "target %d vs %d\n", mt->target, texObj 359 struct gl_texture_object *texObj = &t->base; local 446 get_biggest_matching_miptree(radeonTexObj *texObj, unsigned firstLevel, unsigned lastLevel) argument 508 radeon_validate_texture_miptree(struct gl_context * ctx, struct gl_sampler_object *samp, struct gl_texture_object *texObj) argument 572 get_base_teximage_offset(radeonTexObj *texObj) argument [all...] |
H A D | radeon_texture.h | 51 struct gl_texture_object *texObj); 75 struct gl_texture_object *texObj,
|
H A D | radeon_texture.c | 51 struct gl_texture_object *texObj, 55 struct gl_texture_object *texObj, 491 struct gl_texture_object *texObj, 494 radeonTexObj *t = radeon_tex_obj(texObj); 501 texObj, 505 "%s: texObj %p, texImage %p, " 506 "texObj miptree doesn't match, allocated new miptree %p\n", 507 __func__, texObj, texImage, t->mt); 536 struct gl_texture_object *texObj, 541 radeonTexObj *t = radeon_tex_obj(texObj); 490 teximage_assign_miptree(radeonContextPtr rmesa, struct gl_texture_object *texObj, struct gl_texture_image *texImage) argument 535 radeon_image_target_texture_2d(struct gl_context *ctx, GLenum target, struct gl_texture_object *texObj, struct gl_texture_image *texImage, GLeglImageOES image_handle) argument 645 radeon_miptree_create_for_teximage(radeonContextPtr rmesa, struct gl_texture_object *texObj, struct gl_texture_image *texImage) argument [all...] |
/external/mesa3d/src/mesa/swrast/ |
H A D | s_texture.c | 263 _swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 265 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 269 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 270 struct gl_texture_image *texImage = texObj->Image[face][level]; 323 _swrast_unmap_texture(struct gl_context *ctx, struct gl_texture_object *texObj) argument 325 const GLuint faces = _mesa_num_tex_faces(texObj->Target); 329 for (level = texObj->BaseLevel; level < MAX_TEXTURE_LEVELS; level++) { 330 struct gl_texture_image *texImage = texObj->Image[face][level]; 365 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; local 367 if (texObj) 381 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; local [all...] |