27 fD3DFenceInfo =
nullptr;
28 fIsInitialized =
false;
34 fIsInitialized =
false;
39 SkASSERT(!fIsInitialized || fBackend == that.fBackend);
40 fBackend = that.fBackend;
41 fSemaphoreData.
reset();
42 switch (that.fBackend) {
48 that.fSemaphoreData->
copyTo(fSemaphoreData);
52 this->assignD3DFenceInfo(*that.fD3DFenceInfo);
58 fIsInitialized =
true;
66 *fD3DFenceInfo =
info;
72bool GrBackendSemaphore::getD3DFenceInfo(
GrD3DFenceInfo* outInfo)
const {
74 *outInfo = *fD3DFenceInfo;
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
#define SK_ABORT(message,...)
virtual void copyTo(AnySemaphoreData &) const =0
virtual ~GrBackendSemaphoreData()
GrBackendSemaphore & operator=(const GrBackendSemaphore &)