Module zng_view::extensions
source · Expand description
Extensions API
Extensions that run in the view-process, with internal access to things like the raw handle of windows or direct access to renderers. These extensions are build on top of the view API extensions as a way to customize the view-process without needing to fork it or re-implement the entire view API from scratch.
Structs§
- Arguments for
BlobExtension::add
. - Arguments for
BlobExtension::prepare_resources
. - Arguments for
AsyncBlobRasterizer::rasterize
. - Arguments for
BlobExtension::update
. - Sender of
Event::ExtensionEvent
events. - Tracks extension external images for a renderer.
- Arguments for
RendererExtension::frame_ready
. - Arguments for
RendererExtension::redraw
. - Arguments for
RendererExtension::render_start
andRendererExtension::render_end
. - Arguments for
RendererExtension::render_push
andRendererExtension::render_pop
. - Arguments for
RendererExtension::render_update
. - Arguments for
RendererExtension::command
. - Arguments for
RendererExtension::configure
- Arguments for
RendererExtension::renderer_deinited
. - Arguments for
RendererExtension::renderer_inited
. - Arguments for
ViewExtension::init
. - View extensions register.
- Arguments for
WindowExtension::command
. - Arguments for
WindowExtension::configure
- Arguments for
WindowExtension::window_deinited
. - Arguments for
WindowExtension::event
. - Arguments for
WindowExtension::window_inited
.
Traits§
- Snapshot of a
BlobExtension
that can render/copy pixels. - Represents a Webrender blob handler that can coexist with other blob handlers on the same renderer.
- Represents a managed OpenGL context connected to a window or headless surface.
- Conversion from
Px
towebrender
units. - Represents a view extension associated with a renderer instance.
- The extension API.
- Represents a view extension associated with a headed or headless window instance.
- Conversion from
webrender
toPx
units.