Home
last modified time | relevance | path

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

12

/hardware/bsp/intel/peripheral/libupm/src/lol/
Dlol.cxx151 memset(framebuffer, 0, LOL_X*LOL_Y); in LoL()
155 buffer = (unsigned char*)framebuffer; in LoL()
168 return framebuffer; in getFramebuffer()
176 framebuffer[x + LOL_X*y] = (pixel == 0) ? 0 : 1; in setPixel()
185 return (framebuffer[x + LOL_X*y] == 0) ? 0 : 1; in getPixel()
Dlol.h95 unsigned char framebuffer[LOL_X*LOL_Y]; variable
/hardware/libhardware/modules/gralloc/
Dgralloc.cpp94 .framebuffer = 0,
111 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
137 intptr_t vaddr = intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size, in gralloc_alloc_framebuffer_locked()
151 hnd->offset = vaddr - intptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
262 int index = (hnd->base - m->framebuffer->base) / bufferSize; in gralloc_free()
Dframebuffer.cpp104 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
121 m->base.lock(&m->base, m->framebuffer, in fb_post()
134 m->base.unlock(&m->base, m->framebuffer); in fb_post()
145 if (module->framebuffer) {
288 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0);
298 module->framebuffer->base = intptr_t(vaddr);
DAndroid.mk27 framebuffer.cpp \
Dgralloc_priv.h40 private_handle_t* framebuffer; member
/hardware/qcom/display/msm8960/libgralloc/
Dframebuffer.cpp90 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
112 if (module->framebuffer) { in mapFrameBufferLocked()
316 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
325 module->framebuffer->base = intptr_t(vaddr); in mapFrameBufferLocked()
330 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.cpp90 const size_t offset = hnd->base - m->framebuffer->base; in fb_post()
93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
115 if (module->framebuffer) { in mapFrameBufferLocked()
331 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
341 module->framebuffer->base = uintptr_t(vaddr); in mapFrameBufferLocked()
345 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL, in mapFrameBufferLocked()
Dgpu.cpp198 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
225 uintptr_t vaddr = uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
227 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
242 hnd->offset = vaddr - uintptr_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
329 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.cpp91 m->framebuffer->base); in fb_post()
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) { in fb_post()
116 if (module->framebuffer) { in mapFrameBufferLocked()
332 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
342 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
346 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/msm8994/libgralloc/
Dgpu.cpp210 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
237 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
241 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
256 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
346 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp93 m->framebuffer->base); in fb_post()
121 if (module->framebuffer) { in mapFrameBufferLocked()
361 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
365 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
/hardware/qcom/display/msm8909/libgralloc/
Dgpu.cpp213 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
240 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
244 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
259 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
345 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp85 m->framebuffer->base); in fb_post()
113 if (module->framebuffer) { in mapFrameBufferLocked()
353 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
357 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
/hardware/qcom/display/msm8996/libgralloc/
Dgpu.cpp195 if (m->framebuffer == NULL) { in gralloc_alloc_framebuffer_locked()
222 uint64_t vaddr = uint64_t(m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
226 dup(m->framebuffer->fd), bufferSize, in gralloc_alloc_framebuffer_locked()
241 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base); in gralloc_alloc_framebuffer_locked()
345 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base) in free_impl()
Dfb_priv.h40 struct private_handle_t* framebuffer; member
Dframebuffer.cpp85 m->framebuffer->base); in fb_post()
113 if (module->framebuffer) { in mapFrameBufferLocked()
353 module->framebuffer = new private_handle_t(fd, fbSize, in mapFrameBufferLocked()
357 module->framebuffer->base = uint64_t(vaddr); in mapFrameBufferLocked()
Dgralloc.cpp88 .framebuffer = 0,

12