Skip to content

Commit

Permalink
clean up imports
Browse files Browse the repository at this point in the history
  • Loading branch information
samizdatco committed Dec 5, 2024
1 parent e5fdae0 commit a9e1f47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/gpu/vulkan/engine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use vulkano::{

use skia_safe::gpu::vk::{BackendContext, GetProcOf};
use skia_safe::gpu::{direct_contexts, surfaces, Budgeted, DirectContext, SurfaceOrigin};
use skia_safe::{ColorSpace, ISize, ImageInfo, Surface, Data};
use skia_safe::{ColorSpace, ISize, ImageInfo, Surface};


thread_local!( static VK_CONTEXT: RefCell<Option<VulkanContext>> = const { RefCell::new(None) }; );
Expand Down
5 changes: 2 additions & 3 deletions src/gpu/vulkan/renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![allow(unused_imports)]
use ash::vk::Handle;
use std::{
cell::RefCell, collections::HashMap, ptr, sync::Arc
cell::RefCell, ptr, sync::Arc
};
use vulkano::{
device::{
Expand All @@ -22,7 +22,6 @@ use vulkano::{

use skia_safe::{
gpu::{self, backend_render_targets, direct_contexts, surfaces, vk},
Color, Matrix,
};

use super::{supported_vulkano_formats, to_sk_format};
Expand All @@ -31,7 +30,7 @@ use super::{supported_vulkano_formats, to_sk_format};
use winit::{
dpi::{LogicalSize, PhysicalSize},
event_loop::ActiveEventLoop,
window::{Window, WindowId},
window::{Window},
};

thread_local!(
Expand Down

0 comments on commit a9e1f47

Please sign in to comment.