Home
last modified time | relevance | path

Searched refs:event_pool (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/compute/common/vk/
Devent_pool.c33 vk_event_pool_resize(struct vk_event_pool * const event_pool) in vk_event_pool_resize() argument
43 event_pool->size += event_pool->resize; in vk_event_pool_resize()
44 event_pool->events = vk_host_realloc(event_pool->allocator, in vk_event_pool_resize()
45 event_pool->events, in vk_event_pool_resize()
46 sizeof(VkEvent) * event_pool->size); in vk_event_pool_resize()
48 for (uint32_t ii=event_pool->next; ii<event_pool->size; ii++) in vk_event_pool_resize()
50 vk(CreateEvent(event_pool->device, in vk_event_pool_resize()
52 event_pool->allocator, in vk_event_pool_resize()
53 event_pool->events+ii)); in vk_event_pool_resize()
60 struct vk_event_pool * const event_pool = vk_host_alloc(allocator,sizeof(*event_pool)); in vk_event_pool_create() local
[all …]
Devent_pool.h25 vk_event_pool_release(struct vk_event_pool * const event_pool);
28 vk_event_pool_reset(struct vk_event_pool * const event_pool);
31 vk_event_pool_acquire(struct vk_event_pool * const event_pool);
/external/skqp/src/compute/common/vk/
Devent_pool.c33 vk_event_pool_resize(struct vk_event_pool * const event_pool) in vk_event_pool_resize() argument
43 event_pool->size += event_pool->resize; in vk_event_pool_resize()
44 event_pool->events = vk_host_realloc(event_pool->allocator, in vk_event_pool_resize()
45 event_pool->events, in vk_event_pool_resize()
46 sizeof(VkEvent) * event_pool->size); in vk_event_pool_resize()
48 for (uint32_t ii=event_pool->next; ii<event_pool->size; ii++) in vk_event_pool_resize()
50 vk(CreateEvent(event_pool->device, in vk_event_pool_resize()
52 event_pool->allocator, in vk_event_pool_resize()
53 event_pool->events+ii)); in vk_event_pool_resize()
60 struct vk_event_pool * const event_pool = vk_host_alloc(allocator,sizeof(*event_pool)); in vk_event_pool_create() local
[all …]
Devent_pool.h25 vk_event_pool_release(struct vk_event_pool * const event_pool);
28 vk_event_pool_reset(struct vk_event_pool * const event_pool);
31 vk_event_pool_acquire(struct vk_event_pool * const event_pool);