Home
last modified time | relevance | path

Searched refs:texobj (Results 1 – 20 of 20) sorted by relevance

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c134 const struct gl_texture_object *texobj; in convert_sampler() local
139 texobj = ctx->Texture.Unit[texUnit]._Current; in convert_sampler()
140 if (!texobj) { in convert_sampler()
141 texobj = _mesa_get_fallback_texture(ctx, TEXTURE_2D_INDEX); in convert_sampler()
142 msamp = &texobj->Sampler; in convert_sampler()
147 texBaseFormat = _mesa_texture_base_format(texobj); in convert_sampler()
158 if (texobj->Target != GL_TEXTURE_RECTANGLE_ARB) in convert_sampler()
186 const struct st_texture_object *stobj = st_texture_object_const(texobj); in convert_sampler()
187 const GLboolean is_integer = texobj->_IsIntegerFormat; in convert_sampler()
229 (texBaseFormat == GL_DEPTH_STENCIL && !texobj->StencilSampling)) && in convert_sampler()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c67 struct gl_texture_object *texobj = image->TexObject; in intel_alloc_texture_image_buffer() local
68 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_alloc_texture_image_buffer()
92 __func__, texobj, image->Level, in intel_alloc_texture_image_buffer()
107 __func__, texobj, image->Level, in intel_alloc_texture_image_buffer()
124 struct gl_texture_object *texobj, in intel_alloc_texture_storage() argument
129 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_alloc_texture_storage()
130 struct gl_texture_image *first_image = texobj->Image[0][0]; in intel_alloc_texture_storage()
133 const int numFaces = _mesa_num_tex_faces(texobj->Target); in intel_alloc_texture_storage()
146 intel_texobj->mt = intel_miptree_create(brw, texobj->Target, in intel_alloc_texture_storage()
160 struct gl_texture_image *image = texobj->Image[face][level]; in intel_alloc_texture_storage()
Dintel_tex_image.c184 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_mt() local
185 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_set_texture_image_mt()
363 struct gl_texture_object *texobj = image->TexObject; in intel_bind_renderbuffer_tex_image() local
364 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_bind_renderbuffer_tex_image()
374 _mesa_lock_texture(ctx, texobj); in intel_bind_renderbuffer_tex_image()
386 _mesa_unlock_texture(ctx, texobj); in intel_bind_renderbuffer_tex_image()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c65 struct gl_texture_object *texobj = image->TexObject; in intel_alloc_texture_image_buffer() local
66 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_alloc_texture_image_buffer()
83 __func__, texobj, image->Level, in intel_alloc_texture_image_buffer()
98 __func__, texobj, image->Level, in intel_alloc_texture_image_buffer()
Dintel_tex_image.c231 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_region() local
232 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_set_texture_image_region()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_texstate.c714 radeonTexObjPtr texobj ) in import_tex_obj_state() argument
723 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; in import_tex_obj_state()
725 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK; in import_tex_obj_state()
726 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color; in import_tex_obj_state()
728 if (texobj->pp_txformat & RADEON_TXFORMAT_NON_POWER2) { in import_tex_obj_state()
730 txr_cmd[TXR_PP_TEX_SIZE] = texobj->pp_txsize; /* NPOT only! */ in import_tex_obj_state()
731 txr_cmd[TXR_PP_TEX_PITCH] = texobj->pp_txpitch; /* NPOT only! */ in import_tex_obj_state()
735 if (texobj->base.Target == GL_TEXTURE_RECTANGLE_NV) { in import_tex_obj_state()
741 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) { in import_tex_obj_state()
745 cube_cmd[CUBE_PP_CUBIC_FACES] = texobj->pp_cubic_faces; in import_tex_obj_state()
[all …]
Dradeon_tex.c365 if ( t == rmesa->state.texture.unit[i].texobj ) { in radeonDeleteTexture()
366 rmesa->state.texture.unit[i].texobj = NULL; in radeonDeleteTexture()
Dradeon_texture.c108 struct gl_texture_object *texobj = timage->TexObject; in radeonAllocTextureImageBuffer() local
115 teximage_assign_miptree(rmesa, texobj, timage); in radeonAllocTextureImageBuffer()
Dradeon_context.h73 radeonTexObjPtr texobj; member
Dradeon_state_init.c424 radeonTexObj *t = r100->state.texture.unit[i].texobj; in cube_emit_cs()
461 radeonTexObj *t = r100->state.texture.unit[i].texobj; in tex_emit_cs()
Dradeon_state.c1972 t = rmesa->state.texture.unit[i].texobj; in r100ValidateBuffers()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c977 radeonTexObjPtr texobj ) in import_tex_obj_state() argument
985 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; in import_tex_obj_state()
987 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK; in import_tex_obj_state()
989 cmd[TEX_PP_TXFORMAT_X] |= texobj->pp_txformat_x & TEXOBJ_TXFORMAT_X_MASK; in import_tex_obj_state()
990 cmd[TEX_PP_TXSIZE] = texobj->pp_txsize; /* NPOT only! */ in import_tex_obj_state()
991 cmd[TEX_PP_TXPITCH] = texobj->pp_txpitch; /* NPOT only! */ in import_tex_obj_state()
992 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color; in import_tex_obj_state()
994 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) { in import_tex_obj_state()
998 cube_cmd[CUBE_PP_CUBIC_FACES] = texobj->pp_cubic_faces; in import_tex_obj_state()
1001 cmd[TEX_PP_CUBIC_FACES] = texobj->pp_cubic_faces; in import_tex_obj_state()
[all …]
Dr200_tex.c422 if ( t == rmesa->state.texture.unit[i].texobj ) { in r200DeleteTexture()
423 rmesa->state.texture.unit[i].texobj = NULL; in r200DeleteTexture()
Dradeon_texture.c108 struct gl_texture_object *texobj = timage->TexObject; in radeonAllocTextureImageBuffer() local
115 teximage_assign_miptree(rmesa, texobj, timage); in radeonAllocTextureImageBuffer()
Dr200_context.h79 radeonTexObjPtr texobj; member
Dr200_state_init.c531 radeonTexObj *t = r200->state.texture.unit[i].texobj; in get_tex_mm_size()
570 radeonTexObj *t = r200->state.texture.unit[i].texobj; in tex_emit_mm()
599 radeonTexObj *t = r200->state.texture.unit[i].texobj; in cube_emit_cs()
/external/mesa3d/doxygen/
Dcore_subset.doxy99 texobj.[ch] \
/external/mesa3d/src/mesa/
DMakefile.sources225 main/texobj.c \
226 main/texobj.h \
/external/mesa3d/include/CL/
Dcl.hpp2026 GLuint texobj, in Image2DGL() argument
2035 texobj, in Image2DGL()
2110 GLuint texobj, in Image3DGL() argument
2119 texobj, in Image3DGL()
/external/mesa3d/docs/
DVERSIONS271 - demos/texobj demo of texture objects