Flutter Engine
The Flutter Engine
|
#include <DrawTask.h>
Public Member Functions | |
DrawTask (sk_sp< TextureProxy > target) | |
~DrawTask () override | |
Status | prepareResources (ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *) override |
Status | addCommands (Context *, CommandBuffer *, ReplayTargetData) override |
virtual Status | prepareResources (ResourceProvider *, ScratchResourceManager *, const RuntimeEffectDictionary *)=0 |
virtual Status | addCommands (Context *, CommandBuffer *, ReplayTargetData)=0 |
Public Member Functions inherited from SkRefCntBase | |
SkRefCntBase () | |
virtual | ~SkRefCntBase () |
bool | unique () const |
void | ref () const |
void | unref () const |
Friends | |
class | DrawContext |
Additional Inherited Members | |
Public Types inherited from skgpu::graphite::Task | |
enum class | Status { kSuccess , kDiscard , kFail } |
DrawTask is a collection of subtasks that are executed in order to produce some intended image in the DrawTask's target. As such, at least one of its subtasks will either be a RenderPassTask, ComputeTask or CopyXToTextureTask that directly modify the target.
Definition at line 24 of file DrawTask.h.
|
explicit |
Definition at line 16 of file DrawTask.cpp.
|
overridedefault |
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 65 of file DrawTask.cpp.
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 20 of file DrawTask.cpp.
|
friend |
Definition at line 36 of file DrawTask.h.