Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp98 cb->ashmemBase = intptr_t(addr); in map_buffer()
375 if (cb->ashmemSize > 0 && cb->ashmemBase) { in gralloc_free()
376 munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_free()
448 intptr_t *postCountPtr = (intptr_t *)cb->ashmemBase; in fb_post()
584 int err = munmap((void *)cb->ashmemBase, cb->ashmemSize); in gralloc_unregister_buffer()
589 cb->ashmemBase = 0; in gralloc_unregister_buffer()
654 if (cb->ashmemBasePid != getpid() || !cb->ashmemBase) { in gralloc_lock()
659 postCount = *((intptr_t *)cb->ashmemBase); in gralloc_lock()
660 cpu_addr = (void *)(cb->ashmemBase + sizeof(intptr_t)); in gralloc_lock()
663 cpu_addr = (void *)(cb->ashmemBase); in gralloc_lock()
[all …]
/device/generic/goldfish/opengl/system/OpenglSystemCommon/
Dgralloc_cb.h45 ashmemBase(0), in cb_handle_t()
100 intptr_t ashmemBase; // CPU address of the mapped ashmem region member