theme: move shared state into workspace crate
This commit is contained in:
parent
854e0474be
commit
37ec1a4a3f
11 changed files with 977 additions and 942 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue