Home
last modified time | relevance | path

Searched refs:TexObject (Results 1 – 25 of 28) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c84 src_level = src_image->Level + src_image->TexObject->MinLevel; in intel_copy_image_sub_data()
87 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_copy_image_sub_data()
90 src_z += src_image->TexObject->MinLayer; in intel_copy_image_sub_data()
101 dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in intel_copy_image_sub_data()
104 if (dst_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_copy_image_sub_data()
107 dst_z += dst_image->TexObject->MinLayer; in intel_copy_image_sub_data()
Dintel_tex.c68 struct gl_texture_object *texobj = image->TexObject; in intel_alloc_texture_image_buffer()
224 assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || in intel_map_texture_image()
230 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
234 tex_image->Level + tex_image->TexObject->MinLevel, in intel_map_texture_image()
235 slice + tex_image->TexObject->MinLayer, in intel_map_texture_image()
250 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
254 tex_image->Level + tex_image->TexObject->MinLevel, in intel_unmap_texture_image()
255 slice + tex_image->TexObject->MinLayer); in intel_unmap_texture_image()
Dintel_tex_image.c139 const unsigned mt_level = tex_image->Level + tex_image->TexObject->MinLevel; in intel_texsubimage_blorp()
140 const unsigned mt_z = tex_image->TexObject->MinLayer + tex_image->Face + z; in intel_texsubimage_blorp()
149 tex_image->TexObject->Target, format, type, in intel_texsubimage_blorp()
208 !(texImage->TexObject->Target == GL_TEXTURE_2D || in intel_texsubimage_tiled_memcpy()
209 texImage->TexObject->Target == GL_TEXTURE_RECTANGLE) || in intel_texsubimage_tiled_memcpy()
231 if (texImage->TexObject->MinLayer) in intel_texsubimage_tiled_memcpy()
252 int level = texImage->Level + texImage->TexObject->MinLevel; in intel_texsubimage_tiled_memcpy()
364 _mesa_enum_to_string(texImage->TexObject->Target), in intelTexImage()
394 _mesa_enum_to_string(texImage->TexObject->Target), in intelTexSubImage()
411 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_mt()
[all …]
Dintel_fbo.c543 layer += image->TexObject->MinLayer; in intel_renderbuffer_update_wrapper()
544 level += image->TexObject->MinLevel; in intel_renderbuffer_update_wrapper()
552 } else if (mt->target != GL_TEXTURE_3D && image->TexObject->NumLayers > 0) { in intel_renderbuffer_update_wrapper()
553 irb->layer_count = image->TexObject->NumLayers; in intel_renderbuffer_update_wrapper()
Dbrw_blorp.c760 int dst_slice = slice + dst_image->TexObject->MinLayer + dst_image->Face; in brw_blorp_copytexsubimage()
761 int dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in brw_blorp_copytexsubimage()
Dintel_mipmap_tree.c1046 switch (image->TexObject->Target) { in intel_get_image_dims()
1093 assert(image->TexObject->Target == mt->target); in intel_miptree_match_image()
1419 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c648 struct st_texture_object *stObj = st_texture_object(src_image->TexObject); in st_CopyImageSubData()
652 if (src_image->TexObject->Immutable) { in st_CopyImageSubData()
653 src_level += src_image->TexObject->MinLevel; in st_CopyImageSubData()
654 src_z += src_image->TexObject->MinLayer; in st_CopyImageSubData()
664 struct st_texture_object *stObj = st_texture_object(dst_image->TexObject); in st_CopyImageSubData()
668 if (dst_image->TexObject->Immutable) { in st_CopyImageSubData()
669 dst_level += dst_image->TexObject->MinLevel; in st_CopyImageSubData()
670 dst_z += dst_image->TexObject->MinLayer; in st_CopyImageSubData()
Dst_cb_texture.c221 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in st_FreeTextureImageBuffer()
298 malloc(data_size * _mesa_num_tex_faces(texImage->TexObject->Target)); in compressed_tex_fallback_allocate()
711 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in st_AllocTextureImageBuffer()
800 struct gl_texture_object *texObj = texImage->TexObject; in prep_teximage()
1372 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in try_pbo_upload()
1380 GLenum gl_target = texImage->TexObject->Target; in try_pbo_upload()
1451 ? 0 : texImage->TexObject->MinLevel + texImage->Level; in try_pbo_upload()
1454 zoffset += texImage->Face + texImage->TexObject->MinLayer; in try_pbo_upload()
1486 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in st_TexSubImage()
1496 GLenum gl_target = texImage->TexObject->Target; in st_TexSubImage()
[all …]
Dst_texture.c220 st_gl_texture_dims_to_pipe_dims(image->TexObject->Target, in st_texture_match_image()
256 st_texture_object(stImage->base.TexObject); in st_texture_image_map()
307 st_texture_object(stImage->base.TexObject); in st_texture_image_unmap()
Dst_cb_fbo.c477 stTexObj = st_texture_object(strb->Base.TexImage->TexObject); in st_update_renderbuffer_surface()
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_tex.c66 struct gl_texture_object *texobj = image->TexObject; in intel_alloc_texture_image_buffer()
147 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_map_texture_image()
162 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in intel_unmap_texture_image()
Dintel_tex_subimage.c67 if (texImage->TexObject->Target != GL_TEXTURE_2D) in intel_blit_texsubimage()
75 _mesa_enum_to_string(texImage->TexObject->Target), in intel_blit_texsubimage()
Dintel_tex_image.c186 _mesa_enum_to_string(texImage->TexObject->Target), in intelTexImage()
225 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_region()
Dintel_mipmap_tree.c397 switch (image->TexObject->Target) { in intel_miptree_get_dimensions_for_image()
424 assert(target_to_target(image->TexObject->Target) == mt->target); in intel_miptree_match_image()
648 intel_texture_object(intelImage->base.Base.TexObject); in intel_miptree_copy_teximage()
/external/mesa3d/src/mesa/swrast/
Ds_texture.c67 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) in texture_slices()
79 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) in _swrast_teximage_slice_height()
140 if (texImage->TexObject->Target == GL_TEXTURE_RECTANGLE_NV) { in _swrast_init_texture_image()
186 if (texImage->TexObject->Target == GL_TEXTURE_1D) in check_map_teximage()
/external/mesa3d/src/mesa/main/
Dcopyimage.c553 srcTexImage->TexObject->Target == GL_TEXTURE_CUBE_MAP) { in copy_image_subdata()
556 srcTexImage = srcTexImage->TexObject->Image[srcZ + i][srcLevel]; in copy_image_subdata()
562 dstTexImage->TexObject->Target == GL_TEXTURE_CUBE_MAP) { in copy_image_subdata()
565 dstTexImage = dstTexImage->TexObject->Image[dstZ + i][dstLevel]; in copy_image_subdata()
Dtexgetimage.c622 const GLenum target = texImage->TexObject->Target; in get_tex_memcpy()
701 _mesa_get_texture_dimensions(texImage->TexObject->Target); in _mesa_GetTexSubImage_sw()
727 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in _mesa_GetTexSubImage_sw()
782 _mesa_get_texture_dimensions(texImage->TexObject->Target); in get_compressed_texsubimage_sw()
Dteximage.c200 texImage->TexObject = tObj; in set_tex_image()
470 texImage->TexObject = ctx->Texture.ProxyTex[texIndex]; in get_proxy_tex_image()
837 target = img->TexObject->Target; in _mesa_init_teximage_fields_ms()
1155 const GLenum target = destImage->TexObject->Target; in error_check_subtexture_dimensions()
4115 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in copytexsubimage_by_slice()
4989 struct gl_texture_object *texObj = texImage->TexObject; in check_clear_tex_image()
/external/mesa3d/src/mesa/drivers/dri/radeon/
Dradeon_tex_copy.c148 radeon_tex_obj(texImage->TexObject), in radeonCopyTexSubImage()
Dradeon_texture.c107 struct gl_texture_object *texobj = timage->TexObject; in radeonAllocTextureImageBuffer()
179 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/r200/
Dradeon_tex_copy.c148 radeon_tex_obj(texImage->TexObject), in radeonCopyTexSubImage()
Dradeon_texture.c107 struct gl_texture_object *texobj = timage->TexObject; in radeonAllocTextureImageBuffer()
179 …*stride = get_texture_image_row_stride(rmesa, texImage->TexFormat, width, 0, texImage->TexObject->… in radeon_map_texture_image()
/external/mesa3d/src/mesa/drivers/dri/nouveau/
Dnouveau_texture.c451 struct gl_texture_object *t = ti->TexObject; in nouveau_teximage()
590 if (!to_nouveau_texture(ti->TexObject)->dirty) in nouveau_texsubimage()
591 validate_teximage(ctx, ti->TexObject, ti->Level, in nouveau_texsubimage()
Dnouveau_fbo.c274 texture_dirty(rb->TexImage->TexObject); in nouveau_finish_render_texture()
/external/mesa3d/src/mesa/drivers/common/
Dmeta.c125 struct gl_texture_object *texObj = texImage->TexObject; in _mesa_meta_framebuffer_texture_image()
2921 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in _mesa_meta_CopyTexSubImage()
2986 struct gl_texture_object *texObj = texImage->TexObject; in decompress_texture_image()
3249 switch (texImage->TexObject->Target) { in _mesa_meta_GetTexSubImage()

12