Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dmabuf: Make DmabufGlobal Clone & Copy #645

Merged
merged 1 commit into from
Jun 22, 2022
Merged

dmabuf: Make DmabufGlobal Clone & Copy #645

merged 1 commit into from
Jun 22, 2022

Conversation

Drakulix
Copy link
Member

No description provided.

@Drakulix Drakulix requested a review from i509VCB June 22, 2022 10:01
@codecov-commenter
Copy link

codecov-commenter commented Jun 22, 2022

Codecov Report

Merging #645 (a249f86) into master (c30fc14) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master     #645   +/-   ##
=======================================
  Coverage   31.05%   31.06%           
=======================================
  Files          84       84           
  Lines       13769    13770    +1     
=======================================
+ Hits         4276     4277    +1     
  Misses       9493     9493           
Flag Coverage Δ
wlcs-core 28.49% <0.00%> (-0.01%) ⬇️
wlcs-output 10.47% <0.00%> (-0.01%) ⬇️
wlcs-pointer-input 30.66% <0.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/wayland/dmabuf/mod.rs 1.61% <0.00%> (-0.01%) ⬇️
src/utils/geometry.rs 51.82% <0.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c30fc14...a249f86. Read the comment docs.

Copy link
Member

@i509VCB i509VCB left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An open question: what happens if we disable globals more than once?

@@ -244,10 +245,9 @@ pub struct DmabufParamsData {
/// A handle to a registered dmabuf global.
///
/// This type may be used in equitability checks to determine which global a dmabuf is being imported to.
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash, Clone, Copy)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: what ordering do derive traits generally appear in?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤷‍♀️

@Drakulix Drakulix merged commit 27de600 into master Jun 22, 2022
@Drakulix Drakulix deleted the fix/dmabuf_clone branch June 23, 2022 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants