Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
GrVkBackendSemaphore.cpp File Reference
#include "include/gpu/ganesh/vk/GrVkBackendSemaphore.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  GrVkBackendSemaphoreData
 

Namespaces

namespace  GrBackendSemaphores
 

Functions

static const GrVkBackendSemaphoreDataget_and_cast_data (const GrBackendSemaphore &sem)
 
SK_API GrBackendSemaphore GrBackendSemaphores::MakeVk (VkSemaphore semaphore)
 
SK_API VkSemaphore GrBackendSemaphores::GetVkSemaphore (const GrBackendSemaphore &)
 

Function Documentation

◆ get_and_cast_data()

static const GrVkBackendSemaphoreData * get_and_cast_data ( const GrBackendSemaphore sem)
static

Definition at line 31 of file GrVkBackendSemaphore.cpp.

31 {
33 SkASSERT(!data || data->type() == GrBackendApi::kVulkan);
34 return static_cast<const GrVkBackendSemaphoreData*>(data);
35}
#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