Add support for flipping borrowed OpenGL textures vertically (#3205)

Closes #2986

Co-authored-by: Olivier Goffart <olivier.goffart@slint-ui.com>
This commit is contained in:
Simon Hausmann 2023-08-02 13:11:13 +02:00 committed by GitHub
parent 7ec5b01ff0
commit 0c9199b17f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 151 additions and 23 deletions

View file

@ -269,6 +269,8 @@ pub use slint_macros::slint;
pub use i_slint_core::api::*;
pub use i_slint_core::component_factory::ComponentFactory;
#[cfg(not(target_arch = "wasm32"))]
pub use i_slint_core::graphics::{BorrowedOpenGLTextureBuilder, BorrowedOpenGLTextureOrigin};
pub use i_slint_core::graphics::{
Brush, Color, Image, LoadImageError, Rgb8Pixel, Rgba8Pixel, RgbaColor, SharedPixelBuffer,
};