Flutter Engine
The Flutter Engine
|
#include <ComputeTask.h>
Public Types | |
using | DispatchGroupList = skia_private::STArray< 1, std::unique_ptr< DispatchGroup > > |
Public Types inherited from skgpu::graphite::Task | |
enum class | Status { kSuccess , kDiscard , kFail } |
Public Member Functions | |
~ComputeTask () 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 |
Static Public Member Functions | |
static sk_sp< ComputeTask > | Make (DispatchGroupList dispatchGroups) |
ComputeTask handles preparing and recording DispatchGroups into a series of compute dispatches within a command buffer. It is guaranteed that dispatches within a DispatchGroup will be executed sequentially.
Definition at line 26 of file ComputeTask.h.
using skgpu::graphite::ComputeTask::DispatchGroupList = skia_private::STArray<1, std::unique_ptr<DispatchGroup> > |
Definition at line 28 of file ComputeTask.h.
|
overridedefault |
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 52 of file ComputeTask.cpp.
|
static |
Definition at line 17 of file ComputeTask.cpp.
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 30 of file ComputeTask.cpp.