azul_webrender_api

Trait AsyncBlobImageRasterizer

Source
pub trait AsyncBlobImageRasterizer: Send {
    // Required method
    fn rasterize(
        &mut self,
        requests: &[BlobImageParams],
        low_priority: bool,
    ) -> Vec<(BlobImageRequest, BlobImageResult)>;
}
Expand description

A group of rasterization requests to execute synchronously on the scene builder thread.

Required Methods§

Source

fn rasterize( &mut self, requests: &[BlobImageParams], low_priority: bool, ) -> Vec<(BlobImageRequest, BlobImageResult)>

Rasterize the requests.

Gecko uses te priority hint to schedule work in a way that minimizes the risk of high priority work being blocked by (or enqued behind) low priority work.

Implementors§