Searched refs:framebuffer (Results 1 - 22 of 22) sorted by relevance

/hardware/qcom/display/msm8960/libgralloc/
H A Dfb_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t
H A Dgpu.cpp180 // we don't support framebuffer allocations with graphics heap flags
185 if (m->framebuffer == NULL) {
186 ALOGE("%s: Invalid framebuffer", __FUNCTION__);
212 intptr_t vaddr = intptr_t(m->framebuffer->base);
214 dup(m->framebuffer->fd), bufferSize,
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
311 int index = (hnd->base - m->framebuffer->base) / bufferSize;
H A Dframebuffer.cpp91 const size_t offset = hnd->base - m->framebuffer->base;
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
113 if (module->framebuffer) {
309 * map the framebuffer
318 module->framebuffer = new private_handle_t(fd, fbSize,
324 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
327 module->framebuffer->base = intptr_t(vaddr);
332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL,
H A Dgralloc.cpp89 framebuffer: 0,
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
/hardware/qcom/display/msm8974/libgralloc/
H A Dfb_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t
H A Dgpu.cpp186 // we don't support framebuffer allocations with graphics heap flags
191 if (m->framebuffer == NULL) {
192 ALOGE("%s: Invalid framebuffer", __FUNCTION__);
218 intptr_t vaddr = intptr_t(m->framebuffer->base);
220 dup(m->framebuffer->fd), bufferSize,
235 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
326 int index = (hnd->base - m->framebuffer->base) / bufferSize;
H A Dframebuffer.cpp91 const size_t offset = hnd->base - m->framebuffer->base;
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
113 if (module->framebuffer) {
309 * map the framebuffer
318 module->framebuffer = new private_handle_t(fd, fbSize,
324 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
327 module->framebuffer->base = intptr_t(vaddr);
332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL,
H A Dgralloc.cpp89 framebuffer: 0,
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
/hardware/qcom/display/msm8x26/libgralloc/
H A Dfb_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t
H A Dgpu.cpp180 // we don't support framebuffer allocations with graphics heap flags
185 if (m->framebuffer == NULL) {
186 ALOGE("%s: Invalid framebuffer", __FUNCTION__);
212 intptr_t vaddr = intptr_t(m->framebuffer->base);
214 dup(m->framebuffer->fd), bufferSize,
229 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
311 int index = (hnd->base - m->framebuffer->base) / bufferSize;
H A Dframebuffer.cpp91 const size_t offset = hnd->base - m->framebuffer->base;
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
113 if (module->framebuffer) {
309 * map the framebuffer
318 module->framebuffer = new private_handle_t(fd, fbSize,
324 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
327 module->framebuffer->base = intptr_t(vaddr);
332 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL,
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
H A Dgralloc.cpp89 framebuffer: 0,
/hardware/libhardware/modules/gralloc/
H A Dgralloc.cpp94 framebuffer: 0,
110 // allocate the framebuffer
111 if (m->framebuffer == NULL) {
112 // initialize the framebuffer, the framebuffer is mapped once
137 intptr_t vaddr = intptr_t(m->framebuffer->base);
138 private_handle_t* hnd = new private_handle_t(dup(m->framebuffer->fd), size,
151 hnd->offset = vaddr - intptr_t(m->framebuffer->base);
257 int index = (hnd->base - m->framebuffer->base) / bufferSize;
H A Dframebuffer.cpp97 const size_t offset = hnd->base - m->framebuffer->base;
100 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
114 m->base.lock(&m->base, m->framebuffer,
127 m->base.unlock(&m->base, m->framebuffer);
138 if (module->framebuffer) {
271 * map the framebuffer
276 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0);
283 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
286 module->framebuffer->base = intptr_t(vaddr);
H A Dgralloc_priv.h40 private_handle_t* framebuffer; member in struct:private_module_t
H A DAndroid.mk27 framebuffer.cpp \
/hardware/samsung_slsi/exynos5/gralloc/
H A DAndroid.mk29 framebuffer.cpp \
H A Dgralloc.cpp111 framebuffer: 0,
147 "framebuffer target should not have SW usage bits; ignoring");
/hardware/samsung_slsi/exynos5/include/
H A Dgralloc_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t

Completed in 297 milliseconds