Skip to main content

Module display

Module display 

Source
Expand description

Shared framebuffer rendering for all Systemless frontends.

Produces RGBA pixel buffers from guest screen memory, supporting 1bpp monochrome plus 2bpp, 4bpp, and 8bpp indexed-color modes.

Enums§

CursorImage

Functions§

argb_palette_from_clut
Convert the guest Color LookUp Table to host ARGB words. Native GPU presenters use this same conversion so their palette output is bit-for-bit identical to the software renderer.
argb_palette_from_clut_with_gamma
clut_to_argb
Convert a 16-bit Mac CLUT entry to 0xAARRGGBB.
default_display_gamma
Return the modeled display transfer table used before a guest installs one through the video driver’s cscSetGamma control call.
linear_display_gamma
Return the linear transfer used for palettes written directly to the video driver. Those values have already passed through the guest’s palette preparation and must not receive the Color Manager compatibility curve.
render_cursor
Overlay the cursor onto an RGBA pixel buffer.
render_cursor_argb
Overlay the cursor onto an ARGB pixel buffer.
render_debug_overlay_argb
Overlay line-oriented debug text onto an ARGB framebuffer.
render_debug_overlay_rgba
Overlay line-oriented debug text onto an RGBA framebuffer.
render_screen
Render the current screen to an RGBA pixel buffer (4 bytes per pixel).
render_screen_argb
Render the current screen to an ARGB pixel buffer suitable for desktop backends.
render_screen_argb_with_gamma
Render the current screen to ARGB using the active video-device gamma table.
render_screen_into
Render the current screen into a reusable RGBA pixel buffer.
render_screen_into_with_gamma
Render the current screen into a reusable RGBA buffer using the active video-device gamma table.
render_screen_with_gamma
Render the current screen using the active video-device gamma table.
render_screen_with_rgba_palette_into
Render the current screen with a precomputed 8bpp RGBA palette.
rgba_palette_from_clut
rgba_palette_from_clut_with_gamma
screen_pixel_rgb
Sample a single screen pixel as gamma-corrected RGB.
screen_pixel_rgb_with_gamma
Sample one screen pixel using the active video-device gamma table.

Type Aliases§

DisplayGamma
Per-channel display transfer tables applied after truncating a 16-bit QuickDraw color component to its most-significant byte.
RgbaPalette