-
Notifications
You must be signed in to change notification settings - Fork 175
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
Feature/software renderer #1228
Conversation
1b691a2
to
5525fee
Compare
dc4b5aa
to
78215a2
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #1228 +/- ##
==========================================
- Coverage 21.61% 21.54% -0.07%
==========================================
Files 155 155
Lines 24718 24797 +79
==========================================
Hits 5342 5342
- Misses 19376 19455 +79
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fa3498a
to
f0f4ae7
Compare
let (fb, format) = match ret { | ||
Ok(fb) => fb, | ||
Err(source) => { | ||
let fourcc = format.code; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it'd be worth putting a debug!() here since most/all drivers we use should support addfb2, and this fallback shouldn't happen
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You mean a log message? So more like a tracing::warn
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If a warn!, we should make sure to not send this on every occurrence, but once.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added a warn
wrapped in an Once::call_once
to warn once about the legacy fallback path
b0cefed
to
50c4999
Compare
Before I forget, can we please reexport the pixman crate either in the reexports module or in |
50c4999
to
4c6d879
Compare
Added under |
this allows the resulting dmabuf to be mapped read/write for rendering
this allows to create a dumb buffer allocator from an open drm device fd.
4c6d879
to
6ce537c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
This PR adds a new pixman based software renderer
TODO:
Anvilwill be done in a separate PR