mirror of
https://github.com/Smithay/smithay.git
synced 2024-09-28 03:21:14 +02:00
multigpu: clean-up src renderer in finish
Some checks are pending
Continuous Integration / format (push) Waiting to run
Continuous Integration / clippy-check (push) Waiting to run
Continuous Integration / check-msrv (push) Blocked by required conditions
Continuous Integration / check-minimal (push) Blocked by required conditions
Continuous Integration / smithay-check-features (push) Waiting to run
Continuous Integration / smithay-tests (push) Blocked by required conditions
Continuous Integration / smallvil-check (push) Blocked by required conditions
Continuous Integration / anvil-check-features (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (buffer, BadBufferTest*, Bad Buffer Test) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (core, SelfTest*:FrameSubmission*, Core tests) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (output, XdgOutputV1Test*, Output tests) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (pointer-input, */SurfacePointerMotionTest*:RelativePointer*, Pointer input tests) (push) Blocked by required conditions
Continuous Integration / Documentation on Github Pages (push) Blocked by required conditions
Some checks are pending
Continuous Integration / format (push) Waiting to run
Continuous Integration / clippy-check (push) Waiting to run
Continuous Integration / check-msrv (push) Blocked by required conditions
Continuous Integration / check-minimal (push) Blocked by required conditions
Continuous Integration / smithay-check-features (push) Waiting to run
Continuous Integration / smithay-tests (push) Blocked by required conditions
Continuous Integration / smallvil-check (push) Blocked by required conditions
Continuous Integration / anvil-check-features (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (buffer, BadBufferTest*, Bad Buffer Test) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (core, SelfTest*:FrameSubmission*, Core tests) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (output, XdgOutputV1Test*, Output tests) (push) Blocked by required conditions
Continuous Integration / WLCS: ${{ matrix.job_name }} (pointer-input, */SurfacePointerMotionTest*:RelativePointer*, Pointer input tests) (push) Blocked by required conditions
Continuous Integration / Documentation on Github Pages (push) Blocked by required conditions
This commit is contained in:
parent
7f403e8e33
commit
f58a259c2b
1 changed files with 18 additions and 1 deletions
|
@ -1240,6 +1240,10 @@ where
|
|||
)
|
||||
.map_err(Error::Target)?;
|
||||
let sync = frame.finish().map_err(Error::Target)?;
|
||||
render
|
||||
.renderer_mut()
|
||||
.cleanup_texture_cache()
|
||||
.map_err(Error::Render)?;
|
||||
|
||||
return Ok(sync);
|
||||
}
|
||||
|
@ -1291,6 +1295,10 @@ where
|
|||
}
|
||||
|
||||
if mappings.is_empty() {
|
||||
render
|
||||
.renderer_mut()
|
||||
.cleanup_texture_cache()
|
||||
.map_err(Error::Render)?;
|
||||
return Ok(sync::SyncPoint::signaled());
|
||||
}
|
||||
|
||||
|
@ -1335,9 +1343,18 @@ where
|
|||
.map_err(Error::Target)?;
|
||||
}
|
||||
}
|
||||
return frame.finish().map_err(Error::Target);
|
||||
let sync = frame.finish().map_err(Error::Target)?;
|
||||
render
|
||||
.renderer_mut()
|
||||
.cleanup_texture_cache()
|
||||
.map_err(Error::Render)?;
|
||||
return Ok(sync);
|
||||
}
|
||||
|
||||
render
|
||||
.renderer_mut()
|
||||
.cleanup_texture_cache()
|
||||
.map_err(Error::Render)?;
|
||||
return Ok(sync);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue