perf(ipc): cache unchanged output event payloads
This commit is contained in:
1 parent
835aadc3eb
commit
e9f36efdb6
6 files changed
+397
-16
No files matched your search
@@ -246,7 +246,7 @@ impl DirectBackendState {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug)]
|
||||
#[derive(Clone, Debug, PartialEq)]
|
||||
pub(crate) struct ConnectedOutputInfo {
|
||||
pub connector: String,
|
||||
pub connected: bool,
|
||||
@@ -266,7 +266,7 @@ pub(crate) struct ConnectedOutputInfo {
|
||||
pub configured_position: Option<[i32; 2]>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub(crate) struct ConnectedModeInfo {
|
||||
pub width: u16,
|
||||
pub height: u16,
|
||||
|
||||
Reference in new issue
Block a user