wlcs_anvil: Use buffer transformations

This commit is contained in:
Victoria Brekenfeld 2022-01-17 13:52:07 +01:00
parent 4b22624e74
commit 4161bc30ec
2 changed files with 5 additions and 5 deletions

View File

@ -5,7 +5,7 @@ use std::{
use smithay::{
backend::{
renderer::{Frame, Renderer, Transform},
renderer::{Frame, Renderer},
SwapBuffersError,
},
reexports::{
@ -18,7 +18,7 @@ use smithay::{
Client, Display,
},
},
utils::Rectangle,
utils::{Rectangle, Transform},
wayland::{
output::{Mode, PhysicalProperties},
seat::CursorImageStatus,

View File

@ -3,11 +3,11 @@ use std::cell::Cell;
use smithay::{
backend::{
allocator::dmabuf::Dmabuf,
renderer::{Frame, ImportDma, ImportShm, Renderer, Texture, TextureFilter, Transform},
renderer::{Frame, ImportDma, ImportShm, Renderer, Texture, TextureFilter},
SwapBuffersError,
},
reexports::wayland_server::protocol::wl_buffer,
utils::{Buffer, Physical, Rectangle, Size},
utils::{Buffer, Physical, Rectangle, Size, Transform},
wayland::compositor::SurfaceData,
};
@ -106,7 +106,7 @@ impl Frame for DummyFrame {
_texture: &Self::TextureId,
_src: Rectangle<i32, Buffer>,
_dst: Rectangle<f64, Physical>,
_damage: &[Rectangle<i32, Physical>],
_damage: &[Rectangle<i32, Buffer>],
_src_transform: Transform,
_alpha: f32,
) -> Result<(), Self::Error> {