Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
GrMtlBackendSemaphore.mm File Reference
#include "include/gpu/ganesh/mtl/GrMtlBackendSemaphore.h"
#include "include/gpu/GrTypes.h"
#include "include/private/base/SkAssert.h"
#include "src/gpu/ganesh/GrBackendSemaphorePriv.h"

Go to the source code of this file.

Classes

class  GrMtlBackendSemaphoreData
 

Namespaces

namespace  GrBackendSemaphores
 

Functions

static const GrMtlBackendSemaphoreDataget_and_cast_data (const GrBackendSemaphore &sem)
 
SK_API GrBackendSemaphore GrBackendSemaphores::MakeMtl (GrMTLHandle event, uint64_t value)
 
SK_API GrMTLHandle GrBackendSemaphores::GetMtlHandle (const GrBackendSemaphore &)
 
SK_API uint64_t GrBackendSemaphores::GetMtlValue (const GrBackendSemaphore &)
 

Function Documentation

◆ get_and_cast_data()

static const GrMtlBackendSemaphoreData * get_and_cast_data ( const GrBackendSemaphore sem)
static

Definition at line 37 of file GrMtlBackendSemaphore.mm.

37 {
39 SkASSERT(!data || data->type() == GrBackendApi::kMetal);
40 return static_cast<const GrMtlBackendSemaphoreData*>(data);
41}
#define SkASSERT(cond)
Definition SkAssert.h:116
static const GrBackendSemaphoreData * GetBackendData(const GrBackendSemaphore &sem)
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
Definition switches.h:41