/hardware/libhardware/modules/gralloc/ |
D | framebuffer.cpp | 82 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 85 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 99 m->base.lock(&m->base, m->framebuffer, in fb_post() 112 m->base.unlock(&m->base, m->framebuffer); in fb_post() 123 if (module->framebuffer) { 265 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); 275 module->framebuffer->base = intptr_t(vaddr);
|
D | gralloc.cpp | 93 .framebuffer = 0, 110 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 136 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 137 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked() 150 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 264 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
|
D | Android.mk | 28 framebuffer.cpp \
|
D | gralloc_priv.h | 40 private_handle_t* framebuffer; member
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | framebuffer.cpp | 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 114 if (module->framebuffer) { in mapFrameBufferLocked() 318 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 327 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked() 332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
D | gpu.cpp | 185 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 212 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 214 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 229 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 317 int index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | framebuffer.cpp | 92 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 95 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 333 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 343 module->framebuffer->base = uintptr_t(vaddr); in mapFrameBufferLocked() 347 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
D | gpu.cpp | 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 226 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 330 size_t index = (hnd->base - m->framebuffer->base) / bufferSize; in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | framebuffer.cpp | 93 m->framebuffer->base); in fb_post() 96 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 118 if (module->framebuffer) { in mapFrameBufferLocked() 334 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 344 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked() 348 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
|
D | gpu.cpp | 202 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 229 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 231 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 332 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | gpu.cpp | 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
D | framebuffer.cpp | 87 m->framebuffer->base); in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 357 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gpu.cpp | 218 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 245 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 249 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 264 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 359 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
D | framebuffer.cpp | 95 m->framebuffer->base); in fb_post() 123 if (module->framebuffer) { in mapFrameBufferLocked() 363 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 367 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gpu.cpp | 197 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 224 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 228 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 243 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 352 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
D | framebuffer.cpp | 87 m->framebuffer->base); in fb_post() 117 if (module->framebuffer) { in mapFrameBufferLocked() 357 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 361 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gpu.cpp | 199 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked() 226 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 230 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked() 245 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked() 354 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
|
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
D | framebuffer.cpp | 82 m->framebuffer->base); in fb_post() 110 if (module->framebuffer) { in mapFrameBufferLocked() 350 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked() 354 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
|