1
0
Fork 0
forked from wry/wry

it: use a software renderer

This commit is contained in:
Julian Orth 2024-06-05 18:23:13 +02:00
parent 5e336e19b7
commit 3430c3661b
5 changed files with 577 additions and 5 deletions

View file

@ -156,7 +156,6 @@ impl GbmBoMap {
&*self.data
}
#[allow(dead_code)]
pub fn data_ptr(&self) -> *mut u8 {
self.data as _
}
@ -307,7 +306,6 @@ impl GbmBo {
self.map2(GBM_BO_TRANSFER_READ)
}
#[allow(dead_code)]
pub fn map_write(self: &Rc<Self>) -> Result<GbmBoMap, GbmError> {
self.map2(GBM_BO_TRANSFER_READ_WRITE)
}