Start on Scene::push_surface
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
d473b52f5a
commit
e12eaf8c58
@@ -13,6 +13,7 @@ use cocoa::base::{BOOL, NO, YES};
|
||||
pub use dispatcher::Dispatcher;
|
||||
pub use fonts::FontSystem;
|
||||
use platform::{MacForegroundPlatform, MacPlatform};
|
||||
pub use renderer::Surface;
|
||||
use std::{rc::Rc, sync::Arc};
|
||||
use window::Window;
|
||||
|
||||
|
||||
@@ -37,6 +37,10 @@ struct PathSprite {
|
||||
shader_data: shaders::GPUISprite,
|
||||
}
|
||||
|
||||
pub struct Surface {
|
||||
pub bounds: RectF,
|
||||
}
|
||||
|
||||
impl Renderer {
|
||||
pub fn new(
|
||||
device: metal::Device,
|
||||
|
||||
Reference in New Issue
Block a user