/hardware/google/gchips/gralloc3/src/ |
D | framebuffer_device.cpp | 111 if (ioctl(m->framebuffer->fb_fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post() 113 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fb_fd); in fb_post() 120 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fb_fd); in fb_post() 132 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, 0, 0, 0, 0, &fb_vaddr); in fb_post() 157 mali_gralloc_unlock(m, m->framebuffer); in fb_post() 166 if (module->framebuffer) in init_frame_buffer_locked() 370 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked() 408 res = ioctl(m->framebuffer->fb_fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf() 460 if (m->framebuffer == NULL) in fb_alloc_framebuffer_locked() 470 if (m->framebuffer == NULL) in fb_alloc_framebuffer_locked() [all …]
|
D | gralloc_vsync_default.cpp | 67 if (ioctl(m->framebuffer->fb_fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
|
D | mali_gralloc_module.h | 77 struct private_handle_t *framebuffer; member 139 framebuffer = NULL; in private_module_t()
|
/hardware/libhardware/modules/gralloc/ |
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 | framebuffer.cpp | 84 const size_t offset = hnd->base - m->framebuffer->base; in fb_post() 87 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post() 101 m->base.lock(&m->base, m->framebuffer, in fb_post() 114 m->base.unlock(&m->base, m->framebuffer); in fb_post() 125 if (module->framebuffer) { 282 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0); 292 module->framebuffer->base = intptr_t(vaddr);
|
D | Android.mk | 28 framebuffer.cpp \
|
/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 | 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/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/msm8909w_3100/libgralloc/ |
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
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 | 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 | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
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 | 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()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
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()
|
/hardware/qcom/display/msm8909/libgralloc/ |
D | fb_priv.h | 40 struct private_handle_t* framebuffer; member
|
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 | 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()
|