wl-shm: add support for more formats
This commit is contained in:
parent
09a56edd47
commit
0570669af2
20 changed files with 114 additions and 81 deletions
|
|
@ -77,6 +77,7 @@ impl TestGfxCtx {
|
|||
)
|
||||
})
|
||||
.collect(),
|
||||
supports_shm: true,
|
||||
},
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ testcase!();
|
|||
|
||||
/// Test that wl_shm supports the required formats
|
||||
async fn test(run: Rc<TestRun>) -> Result<(), TestError> {
|
||||
run.backend.install_render_context(false)?;
|
||||
let client = run.create_client().await?;
|
||||
let formats = client.shm.formats().await;
|
||||
tassert!(formats.contains(&XRGB8888.wl_id.unwrap()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue