#include <GrWritePixelsRenderTask.h>
|
| GrRenderTask () |
|
| SkDEBUGCODE (~GrRenderTask() override;) void makeClosed(GrRecordingContext *) |
|
void | prePrepare (GrRecordingContext *context) |
|
void | prepare (GrOpFlushState *flushState) |
|
bool | execute (GrOpFlushState *flushState) |
|
virtual bool | requiresExplicitCleanup () const |
|
virtual void | endFlush (GrDrawingManager *) |
|
virtual void | disown (GrDrawingManager *) |
|
bool | isClosed () const |
|
void | makeSkippable () |
|
bool | isSkippable () const |
|
bool | blocksReordering () const |
|
void | addDependency (GrDrawingManager *, GrSurfaceProxy *dependedOn, skgpu::Mipmapped, GrTextureResolveManager, const GrCaps &caps) |
|
void | addDependenciesFromOtherTask (GrRenderTask *otherTask) |
|
SkSpan< GrRenderTask * > | dependencies () |
|
SkSpan< GrRenderTask * > | dependents () |
|
void | replaceDependency (const GrRenderTask *toReplace, GrRenderTask *replaceWith) |
|
void | replaceDependent (const GrRenderTask *toReplace, GrRenderTask *replaceWith) |
|
bool | dependsOn (const GrRenderTask *dependedOn) const |
|
uint32_t | uniqueID () const |
|
int | numTargets () const |
|
GrSurfaceProxy * | target (int i) const |
|
virtual skgpu::ganesh::OpsTask * | asOpsTask () |
|
bool | isUsed (GrSurfaceProxy *proxy) const |
|
bool | isInstantiated () const |
|
| SK_DECLARE_INTERNAL_LLIST_INTERFACE (GrRenderTask) |
|
| SkRefCntBase () |
|
virtual | ~SkRefCntBase () |
|
bool | unique () const |
|
void | ref () const |
|
void | unref () const |
|
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) |
|
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 13 of file GrWritePixelsRenderTask.h.
◆ gatherProxyIntervals()
Implements GrRenderTask.
Definition at line 45 of file GrWritePixelsRenderTask.cpp.
45 {
50}
void addInterval(GrSurfaceProxy *, unsigned int start, unsigned int end, ActualUse actualUse, AllowRecycling SkDEBUGCODE(, bool isDirectDstRead=false))
unsigned int curOp() const
◆ Make()
Definition at line 14 of file GrWritePixelsRenderTask.cpp.
20 {
22 std::move(dst),
23 rect,
24 srcColorType,
25 dstColorType,
26 texels,
27 levelCount));
28}
◆ onExecute()
Implements GrRenderTask.
Definition at line 58 of file GrWritePixelsRenderTask.cpp.
58 {
61 return false;
62 }
65 fRect,
66 fDstColorType,
67 fSrcColorType,
70}
bool writePixels(GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling=false)
GrSurface * peekSurface() const
bool isInstantiated() const
◆ onIsUsed()
|
inlineoverrideprivatevirtual |
◆ onMakeClosed()
The documentation for this class was generated from the following files: