/external/mesa3d/src/mesa/main/ |
texobj.c | 2 * \file texobj.c 42 #include "texobj.h" 195 * \param texObj the texture object to delete. 199 struct gl_texture_object *texObj) 206 texObj->Target = 0x99; 211 if (texObj->Image[face][i]) { 212 ctx->Driver.DeleteTextureImage(ctx, texObj->Image[face][i]); 217 _mesa_reference_buffer_object(ctx, &texObj->BufferObject, NULL); 220 _glthread_DESTROY_MUTEX(texObj->Mutex); 223 free(texObj); [all...] |
mipmap.h | 46 struct gl_texture_object *texObj, GLuint level, 52 struct gl_texture_object *texObj);
|
teximage.c | 47 #include "texobj.h" 789 * \param texObj texture unit. 797 const struct gl_texture_object *texObj, 802 ASSERT(texObj); 806 return texObj->Image[face][level]; 816 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, 821 if (!texObj) 824 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 832 set_tex_image(texObj, target, level, texImage); [all...] |
texgetimage.c | 701 struct gl_texture_object *texObj; 724 texObj = _mesa_get_current_tex_object(ctx, target); 726 if (!texObj) { 731 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 811 struct gl_texture_object *texObj; 826 texObj = _mesa_get_current_tex_object(ctx, target); 827 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 835 texObj->Name, 841 _mesa_lock_texture(ctx, texObj); 845 _mesa_unlock_texture(ctx, texObj); [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_texture.c | 38 #include "main/texobj.h" 195 struct gl_texture_object *texObj; 202 texObj = ctx->Texture.Unit[texUnit]._Current; 204 if (!texObj) { 205 texObj = _mesa_get_fallback_texture(ctx, TEXTURE_2D_INDEX); 206 samp = &texObj->Sampler; 208 stObj = st_texture_object(texObj); 210 retval = st_finalize_texture(ctx, st->pipe, texObj); 402 struct gl_texture_object *texObj 405 if (texObj) { [all...] |
st_gen_mipmap.h | 49 struct gl_texture_object *texObj);
|
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_texture.c | 38 #include "main/texobj.h" 195 struct gl_texture_object *texObj; 202 texObj = ctx->Texture.Unit[texUnit]._Current; 204 if (!texObj) { 205 texObj = _mesa_get_fallback_texture(ctx, TEXTURE_2D_INDEX); 206 samp = &texObj->Sampler; 208 stObj = st_texture_object(texObj); 210 retval = st_finalize_texture(ctx, st->pipe, texObj); 402 struct gl_texture_object *texObj 405 if (texObj) { [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
mipmap.h | 46 struct gl_texture_object *texObj, GLuint level, 52 struct gl_texture_object *texObj);
|
teximage.c | 47 #include "texobj.h" 789 * \param texObj texture unit. 797 const struct gl_texture_object *texObj, 802 ASSERT(texObj); 806 return texObj->Image[face][level]; 816 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, 821 if (!texObj) 824 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 832 set_tex_image(texObj, target, level, texImage); [all...] |
texgetimage.c | 701 struct gl_texture_object *texObj; 724 texObj = _mesa_get_current_tex_object(ctx, target); 726 if (!texObj) { 731 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 811 struct gl_texture_object *texObj; 826 texObj = _mesa_get_current_tex_object(ctx, target); 827 texImage = _mesa_select_tex_image(ctx, texObj, target, level); 835 texObj->Name, 841 _mesa_lock_texture(ctx, texObj); 845 _mesa_unlock_texture(ctx, texObj); [all...] |
texstate.c | 39 #include "texobj.h" 406 const struct gl_texture_object *texObj = texUnit->_Current; 407 GLenum format = texObj->Image[0][texObj->BaseLevel]->_BaseFormat; 410 format = texObj->DepthMode; 575 struct gl_texture_object *texObj = texUnit->CurrentTex[texIndex]; 577 texUnit->Sampler : &texObj->Sampler; 579 if (!_mesa_is_texture_complete(texObj, sampler)) { 580 _mesa_test_texobj_completeness(ctx, texObj); 582 if (_mesa_is_texture_complete(texObj, sampler)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_span.c | 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 160 intel_tex_unmap_images(intel, intel_texture_object(texObj)); 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 192 intel_tex_map_images(intel, intel_texture_object(texObj), 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 212 intel_tex_unmap_images(intel, intel_texture_object(texObj));
|
intel_tex_image.c | 14 #include "main/texobj.h" 245 struct gl_texture_object *texobj = image->TexObject; local 246 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); 277 struct gl_texture_object *texObj; 282 texObj = _mesa_get_current_tex_object(ctx, target); 283 intelObj = intel_texture_object(texObj); 313 _mesa_lock_texture(&intel->ctx, texObj); 314 texImage = _mesa_get_tex_image(ctx, texObj, target, level); 317 _mesa_unlock_texture(&intel->ctx, texObj); 332 struct gl_texture_object *texObj, [all...] |
/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_span.c | 159 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 160 intel_tex_unmap_images(intel, intel_texture_object(texObj)); 190 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 192 intel_tex_map_images(intel, intel_texture_object(texObj), 210 struct gl_texture_object *texObj = ctx->Texture.Unit[i]._Current; 212 intel_tex_unmap_images(intel, intel_texture_object(texObj));
|
intel_tex_image.c | 14 #include "main/texobj.h" 245 struct gl_texture_object *texobj = image->TexObject; local 246 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); 277 struct gl_texture_object *texObj; 282 texObj = _mesa_get_current_tex_object(ctx, target); 283 intelObj = intel_texture_object(texObj); 313 _mesa_lock_texture(&intel->ctx, texObj); 314 texImage = _mesa_get_tex_image(ctx, texObj, target, level); 317 _mesa_unlock_texture(&intel->ctx, texObj); 332 struct gl_texture_object *texObj, [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 43 #include "main/texobj.h" 333 struct gl_texture_object *texObj, 336 radeonTexObj* t = radeon_tex_obj(texObj); 355 struct gl_texture_object *texObj ) 358 radeonTexObj* t = radeon_tex_obj(texObj); 362 "%s( %p (target = %s) )\n", __FUNCTION__, (void *)texObj, 363 _mesa_lookup_enum_by_nr( texObj->Target ) ); 368 if ( t == rmesa->state.texture.unit[i].texobj ) { 369 rmesa->state.texture.unit[i].texobj = NULL; 379 _mesa_delete_texture_object(ctx, texObj); [all...] |
radeon_texstate.c | 43 #include "main/texobj.h" 609 struct gl_texture_object *texObj; 623 texObj = _mesa_select_tex_object(radeon->glCtx, texUnit, target); 624 texImage = _mesa_get_tex_image(radeon->glCtx, texObj, target, 0); 627 t = radeon_tex_obj(texObj); 639 _mesa_lock_texture(radeon->glCtx, texObj); 709 _mesa_unlock_texture(radeon->glCtx, texObj); 783 radeonTexObjPtr texobj ) 792 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; 794 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK [all...] |
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
radeon_tex.c | 43 #include "main/texobj.h" 333 struct gl_texture_object *texObj, 336 radeonTexObj* t = radeon_tex_obj(texObj); 355 struct gl_texture_object *texObj ) 358 radeonTexObj* t = radeon_tex_obj(texObj); 362 "%s( %p (target = %s) )\n", __FUNCTION__, (void *)texObj, 363 _mesa_lookup_enum_by_nr( texObj->Target ) ); 368 if ( t == rmesa->state.texture.unit[i].texobj ) { 369 rmesa->state.texture.unit[i].texobj = NULL; 379 _mesa_delete_texture_object(ctx, texObj); [all...] |
radeon_texstate.c | 43 #include "main/texobj.h" 609 struct gl_texture_object *texObj; 623 texObj = _mesa_select_tex_object(radeon->glCtx, texUnit, target); 624 texImage = _mesa_get_tex_image(radeon->glCtx, texObj, target, 0); 627 t = radeon_tex_obj(texObj); 639 _mesa_lock_texture(radeon->glCtx, texObj); 709 _mesa_unlock_texture(radeon->glCtx, texObj); 783 radeonTexObjPtr texobj ) 792 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; 794 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_wm_sampler_state.c | 88 struct gl_texture_object *texObj = texUnit->_Current; 89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel]; 167 struct gl_texture_object *texObj = texUnit->_Current; 172 if (texObj->Target == GL_TEXTURE_BUFFER) 244 if (texObj->Target == GL_TEXTURE_CUBE_MAP) { 256 } else if (texObj->Target == GL_TEXTURE_1D) { 300 if (intel->gen >= 6 && texObj->Target == GL_TEXTURE_RECTANGLE) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 84 if (texObj) { 94 swizzle_texel(rgba, color, texObj->_Swizzle); 116 const struct gl_texture_object *texObj = texUnit->_Current; 118 if (texObj) { 120 texObj->Image[0][texObj->BaseLevel]; 143 swizzle_texel(rgba, color, texObj->_Swizzle);
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_wm_sampler_state.c | 88 struct gl_texture_object *texObj = texUnit->_Current; 89 struct gl_texture_image *firstImage = texObj->Image[0][texObj->BaseLevel]; 167 struct gl_texture_object *texObj = texUnit->_Current; 172 if (texObj->Target == GL_TEXTURE_BUFFER) 244 if (texObj->Target == GL_TEXTURE_CUBE_MAP) { 256 } else if (texObj->Target == GL_TEXTURE_1D) { 300 if (intel->gen >= 6 && texObj->Target == GL_TEXTURE_RECTANGLE) {
|
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 84 if (texObj) { 94 swizzle_texel(rgba, color, texObj->_Swizzle); 116 const struct gl_texture_object *texObj = texUnit->_Current; 118 if (texObj) { 120 texObj->Image[0][texObj->BaseLevel]; 143 swizzle_texel(rgba, color, texObj->_Swizzle);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
r200_tex.c | 43 #include "main/texobj.h" 380 struct gl_texture_object *texObj, 383 radeonTexObj* t = radeon_tex_obj(texObj); 387 __FUNCTION__, ctx, texObj, 412 static void r200DeleteTexture(struct gl_context * ctx, struct gl_texture_object *texObj) 415 radeonTexObj* t = radeon_tex_obj(texObj); 419 (void *)texObj, 420 _mesa_lookup_enum_by_nr(texObj->Target)); 426 if ( t == rmesa->state.texture.unit[i].texobj ) { 427 rmesa->state.texture.unit[i].texobj = NULL [all...] |
/external/mesa3d/src/mesa/drivers/dri/r200/ |
r200_tex.c | 43 #include "main/texobj.h" 380 struct gl_texture_object *texObj, 383 radeonTexObj* t = radeon_tex_obj(texObj); 387 __FUNCTION__, ctx, texObj, 412 static void r200DeleteTexture(struct gl_context * ctx, struct gl_texture_object *texObj) 415 radeonTexObj* t = radeon_tex_obj(texObj); 419 (void *)texObj, 420 _mesa_lookup_enum_by_nr(texObj->Target)); 426 if ( t == rmesa->state.texture.unit[i].texobj ) { 427 rmesa->state.texture.unit[i].texobj = NULL [all...] |