vulkan: create a vulkan allocator
This commit is contained in:
parent
952bd31f48
commit
766a093780
15 changed files with 984 additions and 101 deletions
|
|
@ -10,7 +10,7 @@ async fn test(run: Rc<TestRun>) -> TestResult {
|
|||
|
||||
tassert!(!run.cfg.graphics_initialized.get());
|
||||
|
||||
run.backend.install_render_context(true)?;
|
||||
run.backend.install_render_context(false)?;
|
||||
|
||||
tassert!(run.cfg.graphics_initialized.get());
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ use {
|
|||
testcase!();
|
||||
|
||||
async fn test(run: Rc<TestRun>) -> TestResult {
|
||||
let _ds = run.create_default_setup2(false).await?;
|
||||
let _ds = run.create_default_setup2(true).await?;
|
||||
|
||||
struct Waiter(Cell<bool>);
|
||||
impl SyncObjWaiter for Waiter {
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ use {
|
|||
testcase!();
|
||||
|
||||
async fn test(run: Rc<TestRun>) -> TestResult {
|
||||
let ds = run.create_default_setup2(false).await?;
|
||||
let ds = run.create_default_setup2(true).await?;
|
||||
|
||||
let scanout_feedback = {
|
||||
let Some(base_fb) = run.state.drm_feedback.get() else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue