alpha2-native-gpu 0.4.3

Native decoded-surface import and GPU synchronization boundary for alpha2.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Device identity shared by decode and render imports.

/// Stable identity of a native GPU device for cache and import validation.
#[derive(Copy, Clone, Debug, Eq, Hash, PartialEq)]
pub struct NativeGpuIdentity {
    /// Backend-specific physical-device identity.
    pub physical_device: u64,
    /// Logical-device identity. Handles from different values cannot be mixed.
    pub device: u64,
    /// Monotonic epoch changed whenever the render device is recreated.
    pub epoch: u64,
}