render: implement a vulkan renderer
This commit is contained in:
parent
4ba8550da8
commit
cf332e8436
66 changed files with 4287 additions and 239 deletions
|
|
@ -10,7 +10,6 @@ use {
|
|||
compositor::TestFuture,
|
||||
fixed::Fixed,
|
||||
gfx_api::GfxError,
|
||||
gfx_apis::create_gfx_context,
|
||||
it::test_error::TestResult,
|
||||
state::State,
|
||||
time::now_usec,
|
||||
|
|
@ -178,7 +177,7 @@ impl TestBackend {
|
|||
}
|
||||
};
|
||||
let drm = Drm::open_existing(file);
|
||||
let ctx = match create_gfx_context(&drm) {
|
||||
let ctx = match self.state.create_gfx_context(&drm, None) {
|
||||
Ok(ctx) => ctx,
|
||||
Err(e) => return Err(TestBackendError::RenderContext(e)),
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue