Home
last modified time | relevance | path

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

123

/external/mesa3d/src/gallium/auxiliary/util/
Du_resource.c47 unsigned slices; in util_resource_size() local
50 slices = 6; in util_resource_size()
52 slices = depth; in util_resource_size()
54 slices = res->array_size; in util_resource_size()
57 util_format_get_stride(res->format, width) * slices); in util_resource_size()
/external/fio/profiles/
Dact.c44 struct act_slice *slices; member
51 struct act_slice *slices; member
313 slice = &apd->slices[apd->cur_slice]; in act_io_u_lat()
393 fails += show_slice(&act_run_data->slices[i], i + 1); in act_show_all_stats()
405 if (!act_run_data->slices) { in put_act_ref()
406 act_run_data->slices = calloc(apd->nr_slices, sizeof(struct act_slice)); in put_act_ref()
411 struct act_slice *dst = &act_run_data->slices[slice]; in put_act_ref()
412 struct act_slice *src = &apd->slices[slice]; in put_act_ref()
435 apd->slices = calloc(nr_slices, sizeof(struct act_slice)); in act_td_init()
447 free(apd->slices); in act_td_exit()
[all …]
/external/mesa3d/src/mesa/swrast/
Ds_texture.c92 GLuint slices = texture_slices(texImage); in _swrast_alloc_texture_image_buffer() local
102 swImg->Buffer = _mesa_align_malloc(bytesPerSlice * slices, 512); in _swrast_alloc_texture_image_buffer()
110 for (i = 0; i < slices; i++) { in _swrast_alloc_texture_image_buffer()
272 unsigned int i, slices; in _swrast_map_texture() local
292 slices = texture_slices(texImage); in _swrast_map_texture()
294 for (i = 0; i < slices; i++) { in _swrast_map_texture()
332 unsigned int i, slices; in _swrast_unmap_texture() local
343 slices = texture_slices(texImage); in _swrast_unmap_texture()
345 for (i = 0; i < slices; i++) { in _swrast_unmap_texture()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_resource.c49 rsc->slices[0].size, in vc4_resource_bo_alloc()
50 rsc->slices[0].offset, in vc4_resource_bo_alloc()
51 rsc->slices[0].offset + in vc4_resource_bo_alloc()
52 rsc->slices[0].size + in vc4_resource_bo_alloc()
57 rsc->slices[0].offset + in vc4_resource_bo_alloc()
58 rsc->slices[0].size + in vc4_resource_bo_alloc()
82 slice = &rsc->slices[0]; in vc4_resource_transfer_unmap()
85 slice = &rsc->slices[ptrans->level]; in vc4_resource_transfer_unmap()
275 struct vc4_resource_slice *slice = &rsc->slices[level]; in vc4_resource_transfer_map()
386 return vc4_screen_bo_get_handle(pscreen, rsc->bo, rsc->slices[0].stride, in vc4_resource_get_handle()
[all …]
Dvc4_resource.h57 struct vc4_resource_slice slices[VC4_MAX_MIP_LEVELS]; member
Dvc4_blit.c103 else if (rsc->slices[info->src.level].tiling == VC4_TILING_FORMAT_T) in vc4_tile_blit()
108 if (stride != rsc->slices[info->src.level].stride) in vc4_tile_blit()
Dvc4_state.c436 (rsc->slices[cso->cbufs[0]->u.tex.level].stride / in vc4_set_framebuffer_state()
442 (rsc->slices[cso->zsbuf->u.tex.level].stride / in vc4_set_framebuffer_state()
605 (VC4_SET_FIELD(rsc->slices[0].offset >> 12, VC4_TEX_P0_OFFSET) | in vc4_create_sampler_view()
/external/mesa3d/src/gallium/drivers/freedreno/a3xx/
Dfd3_texture.c262 A3XX_TEX_CONST_2_PITCH(fd3_pipe2nblocksx(cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd3_sampler_view_create()
268 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[0].size0); in fd3_sampler_view_create()
273 A3XX_TEX_CONST_3_LAYERSZ1(rsc->slices[lvl].size0); in fd3_sampler_view_create()
274 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd3_sampler_view_create()
275 sz2 = rsc->slices[++lvl].size0; in fd3_sampler_view_create()
/external/mesa3d/src/gallium/drivers/ilo/
Dilo_resource.c254 FREE(tex->slices[0]); in tex_free_slices()
261 struct ilo_texture_slice *slices; in tex_alloc_slices() local
274 slices = CALLOC(depth * templ->array_size, sizeof(*slices)); in tex_alloc_slices()
275 if (!slices) in tex_alloc_slices()
278 tex->slices[0] = slices; in tex_alloc_slices()
282 tex->slices[lv] = tex->slices[lv - 1] + in tex_alloc_slices()
Dilo_resource.h101 struct ilo_texture_slice *slices[PIPE_MAX_TEXTURE_LEVELS]; member
152 return &tex->slices[level][slice]; in ilo_texture_get_slice()
/external/llvm/test/CodeGen/X86/
Dload-slice.ll9 ; Check that independent slices leads to independent loads then the slices leads to
33 ; Same for REGULAR, we eliminate register bank copy with each slices.
83 ; The 64-bits should have been split in one 32-bits and one 16-bits slices.
113 ; Check that we do not optimize overlapping slices.
115 ; The 64-bits should NOT have been split in as slices are overlapping.
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.h73 struct fd_resource_slice slices[MAX_MIP_LEVELS]; member
139 return &rsc->slices[level]; in fd_resource_slice()
Dfreedreno_resource.c686 rsc->slices[0].pitch * rsc->cpp, handle); in fd_resource_get_handle()
732 (level > 1 && rsc->slices[level - 1].size0 > 0xf000))) in setup_slices()
737 slice->size0 = rsc->slices[level - 1].size0; in setup_slices()
884 struct fd_resource_slice *slice = &rsc->slices[0]; in fd_resource_from_handle()
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/
Dfd5_texture.c274 cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd5_sampler_view_create()
303 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd5_sampler_view_create()
304 sz2 = rsc->slices[++lvl].size0; in fd5_sampler_view_create()
306 A5XX_TEX_CONST_3_ARRAY_PITCH(rsc->slices[lvl].size0); in fd5_sampler_view_create()
/external/mesa3d/src/gallium/drivers/freedreno/a4xx/
Dfd4_texture.c277 cso->format, rsc->slices[lvl].pitch) * rsc->cpp); in fd4_sampler_view_create()
297 A4XX_TEX_CONST_3_LAYERSZ(rsc->slices[lvl].size0); in fd4_sampler_view_create()
298 while (lvl < cso->u.tex.last_level && sz2 != rsc->slices[lvl+1].size0) in fd4_sampler_view_create()
299 sz2 = rsc->slices[++lvl].size0; in fd4_sampler_view_create()
/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_texture.c254 unsigned slices; in vrend_resource_layout() local
257 slices = 6; in vrend_resource_layout()
259 slices = depth; in vrend_resource_layout()
261 slices = pt->array_size; in vrend_resource_layout()
267 slices * res->stride[level]); in vrend_resource_layout()
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_texture.c66 unsigned slices, nblocksy; in softpipe_resource_layout() local
74 slices = depth; in softpipe_resource_layout()
76 slices = pt->array_size; in softpipe_resource_layout()
90 buffer_size += (uint64_t) spr->img_stride[level] * slices; in softpipe_resource_layout()
/external/skia/tests/
DSkpSkGrTest.cpp337 const int slices = 3; in timePict() local
338 int xInterval = SkTMax(pWidth - maxDimension, 0) / (slices - 1); in timePict()
339 int yInterval = SkTMax(pHeight - maxDimension, 0) / (slices - 1); in timePict()
344 for (int x = 0; x < slices; ++x) { in timePict()
345 for (int y = 0; y < slices; ++y) { in timePict()
349 canvas->translate(SkIntToScalar(xInterval), SkIntToScalar(-yInterval * slices)); in timePict()
/external/libmojo/third_party/jinja2/
Dfilters.py560 def do_slice(value, slices, fill_with=None): argument
582 items_per_slice = length // slices
583 slices_with_extra = length % slices
585 for slice_number in range(slices):
/external/autotest/client/site_tests/kernel_SchedBandwith/
Dcontrol8 CPU bandwidth limited and verifies that 90% of the time slices were throttled.
/external/mesa3d/src/gallium/drivers/freedreno/a2xx/
Dfd2_texture.c144 so->tex0 = A2XX_SQ_TEX_0_PITCH(rsc->slices[0].pitch); in fd2_sampler_view_create()
Dfd2_gmem.c76 OUT_RING(ring, rsc->slices[0].pitch >> 5); /* RB_COPY_DEST_PITCH */ in emit_gmem2mem_surf()
199 A2XX_SQ_TEX_0_PITCH(rsc->slices[0].pitch)); in emit_mem2gmem_surf()
/external/deqp/doc/testspecs/GLES3/
Dfunctional.texture.specification.txt46 tested. All texture levels, faces (for cube maps) and slices (for 2D array
/external/llvm/test/Transforms/SROA/
Dslice-order-independence.ll7 ; slices even in case of types that are skipped because their width is not a
/external/eigen/doc/
DTutorialReshapeSlicing.dox5 %Eigen does not expose convenient methods to take slices or to reshape a matrix yet.

123