Flutter Engine
The Flutter Engine
|
#include <SynchronizeToCpuTask.h>
Public Member Functions | |
~SynchronizeToCpuTask () 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< SynchronizeToCpuTask > | Make (sk_sp< Buffer >) |
Additional Inherited Members | |
Public Types inherited from skgpu::graphite::Task | |
enum class | Status { kSuccess , kDiscard , kFail } |
Task that synchronizes the contents of a buffer from the GPU to the CPU. This task ensures that all modifications to the buffer made the GPU are visible from the CPU. This task may not result in any work if the underlying buffer does not require synchronization (e.g. a shared memory buffer).
Definition at line 24 of file SynchronizeToCpuTask.h.
|
override |
Definition at line 19 of file SynchronizeToCpuTask.cpp.
|
overridevirtual |
Implements skgpu::graphite::Task.
Definition at line 21 of file SynchronizeToCpuTask.cpp.
|
static |
Definition at line 15 of file SynchronizeToCpuTask.cpp.
|
inlineoverridevirtual |
Implements skgpu::graphite::Task.
Definition at line 29 of file SynchronizeToCpuTask.h.