/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...] |
teximage.h | 91 struct gl_texture_object *texObj, 97 struct gl_texture_object *texObj, 116 const struct gl_texture_object *texObj, 121 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, 157 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 161 (void) texObj; 165 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 167 (void) texObj;
|
debug.c | 37 #include "texobj.h" 276 write_texture_image(struct gl_texture_object *texObj, 279 struct gl_texture_image *img = texObj->Image[face][level]; 295 _mesa_snprintf(s, sizeof(s), "/tmp/tex%u.l%u.f%u.ppm", texObj->Name, level, face); 363 dump_texture(struct gl_texture_object *texObj, GLuint writeImages) 365 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; 369 printf("Texture %u\n", texObj->Name); 370 printf(" Target %s\n", tex_target_name(texObj->Target)); 373 struct gl_texture_image *texImg = texObj->Image[j][i]; 381 write_texture_image(texObj, j, i) [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...] |
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...] |
/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/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/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/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/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) {
|
gen7_sampler_state.c | 42 struct gl_texture_object *texObj = texUnit->_Current; 47 if (texObj->Target == GL_TEXTURE_BUFFER) 114 if (texObj->Target == GL_TEXTURE_CUBE_MAP) { 126 } else if (texObj->Target == GL_TEXTURE_1D) { 167 if (texObj->Target == GL_TEXTURE_RECTANGLE) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
teximage.h | 91 struct gl_texture_object *texObj, 97 struct gl_texture_object *texObj, 116 const struct gl_texture_object *texObj, 121 _mesa_get_tex_image(struct gl_context *ctx, struct gl_texture_object *texObj, 157 _mesa_lock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 161 (void) texObj; 165 _mesa_unlock_texture(struct gl_context *ctx, struct gl_texture_object *texObj) 167 (void) texObj;
|
debug.c | 37 #include "texobj.h" 276 write_texture_image(struct gl_texture_object *texObj, 279 struct gl_texture_image *img = texObj->Image[face][level]; 295 _mesa_snprintf(s, sizeof(s), "/tmp/tex%u.l%u.f%u.ppm", texObj->Name, level, face); 363 dump_texture(struct gl_texture_object *texObj, GLuint writeImages) 365 const GLuint numFaces = texObj->Target == GL_TEXTURE_CUBE_MAP ? 6 : 1; 369 printf("Texture %u\n", texObj->Name); 370 printf(" Target %s\n", tex_target_name(texObj->Target)); 373 struct gl_texture_image *texImg = texObj->Image[j][i]; 381 write_texture_image(texObj, j, i) [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...] |
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...] |
/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) {
|
gen7_sampler_state.c | 42 struct gl_texture_object *texObj = texUnit->_Current; 47 if (texObj->Target == GL_TEXTURE_BUFFER) 114 if (texObj->Target == GL_TEXTURE_CUBE_MAP) { 126 } else if (texObj->Target == GL_TEXTURE_1D) { 167 if (texObj->Target == GL_TEXTURE_RECTANGLE) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex.c | 3 #include "main/texobj.h" 44 struct gl_texture_object *texObj) 46 struct intel_texture_object *intelObj = intel_texture_object(texObj); 49 _mesa_delete_texture_object(ctx, texObj); 58 struct gl_texture_object *texobj = image->TexObject; local 59 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); 71 switch (texobj->Target) { 91 __FUNCTION__, texobj, image->Level, 106 __FUNCTION__, texobj, image->Level, 119 struct gl_texture_object *texObj, [all...] |
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_tex.c | 3 #include "main/texobj.h" 44 struct gl_texture_object *texObj) 46 struct intel_texture_object *intelObj = intel_texture_object(texObj); 49 _mesa_delete_texture_object(ctx, texObj); 58 struct gl_texture_object *texobj = image->TexObject; local 59 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); 71 switch (texobj->Target) { 91 __FUNCTION__, texobj, image->Level, 106 __FUNCTION__, texobj, image->Level, 119 struct gl_texture_object *texObj, [all...] |
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...] |
/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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/common/ |
meta.h | 108 struct gl_texture_object *texObj); 112 struct gl_texture_object *texObj);
|
/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...] |