#include <GrMockRenderTask.h>
|
enum class | ExpectedOutcome : bool { kTargetUnchanged
, kTargetDirty
} |
|
enum | Flags {
kClosed_Flag = 0x01
, kDisowned_Flag = 0x02
, kSkippable_Flag = 0x04
, kAtlas_Flag = 0x08
,
kBlocksReordering_Flag = 0x10
, kWasOutput_Flag = 0x20
, kTempMark_Flag = 0x40
} |
|
| SkDEBUGCODE (bool deferredProxiesAreInstantiated() const ;) void addTarget(GrDrawingManager * |
|
void | addTarget (GrDrawingManager *dm, const GrSurfaceProxyView &view) |
|
virtual ExpectedOutcome | onMakeClosed (GrRecordingContext *, SkIRect *targetUpdateBounds)=0 |
|
void | setFlag (uint32_t flag) |
|
void | resetFlag (uint32_t flag) |
|
bool | isSetFlag (uint32_t flag) const |
|
void | setIndex (uint32_t index) |
|
uint32_t | getIndex () const |
|
| sk_sp< GrSurfaceProxy > |
|
skia_private::STArray< 1, sk_sp< GrSurfaceProxy > > | fTargets |
|
skia_private::TArray< GrTextureProxy *, true > | fDeferredProxies |
|
Definition at line 26 of file GrMockRenderTask.h.
◆ GrMockRenderTask()
GrMockRenderTask::GrMockRenderTask |
( |
| ) |
|
|
inline |
Definition at line 28 of file GrMockRenderTask.h.
29
31 }
void setFlag(uint32_t flag)
@ kDisowned_Flag
This task is disowned by its GrDrawingManager.
◆ addDependency()
◆ addTarget()
Definition at line 33 of file GrMockRenderTask.h.
skia_private::STArray< 1, sk_sp< GrSurfaceProxy > > fTargets
◆ addUsed()
◆ gatherProxyIntervals()
◆ onExecute()
◆ onIsUsed()
Implements GrRenderTask.
Definition at line 43 of file GrMockRenderTask.h.
43 {
44 for (const auto& entry : fUsed) {
45 if (entry.get() == proxy) {
46 return true;
47 }
48 }
49 return false;
50 }
◆ onMakeClosed()
The documentation for this class was generated from the following file: