Home
last modified time | relevance | path

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

12

/third_party/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_copy_image.c84 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()
Dbrw_tex_image.c139 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 …]
Dbrw_tex.c69 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()
Dbrw_fbo.c543 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()
Dbrw_blorp.c747 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()
Dbrw_mipmap_tree.c1046 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/
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->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()
Dst_cb_texture.c189 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 …]
Dst_texture.c222 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()
Dst_cb_fbo.c503 stTexObj = st_texture_object(strb->Base.TexImage->TexObject); in st_update_renderbuffer_surface()
/third_party/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()
/third_party/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()
/third_party/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.c201 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/
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()
/third_party/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()
/third_party/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()
/third_party/mesa3d/src/mesa/drivers/common/
Dmeta.c126 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()

12