Home
last modified time | relevance | path

Searched refs:framebuffer (Results 1 – 25 of 32) sorted by relevance

12

/hardware/libhardware/modules/gralloc/
Dframebuffer.cpp82 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);
Dgralloc.cpp93 .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()
DAndroid.mk28 framebuffer.cpp \
Dgralloc_priv.h40 private_handle_t* framebuffer; member
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp92 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()
Dgpu.cpp185 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
/hardware/qcom/display/msm8084/libgralloc/
Dframebuffer.cpp92 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()
Dgpu.cpp199 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
/hardware/qcom/display/msm8226/libgralloc/
Dframebuffer.cpp93 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()
Dgpu.cpp202 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp197 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp87 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/
Dgpu.cpp218 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp95 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/
Dgpu.cpp197 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp87 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/
Dgpu.cpp199 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()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp82 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()

12