gfx_api: remove unused
This commit is contained in:
parent
41bc660401
commit
7f71a6556b
3 changed files with 0 additions and 16 deletions
|
|
@ -2035,10 +2035,6 @@ impl ConfigClient {
|
||||||
radius
|
radius
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn seat_toggle_expand(&self, seat: Seat) {
|
|
||||||
self.send(&ClientMessage::SeatToggleExpand { seat });
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn seat_toggle_tab(&self, seat: Seat) {
|
pub fn seat_toggle_tab(&self, seat: Seat) {
|
||||||
self.send(&ClientMessage::SeatToggleTab { seat });
|
self.send(&ClientMessage::SeatToggleTab { seat });
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -310,16 +310,6 @@ pub struct RoundedFillRect {
|
||||||
pub z_order: u32,
|
pub z_order: u32,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl RoundedFillRect {
|
|
||||||
pub fn effective_color(&self) -> Color {
|
|
||||||
let mut color = self.color;
|
|
||||||
if let Some(alpha) = self.alpha {
|
|
||||||
color = color * alpha;
|
|
||||||
}
|
|
||||||
color
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
pub struct RoundedCopyTexture {
|
pub struct RoundedCopyTexture {
|
||||||
pub tex: Rc<dyn GfxTexture>,
|
pub tex: Rc<dyn GfxTexture>,
|
||||||
pub source: SampleRect,
|
pub source: SampleRect,
|
||||||
|
|
@ -328,7 +318,6 @@ pub struct RoundedCopyTexture {
|
||||||
pub acquire_sync: AcquireSync,
|
pub acquire_sync: AcquireSync,
|
||||||
pub release_sync: ReleaseSync,
|
pub release_sync: ReleaseSync,
|
||||||
pub alpha: Option<f32>,
|
pub alpha: Option<f32>,
|
||||||
pub opaque: bool,
|
|
||||||
pub render_intent: RenderIntent,
|
pub render_intent: RenderIntent,
|
||||||
pub cd: Rc<ColorDescription>,
|
pub cd: Rc<ColorDescription>,
|
||||||
pub alpha_mode: AlphaMode,
|
pub alpha_mode: AlphaMode,
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,6 @@ impl RendererBase<'_> {
|
||||||
buffer_resv,
|
buffer_resv,
|
||||||
acquire_sync,
|
acquire_sync,
|
||||||
release_sync,
|
release_sync,
|
||||||
opaque: false,
|
|
||||||
render_intent,
|
render_intent,
|
||||||
cd: cd.clone(),
|
cd: cd.clone(),
|
||||||
alpha_mode,
|
alpha_mode,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue