Add Linux platform, gate usage of CVImageBuffer by macOS

This commit is contained in:
Dzmitry Malyshau 2024-01-24 22:04:47 -08:00
parent ef4ef5f0e8
commit d675abf70c
7 changed files with 265 additions and 5 deletions

View file

@ -671,6 +671,7 @@ pub(crate) struct Surface {
pub order: DrawOrder,
pub bounds: Bounds<ScaledPixels>,
pub content_mask: ContentMask<ScaledPixels>,
#[cfg(target_os = "macos")]
pub image_buffer: media::core_video::CVImageBuffer,
}