Module smithay::backend::renderer[][src]

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

Implementation of the rendering traits using OpenGL ES 2

Enums

Buffer type of a given wl_buffer, if managed by smithay

Possible transformations to two-dimensional planes

Traits

Abstraction for Renderers, that can render into different targets

Helper trait for Renderer, which defines a rendering api for a currently in-progress frame during Renderer::render.

Common trait for renderers of any wayland buffer type

Trait for Renderers supporting importing dmabuf-based buffers.

Trait for Renderers supporting importing wl_drm-based buffers.

Trait for Renderers supporting importing shm-based buffers.

Abstraction of commonly used rendering operations for compositors.

A two dimensional texture

Functionality to unbind the current rendering target

Functions

Returns the dimensions of a wl_buffer

Returns the type of a wl_buffer