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

12

/hardware/qcom/display/msm8084/libgralloc/
H A Dfb_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t
H A Dframebuffer.cpp90 const size_t offset = hnd->base - m->framebuffer->base;
93 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
115 if (module->framebuffer) {
323 * map the framebuffer
331 module->framebuffer = new private_handle_t(fd, fbSize,
337 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
341 module->framebuffer->base = uintptr_t(vaddr);
345 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL,
H A Dgralloc.cpp88 framebuffer: 0,
H A Dgpu.cpp194 // we don't support framebuffer allocations with graphics heap flags
199 if (m->framebuffer == NULL) {
200 ALOGE("%s: Invalid framebuffer", __FUNCTION__);
226 uintptr_t vaddr = uintptr_t(m->framebuffer->base);
228 dup(m->framebuffer->fd), bufferSize,
243 hnd->offset = vaddr - uintptr_t(m->framebuffer->base);
325 size_t index = (hnd->base - m->framebuffer->base) / bufferSize;
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
/hardware/qcom/display/msm8226/libgralloc/
H A Dfb_priv.h40 struct private_handle_t* framebuffer; member in struct:private_module_t
H A Dgpu.cpp197 // we don't support framebuffer allocations with graphics heap flags
202 if (m->framebuffer == NULL) {
203 ALOGE("%s: Invalid framebuffer", __FUNCTION__);
229 uint64_t vaddr = uint64_t(m->framebuffer->base);
231 dup(m->framebuffer->fd), bufferSize,
246 hnd->offset = (unsigned int)(vaddr - m->framebuffer->base);
328 unsigned int index = (unsigned int) ((hnd->base - m->framebuffer->base)
H A Dframebuffer.cpp91 m->framebuffer->base);
94 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
116 if (module->framebuffer) {
324 * map the framebuffer
332 module->framebuffer = new private_handle_t(fd, fbSize,
338 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
342 module->framebuffer->base = uint64_t(vaddr);
346 ioctl(module->framebuffer->fd, MSMFB_OVERLAY_VSYNC_CTRL,
H A Dgralloc.cpp88 framebuffer: 0,
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
/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.cpp87 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.cpp87 framebuffer: 0,
H A DAndroid.mk28 LOCAL_SRC_FILES := gpu.cpp gralloc.cpp framebuffer.cpp mapper.cpp
/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.cpp104 const size_t offset = hnd->base - m->framebuffer->base;
107 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) {
121 m->base.lock(&m->base, m->framebuffer,
134 m->base.unlock(&m->base, m->framebuffer);
145 if (module->framebuffer) {
283 * map the framebuffer
288 module->framebuffer = new private_handle_t(dup(fd), fbSize, 0);
295 ALOGE("Error mapping the framebuffer (%s)", strerror(errno));
298 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 \

Completed in 721 milliseconds

12