parent
ea9063de0f
commit
f33c4bd470
9 changed files with 368 additions and 80 deletions
|
|
@ -1,6 +1,6 @@
|
|||
///! Decode using librsvg
|
||||
use super::*;
|
||||
use crate::decoder::tiling::{self, TilingStoreExt};
|
||||
use crate::decoder::tiling::{self, FrameBufferExt};
|
||||
use crate::decoder::TileRequest;
|
||||
use crate::deps::*;
|
||||
|
||||
|
|
@ -47,7 +47,7 @@ impl Svg {
|
|||
pub fn new(
|
||||
path: PathBuf,
|
||||
updater: UpdateSender,
|
||||
tiles: Arc<ArcSwap<tiling::TilingStore>>,
|
||||
tiles: Arc<ArcSwap<tiling::FrameBuffer>>,
|
||||
) -> Self {
|
||||
let current_request: Arc<std::sync::RwLock<Request>> = Default::default();
|
||||
let request_store = current_request.clone();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue