Home
last modified time | relevance | path

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

/device/generic/goldfish-opengl/system/gralloc/
Dgralloc_old.cpp251 static void resize_gralloc_dmaregion_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in resize_gralloc_dmaregion_locked() argument
256 goldfish_dma_create_region(new_sz, &grdma->goldfish_dma); in resize_gralloc_dmaregion_locked()
257 grdma->sz = new_sz; in resize_gralloc_dmaregion_locked()
305 … gralloc_dmaregion_register_ashmem_direct_mem_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_direct_mem_locked() argument
306 if (new_sz == grdma->sz) return; in gralloc_dmaregion_register_ashmem_direct_mem_locked()
311 allocator->hostMalloc(block, new_sz); in gralloc_dmaregion_register_ashmem_direct_mem_locked()
312 grdma->sz = new_sz; in gralloc_dmaregion_register_ashmem_direct_mem_locked()
315 …ic void gralloc_dmaregion_register_ashmem_dma_locked(gralloc_dmaregion_t* grdma, uint32_t new_sz) { in gralloc_dmaregion_register_ashmem_dma_locked() argument
316 if (new_sz != grdma->sz) { in gralloc_dmaregion_register_ashmem_dma_locked()
317 if (new_sz > MAX_DMA_SIZE) { in gralloc_dmaregion_register_ashmem_dma_locked()
[all …]