Home
last modified time | relevance | path

Searched refs:dst_level (Results 1 – 25 of 59) sorted by relevance

123

/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_copy_image.c41 struct intel_mipmap_tree *dst_mt, int dst_level, in copy_image_with_memcpy() argument
64 same_slice = src_mt == dst_mt && src_level == dst_level && src_z == dst_z; in copy_image_with_memcpy()
91 intel_miptree_map(brw, dst_mt, dst_level, dst_z, in copy_image_with_memcpy()
108 intel_miptree_unmap(brw, dst_mt, dst_level, dst_z); in copy_image_with_memcpy()
118 int dst_x, int dst_y, int dst_z, unsigned dst_level, in copy_miptrees() argument
126 dst_mt, dst_level, dst_z, in copy_miptrees()
158 dst_mt, dst_level, dst_z, dst_x, dst_y, in copy_miptrees()
167 dst_mt, dst_level, in copy_miptrees()
184 unsigned src_level, dst_level; in intel_copy_image_sub_data() local
205 dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in intel_copy_image_sub_data()
[all …]
Dintel_blit.c315 int dst_level, int dst_slice, in intel_miptree_blit() argument
348 intel_miptree_slice_resolve_depth(brw, dst_mt, dst_level, dst_slice); in intel_miptree_blit()
350 intel_miptree_resolve_color(brw, dst_mt, dst_level, dst_slice, 1, 0); in intel_miptree_blit()
356 dst_y = minify(dst_mt->physical_height0, dst_level - dst_mt->first_level) - dst_y - height; in intel_miptree_blit()
361 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_blit()
391 int dst_level, int dst_slice, in intel_miptree_copy() argument
406 intel_miptree_slice_resolve_depth(brw, dst_mt, dst_level, dst_slice); in intel_miptree_copy()
408 intel_miptree_resolve_color(brw, dst_mt, dst_level, dst_slice, 1, 0); in intel_miptree_copy()
440 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_copy()
Dbrw_blorp.h42 unsigned dst_level, unsigned dst_layer,
56 unsigned dst_level, unsigned dst_logical_layer,
Dbrw_blorp.c352 unsigned dst_level, unsigned dst_layer, in brw_blorp_blit_miptrees() argument
371 dst_level, dst_layer, dst_x0, dst_y0, dst_x1, dst_y1, in brw_blorp_blit_miptrees()
412 &dst_level, dst_layer, 1, &tmp_surfs[2]); in brw_blorp_blit_miptrees()
425 &dst_surf, dst_level, dst_layer, in brw_blorp_blit_miptrees()
439 unsigned dst_level, unsigned dst_layer, in brw_blorp_copy_miptrees() argument
450 dst_level, dst_layer, dst_x, dst_y); in brw_blorp_copy_miptrees()
461 &dst_level, dst_layer, 1, &tmp_surfs[2]); in brw_blorp_copy_miptrees()
466 &dst_surf, dst_level, dst_layer, in brw_blorp_copy_miptrees()
675 int dst_level = dst_image->Level + dst_image->TexObject->MinLevel; in brw_blorp_copytexsubimage() local
680 dst_mt, dst_level, dst_slice, in brw_blorp_copytexsubimage()
[all …]
Dintel_blit.h56 int dst_level, int dst_slice,
66 int dst_level, int dst_slice,
Dintel_tex_copy.c81 int dst_level = intelImage->base.Base.Level + in intel_copy_texsubimage() local
92 intelImage->mt, dst_level, dst_slice, in intel_copy_texsubimage()
/external/mesa3d/src/mesa/state_tracker/
Dst_cb_copyimage.c255 unsigned dst_level, in blit() argument
269 blit.dst.level = dst_level; in blit()
282 unsigned dst_level, in swizzled_copy() argument
333 blit(pipe, dst, blit_dst_format, dst_level, dstx, dsty, dstz, in swizzled_copy()
400 unsigned dst_level, in handle_complex_copy() argument
430 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
437 blit(pipe, dst, canon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
454 swizzled_copy(pipe, dst, dst_level, dstx, dsty, dstz, temp, 0, in handle_complex_copy()
463 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, src, in handle_complex_copy()
478 blit(pipe, dst, noncanon_format, dst_level, dstx, dsty, dstz, temp, in handle_complex_copy()
[all …]
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma.c122 unsigned dst_level, in si_dma_copy_tile() argument
138 unsigned dst_mode = rdst->surface.level[dst_level].mode; in si_dma_copy_tile()
142 unsigned linear_lvl = detile ? dst_level : src_level; in si_dma_copy_tile()
143 unsigned tiled_lvl = detile ? src_level : dst_level; in si_dma_copy_tile()
222 unsigned dst_level, in si_dma_copy() argument
261 !r600_prepare_for_dma_blit(&sctx->b, rdst, dst_level, dstx, dsty, in si_dma_copy()
271 dst_pitch = rdst->surface.level[dst_level].nblk_x * rdst->surface.bpe; in si_dma_copy()
274 dst_w = u_minify(rdst->resource.b.b.width0, dst_level); in si_dma_copy()
276 dst_mode = rdst->surface.level[dst_level].mode; in si_dma_copy()
282 src_box->height != u_minify(rdst->resource.b.b.height0, dst_level) || in si_dma_copy()
[all …]
Dcik_sdma.c142 unsigned dst_level, in cik_sdma_copy_texture() argument
153 rdst->surface.level[dst_level].offset; in cik_sdma_copy_texture()
156 unsigned dst_mode = rdst->surface.level[dst_level].mode; in cik_sdma_copy_texture()
158 unsigned dst_tile_index = rdst->surface.tiling_index[dst_level]; in cik_sdma_copy_texture()
164 unsigned dst_pitch = rdst->surface.level[dst_level].nblk_x; in cik_sdma_copy_texture()
166 uint64_t dst_slice_pitch = rdst->surface.level[dst_level].slice_size / bpp; in cik_sdma_copy_texture()
169 dst_level, rdst->surface.blk_w); in cik_sdma_copy_texture()
173 dst_level, rdst->surface.blk_h); in cik_sdma_copy_texture()
184 assert(dst_level <= dst->last_level); in cik_sdma_copy_texture()
185 assert(rdst->surface.level[dst_level].offset + in cik_sdma_copy_texture()
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_pipe_blit.c50 unsigned dst_level, unsigned dst_face, in copy_region_vgpu10() argument
72 dstSubResource = dst_face * (dst_tex->last_level + 1) + dst_level; in copy_region_vgpu10()
86 svga_define_texture_level(dtex, dst_face, dst_level); in copy_region_vgpu10()
89 svga_set_texture_rendered_to(dtex, dst_face, dst_level); in copy_region_vgpu10()
118 unsigned dst_level, in svga_resource_copy_region() argument
156 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, in svga_resource_copy_region()
182 dst_level, dst_face_layer, in svga_resource_copy_region()
186 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region()
199 dst_level, dst_face_layer, in svga_resource_copy_region()
204 util_resource_copy_region(pipe, dst_tex, dst_level, dstx, dsty, dstz, in svga_resource_copy_region()
[all …]
Dsvga_surface.h111 unsigned dst_level, unsigned dst_face,
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_blitter_blt.c238 struct ilo_texture *dst_tex, unsigned dst_level, in tex_clear_region() argument
275 dst_level, dst_box->z + slice, &x, &y); in tex_clear_region()
296 unsigned dst_level, in tex_copy_region() argument
369 dst_level, dst_z + slice, &dx, &dy); in tex_copy_region()
403 struct pipe_resource *dst, unsigned dst_level, in ilo_blitter_blt_copy_resource() argument
412 ilo_blit_resolve_slices(blitter->ilo, dst, dst_level, in ilo_blitter_blt_copy_resource()
420 assert(dst_level == 0 && dst_y == 0 && dst_z == 0); in ilo_blitter_blt_copy_resource()
432 ilo_texture(dst), dst_level, dst_x, dst_y, dst_z, in ilo_blitter_blt_copy_resource()
Dilo_blit.c37 unsigned dst_level, in ilo_resource_copy_region() argument
46 dst, dst_level, dstx, dsty, dstz, in ilo_resource_copy_region()
51 dst, dst_level, dstx, dsty, dstz, in ilo_resource_copy_region()
55 util_resource_copy_region(&ilo->base, dst, dst_level, in ilo_resource_copy_region()
Dilo_blitter.h105 struct pipe_resource *dst, unsigned dst_level,
133 struct pipe_resource *dst, unsigned dst_level,
Dilo_blitter_pipe.c150 struct pipe_resource *dst, unsigned dst_level, in ilo_blitter_pipe_copy_resource() argument
165 dst, dst_level, dst_x, dst_y, dst_z, in ilo_blitter_pipe_copy_resource()
/external/mesa3d/src/gallium/drivers/i915/
Di915_surface.c79 struct pipe_resource *dst, unsigned dst_level, in i915_surface_copy_render() argument
107 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz); in i915_surface_copy_render()
128 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_render()
205 struct pipe_resource *dst, unsigned dst_level, in i915_surface_copy_blitter() argument
218 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in i915_surface_copy_blitter()
228 dst_offset = i915_texture_offset(dst_tex, dst_level, dstz); in i915_surface_copy_blitter()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_surface.c40 struct pipe_resource *dst, unsigned dst_level, in lp_resource_copy() argument
46 dst, dst_level, in lp_resource_copy()
59 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in lp_resource_copy()
/external/mesa3d/src/gallium/auxiliary/util/
Du_surface.c253 unsigned dst_level, in util_resource_copy_region() argument
334 dst_box.x + dst_box.width == u_minify(dst->width0, dst_level)); in util_resource_copy_region()
336 dst_box.y + dst_box.height == u_minify(dst->height0, dst_level)); in util_resource_copy_region()
341 assert(dst_box.x + dst_box.width <= u_minify(dst->width0, dst_level)); in util_resource_copy_region()
342 assert(dst_box.y + dst_box.height <= u_minify(dst->height0, dst_level)); in util_resource_copy_region()
360 dst_level, in util_resource_copy_region()
/external/mesa3d/src/intel/blorp/
Dblorp.h116 unsigned dst_level, unsigned dst_layer,
129 unsigned dst_level, unsigned dst_layer,
/external/mesa3d/src/gallium/drivers/r300/
Dr300_blit.c533 unsigned dst_level, in r300_resource_copy_region() argument
555 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
569 util_blitter_default_dst_texture(&dst_templ, dst, dst_level, dstz); in r300_resource_copy_region()
652 util_resource_copy_region(pipe, dst, dst_level, dstx, dsty, dstz, in r300_resource_copy_region()
710 unsigned dst_level, in r300_simple_msaa_resolve() argument
725 surf_tmpl.u.tex.level = dst_level; in r300_simple_msaa_resolve()
/external/deqp/external/openglcts/modules/gl/
Dgl4cCopyImageTests.cpp2993 void FunctionalTest::getCleanRegions(const testCase& test_case, GLuint dst_level, GLuint out_region… in getCleanRegions() argument
3002 …calculateDimmensions(test_case.m_dst.m_target, dst_level, test_case.m_dst.m_width, test_case.m_dst… in getCleanRegions()
3015 const GLuint img_w = dst_widths[dst_level]; in getCleanRegions()
3016 const GLuint img_h = dst_heights[dst_level]; in getCleanRegions()
3270 for (GLuint dst_level = 0; dst_level < dst_n_levels; ++dst_level) in prepareTestCases() local
3325 dst_level, dst_internal_format, dst_format, dst_type }, in prepareTestCases()
3444 const GLuint dst_level = test_case.m_dst.m_level; in verify() local
3467 …calculateDimmensions(test_case.m_dst.m_target, dst_level, test_case.m_dst.m_width, test_case.m_dst… in verify()
3521 if (dst_level == level) in verify()
3547 getPixels(m_dst_tex_name, test_case.m_dst, dst_level, &dst_level_data[0]); in verify()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nv30/
Dnv30_resource.h63 struct pipe_resource *dst, unsigned dst_level,
/external/mesa3d/src/gallium/drivers/r600/
Dr600_state.c2807 unsigned dst_level, in r600_dma_copy_tile() argument
2827 dst_mode = rdst->surface.level[dst_level].mode; in r600_dma_copy_tile()
2851 addr = rdst->surface.level[dst_level].offset; in r600_dma_copy_tile()
2852 addr += rdst->surface.level[dst_level].slice_size * dst_z; in r600_dma_copy_tile()
2857 …slice_tile_max = (rdst->surface.level[dst_level].nblk_x * rdst->surface.level[dst_level].nblk_y) /… in r600_dma_copy_tile()
2864 height = u_minify(rdst->resource.b.b.height0, dst_level); in r600_dma_copy_tile()
2869 base = rdst->surface.level[dst_level].offset; in r600_dma_copy_tile()
2912 unsigned dst_level, in r600_dma_copy() argument
2939 !r600_prepare_for_dma_blit(&rctx->b, rdst, dst_level, dstx, dsty, in r600_dma_copy()
2949 dst_pitch = rdst->surface.level[dst_level].nblk_x * rdst->surface.bpe; in r600_dma_copy()
[all …]
/external/mesa3d/src/mesa/drivers/dri/i915/
Dintel_blit.h59 int dst_level, int dst_slice,
Dintel_blit.c114 int dst_level, int dst_slice, in intel_miptree_blit() argument
171 dst_y = dst_mt->level[dst_level].height - dst_y - height; in intel_miptree_blit()
184 intel_miptree_get_image_offset(dst_mt, dst_level, dst_slice, in intel_miptree_blit()

123