Revert "kms: Dmabuf Feedback support"

This reverts commit c8bb417d9b.
This commit is contained in:
Victoria Brekenfeld 2023-03-23 14:58:29 +01:00
parent 807291af19
commit 7ad37946d3
8 changed files with 26 additions and 234 deletions

View file

@ -6,13 +6,12 @@ use crate::{
element::{window::CosmicWindowRenderElement, CosmicMapped, CosmicMappedRenderElement},
focus::target::{KeyboardFocusTarget, PointerFocusTarget},
},
state::SurfaceDmabufFeedback,
utils::prelude::*,
};
use smithay::{
backend::renderer::{
element::{AsRenderElements, RenderElement, RenderElementStates},
element::{AsRenderElements, RenderElement},
ImportAll, ImportMem, Renderer,
},
desktop::space::SpaceElement,
@ -92,21 +91,6 @@ impl MoveGrabState {
.active_window()
.send_frame(output, time, throttle, primary_scan_out_output)
}
pub fn send_dmabuf_feedback(
&self,
output: &Output,
feedback: &SurfaceDmabufFeedback,
render_element_states: &RenderElementStates,
primary_scan_out_output: impl FnMut(&WlSurface, &SurfaceData) -> Option<Output> + Copy,
) {
self.window.active_window().send_dmabuf_feedback(
output,
feedback,
render_element_states,
primary_scan_out_output,
)
}
}
pub struct MoveSurfaceGrab {