Skia
2D Graphics Library
GrBackendSemaphore Class Reference

Wrapper class for passing into and receiving data from Ganesh about a backend semaphore object. More...

#include <GrBackendSemaphore.h>

Public Member Functions

 GrBackendSemaphore ()
 
void initGL (GrGLsync sync)
 
void initVulkan (VkSemaphore semaphore)
 
void initMetal (GrMTLHandle event, uint64_t value)
 
bool isInitialized () const
 
GrGLsync glSync () const
 
VkSemaphore vkSemaphore () const
 
GrMTLHandle mtlSemaphore () const
 
uint64_t mtlValue () const
 

Detailed Description

Wrapper class for passing into and receiving data from Ganesh about a backend semaphore object.

Constructor & Destructor Documentation

◆ GrBackendSemaphore()

GrBackendSemaphore::GrBackendSemaphore ( )
inline

Member Function Documentation

◆ glSync()

GrGLsync GrBackendSemaphore::glSync ( ) const
inline

◆ initGL()

void GrBackendSemaphore::initGL ( GrGLsync  sync)
inline

◆ initMetal()

void GrBackendSemaphore::initMetal ( GrMTLHandle  event,
uint64_t  value 
)
inline

◆ initVulkan()

void GrBackendSemaphore::initVulkan ( VkSemaphore  semaphore)
inline

◆ isInitialized()

bool GrBackendSemaphore::isInitialized ( ) const
inline

◆ mtlSemaphore()

GrMTLHandle GrBackendSemaphore::mtlSemaphore ( ) const
inline

◆ mtlValue()

uint64_t GrBackendSemaphore::mtlValue ( ) const
inline

◆ vkSemaphore()

VkSemaphore GrBackendSemaphore::vkSemaphore ( ) const
inline

Member Data Documentation

◆ fGLSync

GrGLsync GrBackendSemaphore::fGLSync

◆ fMtlEvent

GrMTLHandle GrBackendSemaphore::fMtlEvent

◆ fVkSemaphore

VkSemaphore GrBackendSemaphore::fVkSemaphore

The documentation for this class was generated from the following file: