Flutter Engine
The Flutter Engine
Functions
GrBackendSemaphores Namespace Reference

Functions

SK_API GrBackendSemaphore MakeMtl (GrMTLHandle event, uint64_t value)
 
SK_API GrMTLHandle GetMtlHandle (const GrBackendSemaphore &)
 
SK_API uint64_t GetMtlValue (const GrBackendSemaphore &)
 
SK_API GrBackendSemaphore MakeVk (VkSemaphore semaphore)
 
SK_API VkSemaphore GetVkSemaphore (const GrBackendSemaphore &)
 

Function Documentation

◆ GetMtlHandle()

GrMTLHandle GrBackendSemaphores::GetMtlHandle ( const GrBackendSemaphore sem)

Definition at line 49 of file GrMtlBackendSemaphore.mm.

49 {
53 return data->event();
54}
static const GrMtlBackendSemaphoreData * get_and_cast_data(const GrBackendSemaphore &sem)
#define SkASSERT(cond)
Definition: SkAssert.h:116
GrBackendApi backend() const
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ GetMtlValue()

uint64_t GrBackendSemaphores::GetMtlValue ( const GrBackendSemaphore sem)

Definition at line 56 of file GrMtlBackendSemaphore.mm.

56 {
60 return data->value();
61}

◆ GetVkSemaphore()

VkSemaphore GrBackendSemaphores::GetVkSemaphore ( const GrBackendSemaphore sem)

Definition at line 43 of file GrVkBackendSemaphore.cpp.

43 {
47 return data->semaphore();
48}
static const GrVkBackendSemaphoreData * get_and_cast_data(const GrBackendSemaphore &sem)

◆ MakeMtl()

GrBackendSemaphore GrBackendSemaphores::MakeMtl ( GrMTLHandle  event,
uint64_t  value 
)

Definition at line 44 of file GrMtlBackendSemaphore.mm.

44 {
47}
static GrBackendSemaphore MakeGrBackendSemaphore(GrBackendApi backend, const SemaphoreData &data)
FlKeyEvent * event
uint8_t value

◆ MakeVk()

GrBackendSemaphore GrBackendSemaphores::MakeVk ( VkSemaphore  semaphore)