Use best guess for ggp extension types (#333)

This commit is contained in:
Maik Klein 2020-10-25 22:22:21 +01:00 committed by GitHub
parent 61476184e0
commit 648c4a5019
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 8 deletions

View file

@ -27,8 +27,6 @@ pub type zx_handle_t = u32;
pub type SECURITY_ATTRIBUTES = (); pub type SECURITY_ATTRIBUTES = ();
pub type ANativeWindow = c_void; pub type ANativeWindow = c_void;
pub type AHardwareBuffer = c_void; pub type AHardwareBuffer = c_void;
#[doc = r" This definition is experimental and won't adhere to semver rules."]
pub type GgpStreamDescriptor = u32;
#[doc = r" This definition is experimental and won't adhere to semver rules."]
pub type GgpFrameToken = u32;
pub type CAMetalLayer = c_void; pub type CAMetalLayer = c_void;
pub type GgpStreamDescriptor = u32;
pub type GgpFrameToken = u64;

View file

@ -362,11 +362,11 @@ pub fn platform_specific_types() -> Tokens {
// Opage types // Opage types
pub type ANativeWindow = c_void; pub type ANativeWindow = c_void;
pub type AHardwareBuffer = c_void; pub type AHardwareBuffer = c_void;
/// This definition is experimental and won't adhere to semver rules.
pub type GgpStreamDescriptor = u32;
/// This definition is experimental and won't adhere to semver rules.
pub type GgpFrameToken = u32;
pub type CAMetalLayer = c_void; pub type CAMetalLayer = c_void;
// This definition is behind an NDA with a best effort guess from
// https://github.com/google/gapid/commit/22aafebec4638c6aaa77667096bca30f6e842d95#diff-ab3ab4a7d89b4fc8a344ff4e9332865f268ea1669ee379c1b516a954ecc2e7a6R20-R21
pub type GgpStreamDescriptor = u32;
pub type GgpFrameToken = u64;
} }
} }
#[derive(Debug, Copy, Clone)] #[derive(Debug, Copy, Clone)]