Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/state_tracker/
Dst_atom_sampler.c107 const struct gl_texture_object *texobj, in st_convert_sampler() argument
121 if (texobj->Target != GL_TEXTURE_RECTANGLE_ARB) in st_convert_sampler()
163 const GLboolean is_integer = texobj->_IsIntegerFormat; in st_convert_sampler()
164 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
167 const struct st_texture_object *stobj = st_texture_object_const(texobj); in st_convert_sampler()
204 GLenum texBaseFormat = _mesa_base_tex_image(texobj)->_BaseFormat; in st_convert_sampler()
207 (texBaseFormat == GL_DEPTH_STENCIL && !texobj->StencilSampling)) { in st_convert_sampler()
228 const struct gl_texture_object *texobj; in st_convert_sampler_from_unit() local
232 texobj = ctx->Texture.Unit[texUnit]._Current; in st_convert_sampler_from_unit()
233 assert(texobj); in st_convert_sampler_from_unit()
[all …]
Dst_texture.h331 const struct gl_texture_object *texobj,
/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()
109 __func__, texobj, image->Level, in intel_alloc_texture_image_buffer()
126 struct gl_texture_object *texobj, in intel_alloc_texture_storage() argument
131 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_alloc_texture_storage()
132 struct gl_texture_image *first_image = texobj->Image[0][0]; in intel_alloc_texture_storage()
135 const int numFaces = _mesa_num_tex_faces(texobj->Target); in intel_alloc_texture_storage()
148 intel_texobj->mt = intel_miptree_create(brw, texobj->Target, in intel_alloc_texture_storage()
162 struct gl_texture_image *image = texobj->Image[face][level]; in intel_alloc_texture_storage()
Dintel_tex_image.c411 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_mt() local
412 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_set_texture_image_mt()
511 struct gl_texture_object *texobj = image->TexObject; in intel_bind_renderbuffer_tex_image() local
512 struct intel_texture_object *intel_texobj = intel_texture_object(texobj); in intel_bind_renderbuffer_tex_image()
522 _mesa_lock_texture(ctx, texobj); in intel_bind_renderbuffer_tex_image()
534 _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.c225 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_region() local
226 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.c720 radeonTexObjPtr texobj ) in import_tex_obj_state() argument
729 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; in import_tex_obj_state()
731 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK; in import_tex_obj_state()
732 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color; in import_tex_obj_state()
734 if (texobj->pp_txformat & RADEON_TXFORMAT_NON_POWER2) { in import_tex_obj_state()
736 txr_cmd[TXR_PP_TEX_SIZE] = texobj->pp_txsize; /* NPOT only! */ in import_tex_obj_state()
737 txr_cmd[TXR_PP_TEX_PITCH] = texobj->pp_txpitch; /* NPOT only! */ in import_tex_obj_state()
741 if (texobj->base.Target == GL_TEXTURE_RECTANGLE_NV) { in import_tex_obj_state()
747 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) { in import_tex_obj_state()
751 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.c1971 t = rmesa->state.texture.unit[i].texobj; in r100ValidateBuffers()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dr200_texstate.c978 radeonTexObjPtr texobj ) in import_tex_obj_state() argument
986 cmd[TEX_PP_TXFILTER] |= texobj->pp_txfilter & TEXOBJ_TXFILTER_MASK; in import_tex_obj_state()
988 cmd[TEX_PP_TXFORMAT] |= texobj->pp_txformat & TEXOBJ_TXFORMAT_MASK; in import_tex_obj_state()
990 cmd[TEX_PP_TXFORMAT_X] |= texobj->pp_txformat_x & TEXOBJ_TXFORMAT_X_MASK; in import_tex_obj_state()
991 cmd[TEX_PP_TXSIZE] = texobj->pp_txsize; /* NPOT only! */ in import_tex_obj_state()
992 cmd[TEX_PP_TXPITCH] = texobj->pp_txpitch; /* NPOT only! */ in import_tex_obj_state()
993 cmd[TEX_PP_BORDER_COLOR] = texobj->pp_border_color; in import_tex_obj_state()
995 if (texobj->base.Target == GL_TEXTURE_CUBE_MAP) { in import_tex_obj_state()
999 cube_cmd[CUBE_PP_CUBIC_FACES] = texobj->pp_cubic_faces; in import_tex_obj_state()
1002 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.h78 radeonTexObjPtr texobj; member
Dr200_state_init.c532 radeonTexObj *t = r200->state.texture.unit[i].texobj; in get_tex_mm_size()
571 radeonTexObj *t = r200->state.texture.unit[i].texobj; in tex_emit_mm()
600 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.sources241 main/texobj.c \
242 main/texobj.h \
Dmeson.build282 'main/texobj.c',
283 '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