Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h44 ashmemSize(p_ashmemSize), in cb_handle_t()
97 int ashmemSize; // ashmem region size for the buffer (0 unless is HW_FB buffer or member
/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp88 if (cb->fd < 0 || cb->ashmemSize <= 0) { in map_buffer()
92 void *addr = mmap(0, cb->ashmemSize, PROT_READ | PROT_WRITE, in map_buffer()
378 if (cb->ashmemSize > 0 && cb->ashmemBase) { in gralloc_free()
379 munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_free()
548 if (cb->ashmemSize > 0 && cb->mappedPid != getpid()) { in gralloc_register_buffer()
585 if (cb->ashmemSize > 0 && cb->mappedPid == getpid()) { in gralloc_unregister_buffer()
587 int err = munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_unregister_buffer()