Home
last modified time | relevance | path

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

/development/tools/emulator/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h44 ashmemBase(0), in cb_handle_t()
97 int ashmemBase; // CPU address of the mapped ashmem region member
/development/tools/emulator/opengl/system/gralloc/
Dgralloc.cpp102 cb->ashmemBase = intptr_t(addr); in map_buffer()
376 if (cb->ashmemSize > 0 && cb->ashmemBase) { in gralloc_free()
377 munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_free()
447 uint32_t *postCountPtr = (uint32_t *)cb->ashmemBase; in fb_post()
578 int err = munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_unregister_buffer()
583 cb->ashmemBase = NULL; in gralloc_unregister_buffer()
642 if (cb->ashmemBasePid != getpid() || !cb->ashmemBase) { in gralloc_lock()
647 postCount = *((int *)cb->ashmemBase); in gralloc_lock()
648 cpu_addr = (void *)(cb->ashmemBase + sizeof(int)); in gralloc_lock()
651 cpu_addr = (void *)(cb->ashmemBase); in gralloc_lock()
[all …]