Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_tex.c207 struct gl_texture_image *tex_image, in intel_map_texture_image() argument
215 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_map_texture_image()
223 assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || in intel_map_texture_image()
229 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
230 slice = tex_image->Face; in intel_map_texture_image()
233 tex_image->Level + tex_image->TexObject->MinLevel, in intel_map_texture_image()
234 slice + tex_image->TexObject->MinLayer, in intel_map_texture_image()
243 struct gl_texture_image *tex_image, GLuint slice) in intel_unmap_texture_image() argument
246 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_unmap_texture_image()
249 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
[all …]
Dintel_tex_image.c133 struct gl_texture_image *tex_image, in intel_texsubimage_blorp() argument
139 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_texsubimage_blorp()
140 const unsigned mt_level = tex_image->Level + tex_image->TexObject->MinLevel; in intel_texsubimage_blorp()
141 const unsigned mt_z = tex_image->TexObject->MinLayer + tex_image->Face + z; in intel_texsubimage_blorp()
144 if (_mesa_base_tex_format(&brw->ctx, tex_image->InternalFormat) != in intel_texsubimage_blorp()
145 _mesa_get_format_base_format(tex_image->TexFormat)) in intel_texsubimage_blorp()
148 return brw_blorp_upload_miptree(brw, intel_image->mt, tex_image->TexFormat, in intel_texsubimage_blorp()
150 tex_image->TexObject->Target, format, type, in intel_texsubimage_blorp()
599 struct gl_texture_image *tex_image, in intel_gettexsubimage_blorp() argument
605 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_gettexsubimage_blorp()
[all …]
/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()
146 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
147 slice = tex_image->Face; in intel_map_texture_image()
149 intel_miptree_map(intel, mt, tex_image->Level, slice, x, y, w, h, mode, in intel_map_texture_image()
155 struct gl_texture_image *tex_image, GLuint slice) in intel_unmap_texture_image() argument
158 struct intel_texture_image *intel_image = intel_texture_image(tex_image); in intel_unmap_texture_image()
161 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
162 slice = tex_image->Face; in intel_unmap_texture_image()
164 intel_miptree_unmap(intel, mt, tex_image->Level, slice); in intel_unmap_texture_image()
/external/mesa3d/src/mesa/main/
Dcopyimage.c62 struct gl_texture_image **tex_image, in prepare_target_err() argument
136 *tex_image = NULL; in prepare_target_err()
249 *tex_image = texObj->Image[z][level]; in prepare_target_err()
252 *tex_image = _mesa_select_tex_image(texObj, target, level); in prepare_target_err()
255 if (!*tex_image) { in prepare_target_err()
262 *format = (*tex_image)->TexFormat; in prepare_target_err()
263 *internalFormat = (*tex_image)->InternalFormat; in prepare_target_err()
264 *width = (*tex_image)->Width; in prepare_target_err()
265 *height = (*tex_image)->Height; in prepare_target_err()
266 *num_samples = (*tex_image)->NumSamples; in prepare_target_err()
[all …]