Home
last modified time | relevance | path

Searched refs:fb_id (Results 1 – 24 of 24) sorted by relevance

/third_party/ffmpeg/libavdevice/
Dkmsgrab.c100 fb = drmModeGetFB(ctx->hwctx->fd, plane->fb_id); in kmsgrab_get_fb()
104 "%"PRIu32": %s.\n", plane->fb_id, strerror(err)); in kmsgrab_get_fb()
165 fb = drmModeGetFB2(ctx->hwctx->fd, plane->fb_id); in kmsgrab_get_fb2()
169 "%"PRIu32": %s.\n", plane->fb_id, strerror(err)); in kmsgrab_get_fb2()
293 if (!plane->fb_id) { in kmsgrab_read_packet()
446 if (plane->fb_id == 0) { in kmsgrab_read_header()
475 plane->plane_id, plane->crtc_id, plane->fb_id); in kmsgrab_read_header()
479 plane->fb_id == 0) { in kmsgrab_read_header()
508 fb2 = drmModeGetFB2(ctx->hwctx->fd, plane->fb_id); in kmsgrab_read_header()
516 plane->fb_id, strerror(err)); in kmsgrab_read_header()
[all …]
/third_party/libdrm/include/drm/
Ddrm_mode.h252 __u32 fb_id; /**< Id of framebuffer */ member
269 __u32 fb_id; /* fb object contains surface format type */ member
289 __u32 fb_id; member
466 __u32 fb_id; member
480 __u32 fb_id; member
550 __u32 fb_id; member
669 __u32 fb_id; member
697 __u32 fb_id; member
Dvmwgfx_drm.h767 __u32 fb_id; member
797 __u32 fb_id; member
/third_party/mesa3d/include/drm-uapi/
Ddrm_mode.h282 __u32 fb_id; /**< Id of framebuffer */ member
299 __u32 fb_id; /* fb object contains surface format type */ member
339 __u32 fb_id; member
653 __u32 fb_id; member
667 __u32 fb_id; member
737 __u32 fb_id; member
942 __u32 fb_id; member
970 __u32 fb_id; member
/third_party/libdrm/
Dxf86drmMode.c267 *buf_id = f.fb_id; in drmModeAddFB()
293 *buf_id = f.fb_id; in drmModeAddFB2WithModifiers()
319 info.fb_id = buf; in drmModeGetFB()
327 r->fb_id = info.fb_id; in drmModeGetFB()
344 dirty.fb_id = bufferId; in drmModeDirtyFB()
382 r->buffer_id = crtc.fb_id; in drmModeGetCrtc()
397 crtc.fb_id = bufferId; in drmModeSetCrtc()
951 drm_public int drmModePageFlip(int fd, uint32_t crtc_id, uint32_t fb_id, in drmModePageFlip() argument
957 flip.fb_id = fb_id; in drmModePageFlip()
965 drm_public int drmModePageFlipTarget(int fd, uint32_t crtc_id, uint32_t fb_id, in drmModePageFlipTarget() argument
[all …]
Dxf86drmMode.h220 uint32_t fb_id; member
230 uint32_t fb_id; member
343 uint32_t fb_id; member
496 extern int drmModePageFlip(int fd, uint32_t crtc_id, uint32_t fb_id,
498 extern int drmModePageFlipTarget(int fd, uint32_t crtc_id, uint32_t fb_id,
505 uint32_t fb_id, uint32_t flags,
/third_party/libdrm/tests/modetest/
Dmodetest.c124 unsigned int fb_id; member
522 fb->fb_id, in dump_framebuffers()
543 ovr->plane_id, ovr->crtc_id, ovr->fb_id, in dump_planes()
835 unsigned int fb_id[2], current_fb_id; member
848 unsigned int fb_id; member
1083 if (pipe->current_fb_id == pipe->fb_id[0]) in page_flip_handler()
1084 new_fb_id = pipe->fb_id[1]; in page_flip_handler()
1086 new_fb_id = pipe->fb_id[0]; in page_flip_handler()
1181 unsigned int fb_id; in bo_fb_create() local
1188 if (drmModeAddFB2(fd, w, h, fourcc, handles, pitches, offsets, &fb_id, 0)) { in bo_fb_create()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/kms/
Dgstkmsallocator.c95 return ((GstKMSMemory *) mem)->fb_id; in gst_kms_memory_get_fb_id()
113 if (mem->fb_id) { in gst_kms_allocator_memory_reset()
114 GST_DEBUG_OBJECT (allocator, "removing fb id %d", mem->fb_id); in gst_kms_allocator_memory_reset()
115 drmModeRmFB (allocator->priv->fd, mem->fb_id); in gst_kms_allocator_memory_reset()
116 mem->fb_id = 0; in gst_kms_allocator_memory_reset()
452 if (kmsmem->fb_id) in gst_kms_allocator_add_fb()
473 offsets, &kmsmem->fb_id, 0); in gst_kms_allocator_add_fb()
Dgstkmssink.c436 guint32 fb_id; in configure_mode_setting() local
453 fb_id = kmsmem->fb_id; in configure_mode_setting()
469 err = drmModeSetCrtc (self->fd, self->crtc_id, fb_id, 0, 0, in configure_mode_setting()
1403 kmsmem, mems[0], kmsmem->fb_id); in gst_kms_sink_import_dmabuf()
1419 kmsmem, mems[0], kmsmem->fb_id); in gst_kms_sink_import_dmabuf()
1569 guint32 fb_id; in gst_kms_sink_show_frame() local
1600 fb_id = gst_kms_memory_get_fb_id (gst_buffer_peek_memory (buffer, 0)); in gst_kms_sink_show_frame()
1601 if (fb_id == 0) in gst_kms_sink_show_frame()
1604 GST_TRACE_OBJECT (self, "displaying fb %d", fb_id); in gst_kms_sink_show_frame()
1608 self->buffer_id = fb_id; in gst_kms_sink_show_frame()
[all …]
Dgstkmsallocator.h58 guint32 fb_id; member
/third_party/weston/libweston/backend-drm/
Dfb.c49 if (fb->fb_id != 0) in drm_fb_destroy()
50 drmModeRmFB(fb->fd, fb->fb_id); in drm_fb_destroy()
90 fb->offsets, mods, &fb->fb_id, in drm_fb_addfb()
96 fb->handles, fb->strides, fb->offsets, &fb->fb_id, in drm_fb_addfb()
112 fb->strides[0], fb->handles[0], &fb->fb_id); in drm_fb_addfb()
191 drmModeRmFB(b->drm.fd, fb->fb_id); in drm_fb_create_dumb()
Dkms.c744 scanout_state->fb->fb_id, in drm_output_apply_state_legacy()
760 scanout_state->fb->fb_id, in drm_output_apply_state_legacy()
998 plane_state->fb ? plane_state->fb->fb_id : 0); in drm_output_apply_state_atomic()
Ddrm-internal.h333 uint32_t fb_id, size; member
Dstate-propose.c825 (unsigned long) scanout_fb->fb_id, output->base.name, in drm_output_propose_state()
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/gbm/
Dgstgl_gbm_utils.c363 if (fb->fb_id) in gst_gl_gbm_drm_fb_destroy_callback()
364 drmModeRmFB (drm_fd, fb->fb_id); in gst_gl_gbm_drm_fb_destroy_callback()
422 &fb->fb_id); in gst_gl_gbm_drm_fb_get_from_bo()
Dgstgl_gbm_utils.h35 guint32 fb_id; member
Dgstglwindow_gbm_egl.c229 ret = drmModeSetCrtc (display->drm_fd, display->crtc_id, framebuf->fb_id, in draw_cb()
291 ret = drmModePageFlip (display->drm_fd, display->crtc_id, framebuf->fb_id, in draw_cb()
/third_party/skia/third_party/externals/swiftshader/src/WSI/
DDisplaySurfaceKHR.cpp171 drmModeAddFB(fd, width, height, 24, 32, pitch, handle, &fb_id); in DisplaySurfaceKHR()
185 drmModeRmFB(fd, fb_id); in destroySurface()
226 drmModeSetCrtc(fd, crtc_id, fb_id, 0, 0, &connector_id, 1, &mode_info); in present()
DDisplaySurfaceKHR.hpp58 uint32_t fb_id; member in vk::DisplaySurfaceKHR
/third_party/libdrm/tests/exynos/
Dexynos_fimg2d_test.c123 unsigned int fb_id) in drm_set_crtc() argument
128 fb_id, 0, 0, &c->id, 1, c->mode); in drm_set_crtc()
731 unsigned int fb_id; in main() local
815 pitches, offsets, &fb_id, 0); in main()
821 ret = drm_set_crtc(dev, &con, fb_id); in main()
892 drmModeRmFB(dev->fd, fb_id); in main()
/third_party/vk-gl-cts/external/openglcts/modules/gl/
Dgl4cStencilTexturingTests.cpp717 GLuint fb_id = 0; in draw() local
736 gl.genFramebuffers(1, &fb_id); in draw()
739 gl.bindFramebuffer(GL_DRAW_FRAMEBUFFER, fb_id); in draw()
784 if (0 != fb_id) in draw()
786 gl.deleteFramebuffers(1, &fb_id); in draw()
801 if (0 != fb_id) in draw()
803 gl.deleteFramebuffers(1, &fb_id); in draw()
/third_party/mesa3d/src/gallium/winsys/svga/drm/
Dvmwgfx_drm.h766 __u32 fb_id; member
796 __u32 fb_id; member
/third_party/gstreamer/gstplugins_base/gst-libs/gst/gl/x11/
Dgstglcontext_glx.c275 int fb_id, render_type; in gst_gl_context_glx_dump_fb_config() local
279 &fb_id)) in gst_gl_context_glx_dump_fb_config()
289 "visual id 0x%x", fbconfig, fb_id, visual_id); in gst_gl_context_glx_dump_fb_config()
/third_party/mesa3d/src/vulkan/wsi/
Dwsi_common_display.c126 uint32_t fb_id; member
1058 image->fb_id = 0; in wsi_display_image_init()
1067 &image->fb_id, 0); in wsi_display_image_init()
1099 drmModeRmFB(wsi->fd, image->fb_id); in wsi_display_image_finish()
1705 ret = drmModePageFlip(wsi->fd, connector->crtc_id, image->fb_id, in _wsi_display_queue_next()
1726 image->fb_id, 0, 0, in _wsi_display_queue_next()