gfx: attach color descriptions
This commit is contained in:
parent
82085a3858
commit
a174881138
24 changed files with 291 additions and 62 deletions
|
|
@ -79,6 +79,7 @@ pub fn take_screenshot(
|
|||
fb.render_node(
|
||||
AcquireSync::Unnecessary,
|
||||
ReleaseSync::Implicit,
|
||||
state.color_manager.srgb_srgb(),
|
||||
state.root.deref(),
|
||||
state,
|
||||
Some(state.root.extents.get()),
|
||||
|
|
@ -89,6 +90,7 @@ pub fn take_screenshot(
|
|||
false,
|
||||
Transform::None,
|
||||
None,
|
||||
state.color_manager.srgb_linear(),
|
||||
)?;
|
||||
let drm = match allocator.drm() {
|
||||
Some(drm) => Some(drm.dup_render()?.fd().clone()),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue