Home
last modified time | relevance | path

Searched refs:subbufs (Results 1 – 7 of 7) sorted by relevance

/external/skqp/src/compute/skc/
Dsuballocator.c60 skc_uint const subbufs, in skc_suballocator_create() argument
64 size_t const subbufs_size = sizeof(*suballocator->subbufs) * subbufs; in skc_suballocator_create()
67 …suballocator->subbufs = skc_runtime_host_perm_alloc(runtime,SKC_MEM_FLAGS_READ_WRITE,subbufs_size); in skc_suballocator_create()
70 memset(suballocator->subbufs,0,subbufs_size); in skc_suballocator_create()
73 suballocator->subbufs[0].size = (skc_subbuf_size_t)size; in skc_suballocator_create()
78 sizeof(*suballocator->ids) * subbufs); in skc_suballocator_create()
79 for (skc_uint ii=0; ii<subbufs; ii++) in skc_suballocator_create()
83 suballocator->rem.spare = subbufs - 1; in skc_suballocator_create()
86 suballocator->count = subbufs; in skc_suballocator_create()
99 skc_runtime_host_perm_free(runtime,suballocator->subbufs); in skc_suballocator_dispose()
[all …]
Dsuballocator.h66 struct skc_subbuf * subbufs; member
92 skc_uint const subbufs,
Dallocator_host.c100 runtime->config->suballocator.host.subbufs, in skc_allocator_host_create()
/external/skqp/src/compute/skc/platforms/cl_12/
Dpath_builder_cl_12.c187 skc_uint subbufs; // how many subbufs in the buffer? member
200 struct skc_subbuffer_blocks * subbufs; // array of structures member
205 struct skc_subbuffer_cmds * subbufs; // array of structures member
303 skc_uint const new_subbuf = (to.subbuf + 1) % impl->ring.subbufs; in skc_ringdex_wip_to_subbuf_inc()
507 to = to % impl->ring.subbufs; in skc_path_builder_impl_unmap()
516 from = from % impl->ring.subbufs; in skc_path_builder_impl_unmap()
518 struct skc_subbuffer_blocks * const blocks = impl->blocks.subbufs + from; in skc_path_builder_impl_unmap()
519 struct skc_subbuffer_cmds * const cmds = impl->cmds .subbufs + from; in skc_path_builder_impl_unmap()
532 from = ++from % impl->ring.subbufs; in skc_path_builder_impl_unmap()
547 to = to % impl->ring.subbufs; in skc_path_builder_impl_map()
[all …]
Dconfig_cl.h26 skc_uint subbufs; member
30 skc_uint subbufs; member
Dallocator_device_cl.c108 runtime->config->suballocator.device.subbufs, in skc_allocator_device_create()
/external/skqp/src/compute/skc/platforms/cl_12/kernels/devices/gen9/
Ddevice_cl_12.c104 .subbufs = 1024 // must be <= (1 << (8 * sizeof(skc_subbuf_id_t)))
108 .subbufs = 1024 // must be <= (1 << (8 * sizeof(skc_subbuf_id_t)))