Home
last modified time | relevance | path

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

/device/generic/goldfish/opengl/system/gralloc/
Dgralloc.cpp649 void *cpu_addr = NULL; in gralloc_lock() local
663 cpu_addr = (void *)(cb->ashmemBase + sizeof(intptr_t)); in gralloc_lock()
666 cpu_addr = (void *)(cb->ashmemBase); in gralloc_lock()
691 0, 0, cb->width, cb->height, GL_RGBA, GL_UNSIGNED_BYTE, cpu_addr); in gralloc_lock()
699 *vaddr = cpu_addr; in gralloc_lock()
713 vaddr, vaddr ? *vaddr : 0, usage, cpu_addr); in gralloc_lock()
740 void *cpu_addr; in gralloc_unlock() local
742 cpu_addr = (void *)(cb->ashmemBase + sizeof(int)); in gralloc_unlock()
745 cpu_addr = (void *)(cb->ashmemBase); in gralloc_unlock()
754 char *src = (char *)cpu_addr + cb->lockedTop*src_line_len + cb->lockedLeft*bpp; in gralloc_unlock()
[all …]