Implement basic presentation with softbuffer for iced_tiny_skia
This commit is contained in:
parent
8c373cd497
commit
535d7a4d57
6 changed files with 90 additions and 30 deletions
|
|
@ -28,6 +28,8 @@ pub trait Compositor: Sized {
|
|||
fn create_surface<W: HasRawWindowHandle + HasRawDisplayHandle>(
|
||||
&mut self,
|
||||
window: &W,
|
||||
width: u32,
|
||||
height: u32,
|
||||
) -> Self::Surface;
|
||||
|
||||
/// Configures a new [`Surface`] with the given dimensions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue