Searched refs:tex_obj (Results 1 - 25 of 27) sorted by relevance

12

/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i965/
H A Dbrw_generate_mipmap.c39 struct gl_texture_object *tex_obj)
43 struct intel_texture_object *intel_obj = intel_texture_object(tex_obj);
44 const unsigned base_level = tex_obj->BaseLevel;
49 (tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_COMPONENT ||
50 tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_STENCIL)) {
51 _mesa_meta_GenerateMipmap(ctx, target, tex_obj);
56 last_level = _mesa_compute_num_levels(ctx, tex_obj, target) - 1;
66 if (!tex_obj->Immutable) {
67 _mesa_prepare_mipmap_levels(ctx, tex_obj, base_level, last_level);
77 intel_finalize_mipmap_tree(brw, tex_obj);
38 brw_generate_mipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * tex_obj) argument
[all...]
H A Dbrw_draw.c468 struct intel_texture_object *tex_obj; local in function:brw_predraw_resolve_inputs
495 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current);
496 if (!tex_obj || !tex_obj->mt)
499 astc5x5_wa_bits |= gen9_astc5x5_wa_bits(tex_obj->_Format,
500 tex_obj->mt->aux_usage);
509 tex_obj = intel_texture_object(ctx->Texture.Unit[i]._Current);
510 if (!tex_obj || !tex_obj->mt)
515 translate_tex_format(brw, tex_obj
[all...]
H A Dintel_tex.h56 struct gl_texture_object *tex_obj);
H A Dintel_tex_validate.c206 struct gl_texture_object *tex_obj = ctx->Texture.Unit[unit]._Current; local in function:brw_validate_textures
208 if (!tex_obj)
216 assert(tex_obj->_BaseComplete);
218 intel_update_max_level(tex_obj, sampler);
219 intel_finalize_mipmap_tree(brw, tex_obj);
H A Dintel_tex_image.c505 struct gl_texture_object *tex_obj; local in function:intelReleaseTexBuffer
508 tex_obj = _mesa_get_current_tex_object(ctx, target);
509 if (!tex_obj)
512 _mesa_lock_texture(&brw->ctx, tex_obj);
514 intel_tex = intel_texture_object(tex_obj);
516 _mesa_unlock_texture(&brw->ctx, tex_obj);
557 _mesa_unlock_texture(&brw->ctx, tex_obj);
H A Dbrw_context.h1544 struct gl_texture_object *tex_obj);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i965/
H A Dbrw_generate_mipmap.c39 struct gl_texture_object *tex_obj)
43 struct brw_texture_object *intel_obj = brw_texture_object(tex_obj);
44 const unsigned base_level = tex_obj->Attrib.BaseLevel;
49 (tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_COMPONENT ||
50 tex_obj->Image[0][base_level]->_BaseFormat == GL_DEPTH_STENCIL)) {
51 _mesa_meta_GenerateMipmap(ctx, target, tex_obj);
56 last_level = _mesa_compute_num_levels(ctx, tex_obj, target) - 1;
66 if (!tex_obj->Immutable) {
67 _mesa_prepare_mipmap_levels(ctx, tex_obj, base_level, last_level);
77 brw_finalize_mipmap_tree(brw, tex_obj);
38 brw_generate_mipmap(struct gl_context * ctx,GLenum target,struct gl_texture_object * tex_obj) argument
[all...]
H A Dbrw_tex.h56 struct gl_texture_object *tex_obj);
H A Dbrw_tex_validate.c208 struct gl_texture_object *tex_obj = ctx->Texture.Unit[unit]._Current; local in function:brw_validate_textures
210 if (!tex_obj)
218 assert(tex_obj->_BaseComplete);
220 brw_update_max_level(tex_obj, sampler);
221 brw_finalize_mipmap_tree(brw, tex_obj);
H A Dbrw_draw.c497 struct brw_texture_object *tex_obj; local in function:brw_predraw_resolve_inputs
524 tex_obj = brw_texture_object(ctx->Texture.Unit[i]._Current);
525 if (!tex_obj || !tex_obj->mt)
528 astc5x5_wa_bits |= gfx9_astc5x5_wa_bits(tex_obj->_Format,
529 tex_obj->mt->aux_usage);
538 tex_obj = brw_texture_object(ctx->Texture.Unit[i]._Current);
539 if (!tex_obj || !tex_obj->mt)
544 translate_tex_format(brw, tex_obj
[all...]
H A Dbrw_tex.c344 struct gl_texture_object *tex_obj,
352 struct brw_texture_object *intel_texobj = brw_texture_object(tex_obj);
353 struct gl_texture_image *image = tex_obj->Image[0][0];
361 if (tex_obj->TextureTiling == GL_LINEAR_TILING_EXT)
366 .dim = get_isl_surf_dim(tex_obj->Target),
372 .array_len = tex_obj->Target == GL_TEXTURE_3D ? 1 : depth,
343 intel_texture_for_memory_object(struct gl_context * ctx,struct gl_texture_object * tex_obj,struct gl_memory_object * mem_obj,GLsizei levels,GLsizei width,GLsizei height,GLsizei depth,GLuint64 offset) argument
H A Dbrw_tex_image.c506 struct gl_texture_object *tex_obj; local in function:brw_release_texbuffer
509 tex_obj = _mesa_get_current_tex_object(ctx, target);
510 if (!tex_obj)
513 _mesa_lock_texture(&brw->ctx, tex_obj);
515 intel_tex = brw_texture_object(tex_obj);
517 _mesa_unlock_texture(&brw->ctx, tex_obj);
558 _mesa_unlock_texture(&brw->ctx, tex_obj);
H A Dbrw_context.h1515 struct gl_texture_object *tex_obj);
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/common/
H A Dmeta_blit.c158 texObj = meta_temp_texture->tex_obj;
178 fb_tex_blit.tex_obj = texObj;
516 if (blit->depthTex.tex_obj != NULL) {
517 _mesa_delete_nameless_texture(ctx, blit->depthTex.tex_obj);
518 blit->depthTex.tex_obj = NULL;
H A Dmeta.h202 struct gl_texture_object *tex_obj; member in struct:temp_texture
255 struct gl_texture_object *tex_obj; member in struct:fb_tex_blit_state
H A Dmeta.c1261 tex->tex_obj = ctx->Driver.NewTextureObject(ctx, 0xDEADBEEF, tex->Target);
1267 _mesa_delete_nameless_texture(ctx, tex->tex_obj);
1268 tex->tex_obj = NULL;
1281 if (tex->tex_obj == NULL) {
1299 if (tex->tex_obj == NULL) {
1315 if (tex->tex_obj == NULL) {
1394 _mesa_bind_texture(ctx, tex->Target, tex->tex_obj);
1395 _mesa_texture_parameteriv(ctx, tex->tex_obj, GL_TEXTURE_MIN_FILTER,
1397 _mesa_texture_parameteriv(ctx, tex->tex_obj, GL_TEXTURE_MAG_FILTER,
1445 _mesa_bind_texture(ctx, tex->Target, tex->tex_obj);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/common/
H A Dmeta_blit.c677 texObj = meta_temp_texture->tex_obj;
697 fb_tex_blit.tex_obj = texObj;
1049 if (blit->depthTex.tex_obj != NULL) {
1050 _mesa_delete_nameless_texture(ctx, blit->depthTex.tex_obj);
1051 blit->depthTex.tex_obj = NULL;
H A Dmeta.h203 struct gl_texture_object *tex_obj; member in struct:temp_texture
315 struct gl_texture_object *tex_obj; member in struct:fb_tex_blit_state
H A Dmeta.c1257 tex->tex_obj = ctx->Driver.NewTextureObject(ctx, 0xDEADBEEF, tex->Target);
1263 _mesa_delete_nameless_texture(ctx, tex->tex_obj);
1264 tex->tex_obj = NULL;
1277 if (tex->tex_obj == NULL) {
1295 if (tex->tex_obj == NULL) {
1311 if (tex->tex_obj == NULL) {
1390 _mesa_bind_texture(ctx, tex->Target, tex->tex_obj);
1391 _mesa_texture_parameteriv(ctx, tex->tex_obj, GL_TEXTURE_MIN_FILTER,
1393 _mesa_texture_parameteriv(ctx, tex->tex_obj, GL_TEXTURE_MAG_FILTER,
1441 _mesa_bind_texture(ctx, tex->Target, tex->tex_obj);
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
H A Dtexobj.h178 struct gl_texture_object *tex_obj);
H A Dtexobj.c1716 struct gl_texture_object *tex_obj)
1722 if (tex_obj->Target == 0)
1723 finish_texture_init(ctx, target, tex_obj, targetIndex);
1725 assert(tex_obj->Target == target);
1726 assert(tex_obj->TargetIndex == targetIndex);
1728 bind_texture_object(ctx, ctx->Texture.CurrentUnit, tex_obj);
1715 _mesa_bind_texture(struct gl_context * ctx,GLenum target,struct gl_texture_object * tex_obj) argument
H A Dformatquery.c1457 * tex_obj->ImageFormatCompatibilityType. We create a fake tex_obj
1460 struct gl_texture_object *tex_obj = _mesa_new_texture_object(ctx, 0, target); local in function:_mesa_GetInternalformativ
1461 buffer[0] = tex_obj->ImageFormatCompatibilityType;
1462 _mesa_delete_texture_object(ctx, tex_obj);
/xsrc/external/mit/MesaLib/dist/src/mesa/main/
H A Dtexobj.h214 struct gl_texture_object *tex_obj);
H A Dtexobj.c1682 struct gl_texture_object *tex_obj)
1688 if (tex_obj->Target == 0)
1689 finish_texture_init(ctx, target, tex_obj, targetIndex);
1691 assert(tex_obj->Target == target);
1692 assert(tex_obj->TargetIndex == targetIndex);
1694 bind_texture_object(ctx, ctx->Texture.CurrentUnit, tex_obj);
1681 _mesa_bind_texture(struct gl_context * ctx,GLenum target,struct gl_texture_object * tex_obj) argument
H A Dformatquery.c1467 * tex_obj->ImageFormatCompatibilityType. We create a fake tex_obj
1470 struct gl_texture_object *tex_obj = _mesa_new_texture_object(ctx, 0, target); local in function:_mesa_GetInternalformativ
1471 buffer[0] = tex_obj->Attrib.ImageFormatCompatibilityType;
1472 _mesa_delete_texture_object(ctx, tex_obj);

Completed in 95 milliseconds

12