#include <GrTransferFromRenderTask.h>
|
| GrTransferFromRenderTask (sk_sp< GrSurfaceProxy > srcProxy, const SkIRect &srcRect, GrColorType surfaceColorType, GrColorType dstColorType, sk_sp< GrGpuBuffer > dstBuffer, size_t dstOffset) |
|
| 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 27 of file GrTransferFromRenderTask.h.
◆ GrTransferFromRenderTask()
Definition at line 29 of file GrTransferFromRenderTask.h.
36 , fSrcProxy(std::move(srcProxy))
37 , fSrcRect(srcRect)
38 , fSurfaceColorType(surfaceColorType)
39 , fDstColorType(dstColorType)
40 , fDstBuffer(std::move(dstBuffer))
41 , fDstOffset(dstOffset) {}
◆ gatherProxyIntervals()
Implements GrRenderTask.
Definition at line 14 of file GrTransferFromRenderTask.cpp.
14 {
15
16
17
22}
void addInterval(GrSurfaceProxy *, unsigned int start, unsigned int end, ActualUse actualUse, AllowRecycling SkDEBUGCODE(, bool isDirectDstRead=false))
unsigned int curOp() const
◆ onExecute()
bool GrTransferFromRenderTask::onExecute |
( |
GrOpFlushState * |
flushState | ) |
|
|
overrideprivatevirtual |
Implements GrRenderTask.
Definition at line 24 of file GrTransferFromRenderTask.cpp.
24 {
26 return false;
27 }
29 fSrcRect,
30 fSurfaceColorType,
31 fDstColorType,
32 fDstBuffer,
33 fDstOffset);
34}
bool transferPixelsFrom(GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp< GrGpuBuffer > transferBuffer, size_t offset)
GrSurface * peekSurface() const
bool isInstantiated() const
◆ onIsUsed()
bool GrTransferFromRenderTask::onIsUsed |
( |
GrSurfaceProxy * |
proxy | ) |
const |
|
inlineoverrideprivatevirtual |
◆ onMakeClosed()
|
inlineoverrideprivatevirtual |
The documentation for this class was generated from the following files: