Module smithay::backend::renderer

source ·
Expand description

Rendering functionality and abstractions

Collection of common traits and implementations to facilitate (possible hardware-accelerated) rendering.

Supported rendering apis:

  • Raw OpenGL ES 2

Modules§

  • Helper for effective output damage tracking
  • Common base for elements that can be drawn by a Renderer
  • glesrenderer_gl
    Implementation of the rendering traits using OpenGL ES 2
  • glowrenderer_glow
    Integration for using [glow] on top of smithays OpenGL ES 2 renderer
  • multigpurenderer_multi
    This module aims to make multi-gpu setups easier to handle for compositors.
  • pixmanrenderer_pixman
    Implementation of the rendering traits using pixman
  • Helper for synchronizing rendering operations
  • testrenderer_test
  • Utility module for helpers around drawing WlSurfaces and RenderElements with Renderers.

Structs§

  • Debug flags that can be enabled at runtime

Enums§

  • BufferTypewayland_frontend
    Buffer type of a given wl_buffer, if managed by smithay
  • Texture filtering methods

Traits§

  • Abstraction for Renderers, that can render into different targets
  • Trait for renderers supporting blitting contents from one framebuffer to another.
  • Trait for renderers supporting exporting contents of framebuffers or textures into memory.
  • Helper trait for Renderer, which defines a rendering api for a currently in-progress frame during Renderer::render.
  • ImportAllwayland_frontend
    Common trait for renderers of any wayland buffer type
  • Trait for Renderers supporting importing dmabufs.
  • ImportDmaWlwayland_frontend
    Trait for Renderers supporting importing dmabuf-based wl_buffers
  • ImportEglwayland_frontend and backend_egl and use_system_lib
    Trait for Renderers supporting importing wl_drm-based buffers.
  • Trait for Renderers supporting importing bitmaps from memory.
  • ImportMemWlwayland_frontend
    Trait for Renderers supporting importing wl_buffers using shared memory.
  • Trait for renderers that support creating offscreen framebuffers to render into.
  • Abstraction of commonly used rendering operations for compositors.
  • A two dimensional texture
  • A downloaded texture buffer
  • Functionality to unbind the current rendering target

Functions§