Home
last modified time | relevance | path

Searched refs:tex_image (Results 1 – 5 of 5) sorted by relevance

/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c129 struct gl_texture_image *tex_image, in intel_map_texture_image() argument
137 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image()
144 assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || in intel_map_texture_image()
150 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
151 slice = tex_image->Face; in intel_map_texture_image()
153 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode, in intel_map_texture_image()
159 struct gl_texture_image *tex_image, GLuint slice) in intel_unmap_texture_image() argument
162 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_unmap_texture_image()
165 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
166 slice = tex_image->Face; in intel_unmap_texture_image()
[all …]
/external/mesa3d/src/mesa/drivers/common/
Dmeta_tex_subimage.c80 struct gl_texture_image *tex_image; in create_texture_for_pbo() local
154 tex_image = _mesa_get_tex_image(ctx, tex_obj, tex_obj->Target, 0); in create_texture_for_pbo()
155 _mesa_init_teximage_fields(ctx, tex_image, width, full_height, 1, in create_texture_for_pbo()
169 return tex_image; in create_texture_for_pbo()
174 struct gl_texture_image *tex_image, in _mesa_meta_pbo_TexSubImage() argument
208 if (need_signed_unsigned_int_conversion(tex_image->TexFormat, format, type)) in _mesa_meta_pbo_TexSubImage()
240 if (tex_image->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in _mesa_meta_pbo_TexSubImage()
260 tex_image, zoffset); in _mesa_meta_pbo_TexSubImage()
281 tex_image, zoffset + z); in _mesa_meta_pbo_TexSubImage()
308 struct gl_texture_image *tex_image, in _mesa_meta_pbo_GetTexSubImage() argument
[all …]
Dmeta.h525 struct gl_texture_image *tex_image,
534 struct gl_texture_image *tex_image,
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c205 struct gl_texture_image *tex_image, in intel_map_texture_image() argument
213 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image()
221 assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || in intel_map_texture_image()
227 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
228 slice = tex_image->Face; in intel_map_texture_image()
231 tex_image->Level + tex_image->TexObject->MinLevel, in intel_map_texture_image()
232 slice + tex_image->TexObject->MinLayer, in intel_map_texture_image()
241 struct gl_texture_image *tex_image, GLuint slice) in intel_unmap_texture_image() argument
244 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_unmap_texture_image()
247 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
[all …]
/external/mesa3d/src/mesa/main/
Dcopyimage.c62 struct gl_texture_image **tex_image, in prepare_target() argument
136 *tex_image = NULL; in prepare_target()
194 *tex_image = texObj->Image[z][level]; in prepare_target()
197 *tex_image = _mesa_select_tex_image(texObj, target, level); in prepare_target()
200 if (!*tex_image) { in prepare_target()
207 *format = (*tex_image)->TexFormat; in prepare_target()
208 *internalFormat = (*tex_image)->InternalFormat; in prepare_target()
209 *width = (*tex_image)->Width; in prepare_target()
210 *height = (*tex_image)->Height; in prepare_target()
211 *num_samples = (*tex_image)->NumSamples; in prepare_target()
[all …]