Home
last modified time | relevance | path

Searched refs:surface_format (Results 1 – 11 of 11) sorted by relevance

/openbmc/qemu/include/ui/
H A Dsurface.h76 static inline pixman_format_code_t surface_format(DisplaySurface *s) in surface_format() function
83 int bits = PIXMAN_FORMAT_BPP(surface_format(s)); in surface_bits_per_pixel()
89 int bits = PIXMAN_FORMAT_BPP(surface_format(s)); in surface_bytes_per_pixel()
/openbmc/qemu/ui/
H A Ddbus-listener.c366 surface_format(ddl->ds), in dbus_scanout_map()
475 surface_format(ddl->ds), in dbus_scanout_map()
682 stride = w * DIV_ROUND_UP(PIXMAN_FORMAT_BPP(surface_format(ddl->ds)), 8); in dbus_gfx_update_sub()
683 img = pixman_image_create_bits(surface_format(ddl->ds), in dbus_gfx_update_sub()
692 int bp = PIXMAN_FORMAT_BPP(surface_format(ddl->ds)) / 8; in dbus_gfx_update_sub()
729 surface_stride(ddl->ds), surface_format(ddl->ds), v_data, in ddl_scanout()
H A Dsdl2-2d.c92 switch (surface_format(scon->surface)) { in sdl2_2d_switch()
H A Dconsole-gl.c56 switch (surface_format(surface)) { in surface_gl_create_texture()
H A Degl-headless.c151 assert(surface_format(edpy->ds) == PIXMAN_x8r8g8b8); in egl_scanout_flush()
H A Degl-helpers.c179 assert(surface_format(dst) == PIXMAN_x8r8g8b8); in egl_fb_read_rect()
H A Dspice-display.c396 surface_format(surface) == pixman_image_get_format(ssd->surface)) { in qemu_spice_display_switch()
440 ssd->mirror = qemu_pixman_mirror_create(surface_format(ssd->ds), in qemu_spice_display_switch()
H A Dvnc.c819 surface_format(s1) == surface_format(s2)); in vnc_check_pageflip()
836 vd->guest.format = surface_format(surface); in vnc_dpy_switch()
843 surface_format(surface)); in vnc_dpy_switch()
853 surface_format(surface)); in vnc_dpy_switch()
H A Dgtk.c517 if (surface_format(surface) == PIXMAN_x8r8g8b8) { in gd_switch()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_fb_helper.c1529 uint32_t surface_format = DRM_FORMAT_INVALID; in __drm_fb_helper_find_sizes() local
1549 surface_format = drm_fb_helper_find_color_mode_format(fb_helper, in __drm_fb_helper_find_sizes()
1553 if (surface_format != DRM_FORMAT_INVALID) in __drm_fb_helper_find_sizes()
1558 if (surface_format != DRM_FORMAT_INVALID) in __drm_fb_helper_find_sizes()
1562 surface_format = drm_fb_helper_find_color_mode_format(fb_helper, in __drm_fb_helper_find_sizes()
1566 if (surface_format != DRM_FORMAT_INVALID) in __drm_fb_helper_find_sizes()
1570 if (surface_format == DRM_FORMAT_INVALID) { in __drm_fb_helper_find_sizes()
1577 surface_format = drm_driver_legacy_fb_format(dev, 32, 24); in __drm_fb_helper_find_sizes()
1580 info = drm_format_info(surface_format); in __drm_fb_helper_find_sizes()
/openbmc/qemu/hw/vfio/
H A Ddisplay.c442 surface_format(dpy->region.surface) != format)) { in vfio_display_region_update()