Flutter Engine
The Flutter Engine
|
#include <DrawTask.h>
Public Member Functions | |
DrawTask (sk_sp< TextureProxy > target) | |
~DrawTask () override | |
Status | prepareResources (ResourceProvider *, const RuntimeEffectDictionary *) override |
Status | addCommands (Context *, CommandBuffer *, ReplayTargetData) override |
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 23 of file DrawTask.h.
|
explicit |
Definition at line 14 of file DrawTask.cpp.
|
overridedefault |
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 23 of file DrawTask.cpp.
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 18 of file DrawTask.cpp.
|
friend |
Definition at line 33 of file DrawTask.h.