Some checks failed
JPEG 2000 feature / linux (push) Has been cancelled
JPEG 2000 feature / macos (push) Has been cancelled
JPEG 2000 feature / windows (push) Has been cancelled
Skia feature / linux (push) Has been cancelled
Skia feature / macos (push) Has been cancelled
Skia feature / windows (push) Has been cancelled
22 lines
553 B
Rust
22 lines
553 B
Rust
//! Skia imaging adapter corresponding to `LibreMetaverse.Imaging.Skia`.
|
|
|
|
extern crate self as libremetaverse_imaging_skia;
|
|
|
|
pub mod backend;
|
|
|
|
mod generated;
|
|
mod skia_codec;
|
|
|
|
pub use generated::*;
|
|
pub use libremetaverse_imaging as imaging;
|
|
pub use libremetaverse_types::Error;
|
|
|
|
impl libremetaverse_imaging::ITextureCodec for SkiaTextureCodec {
|
|
fn decode(
|
|
&self,
|
|
stream: Box<dyn libremetaverse_types::compat::ReadWrite + Send>,
|
|
) -> Result<libremetaverse_imaging::ManagedImage, Error> {
|
|
Self::decode(self, stream)
|
|
}
|
|
}
|