Flutter Engine
The Flutter Engine
|
#include <UploadTask.h>
Public Member Functions | |
bool | recordUpload (Recorder *, sk_sp< TextureProxy > targetProxy, const SkColorInfo &srcColorInfo, const SkColorInfo &dstColorInfo, SkSpan< const MipLevel > levels, const SkIRect &dstRect, std::unique_ptr< ConditionalUploadContext >) |
int | size () |
Friends | |
class | UploadTask |
An UploadList is a mutable collection of UploadCommands.
Currently commands are accumulated in order and processed in the same order. Dependency management is expected to be handled by the TaskGraph.
When an upload is appended to the list its data will be copied to a Buffer in preparation for a deferred upload.
Definition at line 122 of file UploadTask.h.
bool skgpu::graphite::UploadList::recordUpload | ( | Recorder * | recorder, |
sk_sp< TextureProxy > | targetProxy, | ||
const SkColorInfo & | srcColorInfo, | ||
const SkColorInfo & | dstColorInfo, | ||
SkSpan< const MipLevel > | levels, | ||
const SkIRect & | dstRect, | ||
std::unique_ptr< ConditionalUploadContext > | condContext | ||
) |
Definition at line 405 of file UploadTask.cpp.
|
inline |
Definition at line 132 of file UploadTask.h.
|
friend |
Definition at line 135 of file UploadTask.h.