it: test explicit sync
This commit is contained in:
parent
6448a14fb1
commit
3b0757ee53
22 changed files with 419 additions and 166 deletions
|
|
@ -20,6 +20,13 @@ pub struct TestCompositor {
|
|||
}
|
||||
|
||||
impl TestCompositor {
|
||||
pub fn new(tran: &Rc<TestTransport>) -> Self {
|
||||
Self {
|
||||
id: tran.id(),
|
||||
tran: tran.clone(),
|
||||
}
|
||||
}
|
||||
|
||||
pub async fn create_surface(&self) -> Result<Rc<TestSurface>, TestError> {
|
||||
let id = self.tran.id();
|
||||
self.tran.send(CreateSurface {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue