class PlatformObject
Defined at line 15 of file ../../src/graphics/magma/lib/magma/platform/platform_object.h
Public Methods
void set_local_id (uint64_t id)
Sets an ID that is attached only to this PlatformObject instance, not the underlying
object. Can only be set once and must be non-zero.
uint64_t id ()
Returns the local ID if set; otherwise returns an ID that uniquely identifies the underlying
memory object.
uint64_t global_id ()
Returns an ID that uniquely identifies the underlying object.
bool duplicate_handle (uint32_t * handle_out)
on success, duplicate of the underlying handle which is owned by the caller
bool duplicate_handle (zx::handle * handle_out)
bool IdFromHandle (uint32_t handle, uint64_t * id_out)
Returns the id for the given handle
Defined at line 11 of file ../../src/graphics/magma/lib/magma/platform/zircon/zircon_platform_object.cc
Enumerations
enum Type
| Name | Value |
|---|---|
| BUFFER | 11 |
| SEMAPHORE | 12 |
Defined at line 17 of file ../../src/graphics/magma/lib/magma/platform/platform_object.h