class PlatformHandle

Defined at line 19 of file ../../src/graphics/magma/lib/magma/platform/platform_handle.h

Public Members

static const uint32_t kInvalidHandle

Public Methods

bool GetCount (uint32_t * count_out)
void PlatformHandle ()

Defined at line 21 of file ../../src/graphics/magma/lib/magma/platform/platform_handle.h

uint32_t release ()
zx::handle release_handle ()
bool WaitAsync (PlatformPort * port, uint64_t key)

Registers an async wait delivered on the given |port| when the given handle is readable,

or if the handle has a peer and the peer is closed.

On success returns true.

std::string GetName ()
uint64_t global_id ()

Returns a globally-unique ID for this handle.

void ~PlatformHandle ()

Defined at line 22 of file ../../src/graphics/magma/lib/magma/platform/platform_handle.h

bool duplicate_handle (uint32_t handle_in, uint32_t * handle_out)

static

Defined at line 54 of file ../../src/graphics/magma/lib/magma/platform/zircon/zircon_platform_handle.cc

std::unique_ptr<PlatformHandle> Create (uint32_t handle)

Defined at line 63 of file ../../src/graphics/magma/lib/magma/platform/zircon/zircon_platform_handle.cc

std::unique_ptr<PlatformHandle> Create (zx::handle handle)

Defined at line 67 of file ../../src/graphics/magma/lib/magma/platform/zircon/zircon_platform_handle.cc

bool SupportsGetCount ()

Defined at line 61 of file ../../src/graphics/magma/lib/magma/platform/zircon/zircon_platform_handle.cc