#include <DDLPromiseImageHelper.h>
Definition at line 34 of file DDLPromiseImageHelper.h.
◆ PromiseImageCallbackContext()
◆ ~PromiseImageCallbackContext()
PromiseImageCallbackContext::~PromiseImageCallbackContext |
( |
| ) |
|
|
override |
Definition at line 74 of file DDLPromiseImageHelper.cpp.
74 {
76 SkASSERT(!fTotalFulfills || fDoneCnt);
77
78 if (fPromiseImageTexture) {
80 }
81}
void deleteBackendTexture(const GrBackendTexture &)
GrBackendTexture backendTexture() const
◆ backendFormat()
const GrBackendFormat & PromiseImageCallbackContext::backendFormat |
( |
| ) |
const |
|
inline |
◆ destroyBackendTexture()
void PromiseImageCallbackContext::destroyBackendTexture |
( |
| ) |
|
Definition at line 89 of file DDLPromiseImageHelper.cpp.
89 {
91
92 if (fPromiseImageTexture) {
94 }
95 fPromiseImageTexture = nullptr;
96}
◆ fulfill()
◆ PromiseImageFulfillProc()
◆ PromiseImageReleaseProc()
static void PromiseImageCallbackContext::PromiseImageReleaseProc |
( |
void * |
textureContext | ) |
|
|
inlinestatic |
◆ promiseImageTexture()
◆ release()
void PromiseImageCallbackContext::release |
( |
| ) |
|
|
inline |
◆ setBackendTexture()
void PromiseImageCallbackContext::setBackendTexture |
( |
const GrBackendTexture & |
backendTexture | ) |
|
Definition at line 83 of file DDLPromiseImageHelper.cpp.
83 {
87}
GrBackendFormat getBackendFormat() const
static sk_sp< GrPromiseImageTexture > Make(const GrBackendTexture &backendTexture)
◆ wasAddedToImage()
void PromiseImageCallbackContext::wasAddedToImage |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: