pub trait AsyncBlobImageRasterizer: Send {
// Required method
fn rasterize(
&mut self,
requests: &[BlobImageParams],
low_priority: bool,
tile_pool: &mut BlobTilePool,
) -> Vec<(BlobImageRequest, BlobImageResult)>;
}Expand description
A group of rasterization requests to execute synchronously on the scene builder thread.
Required Methods§
Sourcefn rasterize(
&mut self,
requests: &[BlobImageParams],
low_priority: bool,
tile_pool: &mut BlobTilePool,
) -> Vec<(BlobImageRequest, BlobImageResult)>
fn rasterize( &mut self, requests: &[BlobImageParams], low_priority: bool, tile_pool: &mut BlobTilePool, ) -> 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.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".