Extract io_surface
crate and invoke custom callback on frame sample
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
e12eaf8c58
commit
c4110edb78
11 changed files with 85 additions and 33 deletions
|
@ -1,5 +1,5 @@
|
|||
mod atlas;
|
||||
pub mod dispatcher;
|
||||
mod dispatcher;
|
||||
mod event;
|
||||
mod fonts;
|
||||
mod geometry;
|
||||
|
|
|
@ -39,6 +39,7 @@ struct PathSprite {
|
|||
|
||||
pub struct Surface {
|
||||
pub bounds: RectF,
|
||||
pub native_surface: io_surface::IOSurface,
|
||||
}
|
||||
|
||||
impl Renderer {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue