1
0
Fork 0
forked from wry/wry

theme: move shared state into workspace crate

This commit is contained in:
kossLAN 2026-05-29 11:37:04 -04:00
parent 854e0474be
commit 37ec1a4a3f
No known key found for this signature in database
11 changed files with 977 additions and 942 deletions

View file

@ -47,6 +47,8 @@ use {
uapi::{OwnedFd, c},
};
pub use jay_gfx_types::AlphaMode;
#[derive(Copy, Clone, Debug, Hash, Eq, PartialEq, Linearize)]
pub enum GfxApi {
OpenGl,
@ -409,14 +411,6 @@ pub enum ResetStatus {
Other(u32),
}
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, Default)]
pub enum AlphaMode {
#[default]
PremultipliedElectrical,
PremultipliedOptical,
Straight,
}
pub trait GfxBlendBuffer: Any + Debug {}
pub trait GfxFramebuffer: Debug {