Home
last modified time | relevance | path

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

12345

/device/linaro/hikey/gralloc/
Dframebuffer_device.cpp97 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
99 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
109 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post()
121 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in fb_post()
123 AERR("FBIO_WAITFORVSYNC failed for fd: %d", m->framebuffer->fd); in fb_post()
136 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in fb_post()
138 AERR("S3CFB_SET_VSYNC_INT disable failed for fd: %d", m->framebuffer->fd); in fb_post()
149 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
151 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
171 m->base.lock(&m->base, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, in fb_post()
[all …]
Dalloc_device.cpp120 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_get_framebuffer_dmabuf()
372 if (m->framebuffer == NULL) in gralloc_alloc_framebuffer_locked()
404 void *vaddr = m->framebuffer->base; in gralloc_alloc_framebuffer_locked()
420 …0, m->framebuffer->fd, (uintptr_t)vaddr - (uintptr_t) m->framebuffer->base, m->framebuffer->fb_pad… in gralloc_alloc_framebuffer_locked()
423 hnd->ump_id = m->framebuffer->ump_id; in gralloc_alloc_framebuffer_locked()
/device/amlogic/yukawa/hal/gralloc/
Dframebuffer_device.cpp109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
111 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
120 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
129 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fd); in fb_post()
141 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, -1, -1, -1, -1, &fb_vaddr); in fb_post()
168 mali_gralloc_unlock(m, m->framebuffer); in fb_post()
176 if (module->framebuffer) in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
406 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf()
[all …]
Dgralloc_vsync_s3cfb.cpp33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable()
46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable()
63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
/device/linaro/hikey/gralloc960/
Dframebuffer_device.cpp109 if (ioctl(m->framebuffer->fd, FBIOPAN_DISPLAY, &m->info) == -1) in fb_post()
111 AERR("FBIOPAN_DISPLAY failed for fd: %d", m->framebuffer->fd); in fb_post()
118 if (ioctl(m->framebuffer->fd, FBIOPUT_VSCREENINFO, &m->info) == -1) in fb_post()
120 AERR("FBIOPUT_VSCREENINFO failed for fd: %d", m->framebuffer->fd); in fb_post()
129 AERR("Gralloc wait for vsync failed for fd: %d", m->framebuffer->fd); in fb_post()
141 mali_gralloc_lock(m, m->framebuffer, GRALLOC_USAGE_SW_WRITE_RARELY, -1, -1, -1, -1, &fb_vaddr); in fb_post()
168 mali_gralloc_unlock(m, m->framebuffer); in fb_post()
176 if (module->framebuffer) in init_frame_buffer_locked()
373 module->framebuffer = new private_handle_t(private_handle_t::PRIV_FLAGS_FRAMEBUFFER, fbSize, vaddr, in init_frame_buffer_locked()
406 res = ioctl(m->framebuffer->fd, FBIOGET_DMABUF, &fb_dma_buf); in fb_alloc_framebuffer_dmabuf()
[all …]
Dgralloc_vsync_s3cfb.cpp33 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_enable()
46 if (ioctl(m->framebuffer->fd, S3CFB_SET_VSYNC_INT, &interrupt) < 0) in gralloc_vsync_disable()
63 if (ioctl(m->framebuffer->fd, FBIO_WAITFORVSYNC, &crtc) < 0) in gralloc_wait_for_vsync()
/device/generic/vulkan-cereal/stream-servers/gl/
DTextureResize.cpp267 s_gles2.glGenFramebuffers(1, &mFBWidth.framebuffer);
268 s_gles2.glGenFramebuffers(1, &mFBHeight.framebuffer);
282 GLuint fb[2] = {mFBWidth.framebuffer, mFBHeight.framebuffer}; in ~TextureResize()
379 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBWidth.framebuffer); in resize()
405 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFBHeight.framebuffer); in resize()
525 s_gles2.glGenFramebuffers(1, &mFrameBuffer.framebuffer); in GenericResizer()
551 s_gles2.glBindFramebuffer(GL_FRAMEBUFFER, mFrameBuffer.framebuffer); in draw()
610 s_gles2.glDeleteFramebuffers(1, &mFrameBuffer.framebuffer); in ~GenericResizer()
/device/generic/goldfish-opengl/system/hwc3/
DDrmClient.cpp226 uint32_t framebuffer = 0; in create() local
229 &framebuffer, 0); in create()
234 DEBUG_LOG("%s: created framebuffer:%" PRIu32, __FUNCTION__, framebuffer); in create()
235 buffer->mDrmFramebuffer = framebuffer; in create()
242 uint32_t framebuffer = *buffer->mDrmFramebuffer; in destroyDrmFramebuffer() local
243 if (drmModeRmFB(mFd.get(), framebuffer)) { in destroyDrmFramebuffer()
247 DEBUG_LOG("%s: destroyed framebuffer:%" PRIu32, __FUNCTION__, framebuffer); in destroyDrmFramebuffer()
/device/google/cuttlefish/host/libs/graphics_detector/
Dgraphics_detector_vk_precision_qualifiers_on_yuv_samplers.cpp97 Vk::FramebufferWithAttachments framebuffer = in CanHandlePrecisionQualifierWithYuvSampler() local
325 .renderPass = *framebuffer.renderpass, in CanHandlePrecisionQualifierWithYuvSampler()
349 .renderPass = *framebuffer.renderpass, in CanHandlePrecisionQualifierWithYuvSampler()
350 .framebuffer = *framebuffer.framebuffer, in CanHandlePrecisionQualifierWithYuvSampler()
410 texture_width, texture_height, framebuffer.color_attachment->image, in CanHandlePrecisionQualifierWithYuvSampler()
/device/generic/vulkan-cereal/stream-servers/gl/OpenGLESDispatch/
Dgles_extensions_dispatch_logging_wrappers.impl34 GLboolean glIsFramebufferEXT_dispatchLoggingWrapper(GLuint framebuffer) {
35 DISPATCH_DEBUG_LOG("glIsFramebufferEXT(framebuffer:%d)", framebuffer);
36 return GLDispatch::glIsFramebufferEXT_underlying(framebuffer);
39 void glBindFramebufferEXT_dispatchLoggingWrapper(GLenum target, GLuint framebuffer) {
40 DISPATCH_DEBUG_LOG("glBindFramebufferEXT(target:0x%X, framebuffer:%d)", target, framebuffer);
41 GLDispatch::glBindFramebufferEXT_underlying(target, framebuffer);
Dgles1_extensions_dispatch_logging_wrappers.impl164 GLboolean glIsFramebufferOES_dispatchLoggingWrapper(GLuint framebuffer) {
165 DISPATCH_DEBUG_LOG("glIsFramebufferOES(framebuffer:%d)", framebuffer);
166 return GLDispatch::glIsFramebufferOES_underlying(framebuffer);
169 void glBindFramebufferOES_dispatchLoggingWrapper(GLenum target, GLuint framebuffer) {
170 DISPATCH_DEBUG_LOG("glBindFramebufferOES(target:0x%X, framebuffer:%d)", target, framebuffer);
171 GLDispatch::glBindFramebufferOES_underlying(target, framebuffer);
Dgles2_only_dispatch_logging_wrappers.impl319 void glBindFramebuffer_dispatchLoggingWrapper(GLenum target, GLuint framebuffer) {
320 DISPATCH_DEBUG_LOG("glBindFramebuffer(target:0x%X, framebuffer:%d)", target, framebuffer);
321 GLDispatch::glBindFramebuffer_underlying(target, framebuffer);
339 GLboolean glIsFramebuffer_dispatchLoggingWrapper(GLuint framebuffer) {
340 DISPATCH_DEBUG_LOG("glIsFramebuffer(framebuffer:%d)", framebuffer);
341 return GLDispatch::glIsFramebuffer_underlying(framebuffer);
Dgles2_stubbed_in_translator_namespace.entries20 GLboolean glIsFramebufferEXT(GLuint framebuffer);
21 void glBindFramebufferEXT(GLenum target, GLuint framebuffer);
Dgles1_extensions.entries37 GLboolean glIsFramebufferOES(GLuint framebuffer);
38 void glBindFramebufferOES(GLenum target, GLuint framebuffer);
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DClientAPIExts.in135 (GLuint framebuffer),
136 (framebuffer))
139 (GLenum target, GLuint framebuffer),
140 (target, framebuffer))
/device/generic/goldfish-opengl/system/egl/
DClientAPIExts.in135 (GLuint framebuffer),
136 (framebuffer))
139 (GLenum target, GLuint framebuffer),
140 (target, framebuffer))
/device/generic/vulkan-cereal/include/OpenGLESDispatch/
Dgles1_extensions_functions.h40 X(GLboolean, glIsFramebufferOES, (GLuint framebuffer), (framebuffer)) \
41 X(void, glBindFramebufferOES, (GLenum target, GLuint framebuffer), (target, framebuffer)) \
Dgles_extensions_functions.h14 X(GLboolean, glIsFramebufferEXT, (GLuint framebuffer), (framebuffer)) \
15 X(void, glBindFramebufferEXT, (GLenum target, GLuint framebuffer), (target, framebuffer)) \
Dgles2_only_functions.h71 X(void, glBindFramebuffer, (GLenum target, GLuint framebuffer), (target, framebuffer)) \
75 X(GLboolean, glIsFramebuffer, (GLuint framebuffer), (framebuffer)) \
Dgles12tr_internal.h17 X(void, glBindFramebuffer, (GLenum target, GLuint framebuffer), (target, framebuffer)) \
18 X(void, glBindFramebufferOES, (GLenum target, GLuint framebuffer), (target, framebuffer)) \
174 X(GLboolean, glIsFramebuffer, (GLuint framebuffer), (framebuffer)) \
175 X(GLboolean, glIsFramebufferOES, (GLuint framebuffer), (framebuffer)) \
Dgles_extensions_for_gles1_static_translator_namespaced_header.h14 GL_APICALL GLboolean GL_APIENTRY glIsFramebufferEXT(GLuint framebuffer);
15 GL_APICALL void GL_APIENTRY glBindFramebufferEXT(GLenum target, GLuint framebuffer);
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME52 queries the host for framebuffer parameter, see renderControl_types.h
77 rcSetWindowColorBuffer or to be displayed on the framebuffer window
104 displayed on the host framebuffer window. The function returns
108 Sets the swap interval for the host framebuffer window.
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Dgles1_extensions.entries27 GLboolean glIsFramebufferOES(GLuint framebuffer);
28 void glBindFramebufferOES(GLenum target, GLuint framebuffer);
/device/generic/vulkan-cereal/include/GL/
DGLcorearb.h1295 typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
1296 typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
1380 GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
1381 GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
2695 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachme…
2696 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLi…
2697 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, G…
2698 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachme…
2699 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
2700 typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const…
[all …]
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLES_CM/
DGLEScmImp.cpp170 GL_API GLboolean GLAPIENTRY glIsFramebufferOES(GLuint framebuffer);
171 GL_API void GLAPIENTRY glBindFramebufferOES(GLenum target, GLuint framebuffer);
2498 GL_API GLboolean GLAPIENTRY glIsFramebufferOES(GLuint framebuffer) { in glIsFramebufferOES() argument
2502 if (framebuffer) { in glIsFramebufferOES()
2503 return ctx->isFBO(framebuffer) in glIsFramebufferOES()
2508 return ctx->dispatcher().glIsFramebuffer(framebuffer); in glIsFramebufferOES()
2510 return ctx->dispatcher().glIsFramebufferEXT(framebuffer); in glIsFramebufferOES()
2514 GL_API void GLAPIENTRY glBindFramebufferOES(GLenum target, GLuint framebuffer) { in glBindFramebufferOES() argument
2519 if (framebuffer && !ctx->isFBO(framebuffer)) { in glBindFramebufferOES()
2520 ctx->genFBOName(framebuffer); in glBindFramebufferOES()
[all …]

12345