/third_party/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_copy_image.c | 84 src_level = src_image->Level + src_image->TexObject->Attrib.MinLevel; in brw_copy_image_sub_data() 87 if (src_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in brw_copy_image_sub_data() 90 src_z += src_image->TexObject->Attrib.MinLayer; in brw_copy_image_sub_data() 101 dst_level = dst_image->Level + dst_image->TexObject->Attrib.MinLevel; in brw_copy_image_sub_data() 104 if (dst_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in brw_copy_image_sub_data() 107 dst_z += dst_image->TexObject->Attrib.MinLayer; in brw_copy_image_sub_data()
|
D | brw_tex_image.c | 139 const unsigned mt_level = tex_image->Level + tex_image->TexObject->Attrib.MinLevel; in brw_texsubimage_blorp() 140 const unsigned mt_z = tex_image->TexObject->Attrib.MinLayer + tex_image->Face + z; in brw_texsubimage_blorp() 149 tex_image->TexObject->Target, format, type, in brw_texsubimage_blorp() 208 !(texImage->TexObject->Target == GL_TEXTURE_2D || in brw_texsubimage_tiled_memcpy() 209 texImage->TexObject->Target == GL_TEXTURE_RECTANGLE) || in brw_texsubimage_tiled_memcpy() 231 if (texImage->TexObject->Attrib.MinLayer) in brw_texsubimage_tiled_memcpy() 252 int level = texImage->Level + texImage->TexObject->Attrib.MinLevel; in brw_texsubimage_tiled_memcpy() 364 _mesa_enum_to_string(texImage->TexObject->Target), in brw_teximage() 394 _mesa_enum_to_string(texImage->TexObject->Target), in brw_texsubimage() 411 struct gl_texture_object *texobj = image->TexObject; in brw_set_texture_image_mt() [all …]
|
D | brw_tex.c | 69 struct gl_texture_object *texobj = image->TexObject; in brw_alloc_texture_image_buffer() 225 assert(tex_image->TexObject->Target != GL_TEXTURE_1D_ARRAY || h == 1); in brw_map_texture_image() 230 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in brw_map_texture_image() 234 tex_image->Level + tex_image->TexObject->Attrib.MinLevel, in brw_map_texture_image() 235 slice + tex_image->TexObject->Attrib.MinLayer, in brw_map_texture_image() 250 if (tex_image->TexObject->Target == GL_TEXTURE_CUBE_MAP) in brw_unmap_texture_image() 254 tex_image->Level + tex_image->TexObject->Attrib.MinLevel, in brw_unmap_texture_image() 255 slice + tex_image->TexObject->Attrib.MinLayer); in brw_unmap_texture_image()
|
D | brw_fbo.c | 543 layer += image->TexObject->Attrib.MinLayer; in brw_renderbuffer_update_wrapper() 544 level += image->TexObject->Attrib.MinLevel; in brw_renderbuffer_update_wrapper() 552 } else if (mt->target != GL_TEXTURE_3D && image->TexObject->Attrib.NumLayers > 0) { in brw_renderbuffer_update_wrapper() 553 irb->layer_count = image->TexObject->Attrib.NumLayers; in brw_renderbuffer_update_wrapper()
|
D | brw_blorp.c | 747 int dst_slice = slice + dst_image->TexObject->Attrib.MinLayer + dst_image->Face; in brw_blorp_copytexsubimage() 748 int dst_level = dst_image->Level + dst_image->TexObject->Attrib.MinLevel; in brw_blorp_copytexsubimage()
|
D | brw_mipmap_tree.c | 1046 switch (image->TexObject->Target) { in brw_get_image_dims() 1093 assert(image->TexObject->Target == mt->target); in brw_miptree_match_image() 1373 brw_texture_object(brw_image->base.Base.TexObject); in brw_miptree_copy_teximage()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_cb_copyimage.c | 648 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->Attrib.MinLevel; in st_CopyImageSubData() 654 src_z += src_image->TexObject->Attrib.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->Attrib.MinLevel; in st_CopyImageSubData() 670 dst_z += dst_image->TexObject->Attrib.MinLayer; in st_CopyImageSubData()
|
D | st_cb_texture.c | 189 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in copy_to_staging_dest() 193 GLenum gl_target = texImage->TexObject->Target; in copy_to_staging_dest() 476 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in st_FreeTextureImageBuffer() 553 malloc(data_size * _mesa_num_tex_faces(texImage->TexObject->Target)); in compressed_tex_fallback_allocate() 1016 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in st_AllocTextureImageBuffer() 1105 struct gl_texture_object *texObj = texImage->TexObject; in prep_teximage() 1684 struct st_texture_object *stObj = st_texture_object(texImage->TexObject); in try_pbo_upload() 1692 GLenum gl_target = texImage->TexObject->Target; in try_pbo_upload() 1763 ? 0 : texImage->TexObject->Attrib.MinLevel + texImage->Level; in try_pbo_upload() 1766 zoffset += texImage->Face + texImage->TexObject->Attrib.MinLayer; in try_pbo_upload() [all …]
|
D | st_texture.c | 222 st_gl_texture_dims_to_pipe_dims(image->TexObject->Target, in st_texture_match_image() 258 st_texture_object(stImage->base.TexObject); in st_texture_image_map() 309 st_texture_object(stImage->base.TexObject); in st_texture_image_unmap()
|
D | st_cb_fbo.c | 503 stTexObj = st_texture_object(strb->Base.TexImage->TexObject); in st_update_renderbuffer_surface()
|
/third_party/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_tex.c | 66 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()
|
D | intel_tex_subimage.c | 67 if (texImage->TexObject->Target != GL_TEXTURE_2D) in intel_blit_texsubimage() 75 _mesa_enum_to_string(texImage->TexObject->Target), in intel_blit_texsubimage()
|
D | intel_tex_image.c | 186 _mesa_enum_to_string(texImage->TexObject->Target), in intelTexImage() 225 struct gl_texture_object *texobj = image->TexObject; in intel_set_texture_image_region()
|
D | intel_mipmap_tree.c | 397 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()
|
/third_party/mesa3d/src/mesa/swrast/ |
D | s_texture.c | 67 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()
|
/third_party/mesa3d/src/mesa/main/ |
D | copyimage.c | 553 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()
|
D | texgetimage.c | 622 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()
|
D | teximage.c | 201 texImage->TexObject = tObj; in set_tex_image() 471 texImage->TexObject = ctx->Texture.ProxyTex[texIndex]; in get_proxy_tex_image() 838 target = img->TexObject->Target; in _mesa_init_teximage_fields_ms() 1156 const GLenum target = destImage->TexObject->Target; in error_check_subtexture_dimensions() 4137 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in copytexsubimage_by_slice() 5018 struct gl_texture_object *texObj = texImage->TexObject; in check_clear_tex_image()
|
/third_party/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_texture.c | 451 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()
|
D | nouveau_fbo.c | 274 texture_dirty(rb->TexImage->TexObject); in nouveau_finish_render_texture()
|
/third_party/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_tex_copy.c | 148 radeon_tex_obj(texImage->TexObject), in radeonCopyTexSubImage()
|
D | radeon_texture.c | 107 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()
|
/third_party/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_tex_copy.c | 148 radeon_tex_obj(texImage->TexObject), in radeonCopyTexSubImage()
|
D | radeon_texture.c | 107 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()
|
/third_party/mesa3d/src/mesa/drivers/common/ |
D | meta.c | 126 struct gl_texture_object *texObj = texImage->TexObject; in _mesa_meta_framebuffer_texture_image() 2923 if (texImage->TexObject->Target == GL_TEXTURE_1D_ARRAY) { in _mesa_meta_CopyTexSubImage() 2988 struct gl_texture_object *texObj = texImage->TexObject; in decompress_texture_image() 3251 switch (texImage->TexObject->Target) { in _mesa_meta_GetTexSubImage()
|