Skip to main content

Crate gpui_linux

Crate gpui_linux 

Source

Structs§

DmaBufHandle
The Linux surface transport, re-exported so an application reaches it through the platform crate it already depends on rather than through the engine. A dma-buf a producer hands the renderer to composite as a surface.
DmaBufPlane
The Linux surface transport, re-exported so an application reaches it through the platform crate it already depends on rather than through the engine. One plane of a dma-buf: a descriptor, its offset into the buffer, and its row stride.
SurfaceFormat
The Linux surface transport, re-exported so an application reaches it through the platform crate it already depends on rather than through the engine. Every dimension of a surface format: the full shape a GPU importer needs to sample a buffer.

Traits§

ImportedTextureExt
The producer’s half of the imported-texture path where wgpu is the renderer, which on Linux is the default one. Re-exported here for the same reason gpui_macos re-exports Metal’s: this is the crate an application already reaches the platform through, so it does not have to know that the renderer lives in a crate of its own. Builds an ImportedTextureHandle from a wgpu resource.

Functions§

current_platform
Returns the default platform implementation for the current OS.