opengl: implement AsyncShmGfxTexture
This commit is contained in:
parent
f213372b8e
commit
0a0caf3800
5 changed files with 111 additions and 8 deletions
|
|
@ -537,8 +537,8 @@ pub trait ShmGfxTexture: GfxTexture {
|
|||
fn into_texture(self: Rc<Self>) -> Rc<dyn GfxTexture>;
|
||||
}
|
||||
|
||||
#[expect(dead_code)]
|
||||
pub trait AsyncShmGfxTextureCallback {
|
||||
#[expect(dead_code)]
|
||||
fn completed(self: Rc<Self>, res: Result<(), GfxError>);
|
||||
}
|
||||
|
||||
|
|
@ -560,7 +560,6 @@ pub trait AsyncShmGfxTexture: GfxTexture {
|
|||
damage: Region,
|
||||
) -> Result<Option<PendingShmUpload>, GfxError>;
|
||||
|
||||
#[expect(dead_code)]
|
||||
fn sync_upload(self: Rc<Self>, shm: &[Cell<u8>], damage: Region) -> Result<(), GfxError>;
|
||||
|
||||
#[expect(dead_code)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue