Flutter Engine
The Flutter Engine
|
#include <MtlComputeCommandEncoder.h>
Public Member Functions | |
const char * | getResourceType () const override |
void | setLabel (NSString *label) |
void | pushDebugGroup (NSString *string) |
void | popDebugGroup () |
void | insertDebugSignpost (NSString *string) |
void | setComputePipelineState (id< MTLComputePipelineState > pso) |
void | setBuffer (id< MTLBuffer > buffer, NSUInteger offset, NSUInteger index) |
void | setBufferOffset (NSUInteger offset, NSUInteger index) SK_API_AVAILABLE(macos(10.11) |
void | ios (8.3) |
void | tvos (9.0)) |
void | setTexture (id< MTLTexture > texture, NSUInteger index) |
void | setSamplerState (id< MTLSamplerState > sampler, NSUInteger index) |
void | setThreadgroupMemoryLength (NSUInteger length, NSUInteger index) |
void | dispatchThreadgroups (const WorkgroupSize &globalSize, const WorkgroupSize &localSize) |
void | dispatchThreadgroupsWithIndirectBuffer (id< MTLBuffer > indirectBuffer, NSUInteger offset, const WorkgroupSize &localSize) |
void | endEncoding () |
Public Member Functions inherited from skgpu::graphite::Resource | |
Resource (const Resource &)=delete | |
Resource (Resource &&)=delete | |
Resource & | operator= (const Resource &)=delete |
Resource & | operator= (Resource &&)=delete |
void | ref () const |
void | unref () const |
void | refCommandBuffer () const |
void | unrefCommandBuffer () const |
Ownership | ownership () const |
skgpu::Budgeted | budgeted () const |
size_t | gpuMemorySize () const |
UniqueID | uniqueID () const |
virtual const char * | getResourceType () const =0 |
std::string | getLabel () const |
void | setLabel (std::string_view label) |
bool | wasDestroyed () const |
const GraphiteResourceKey & | key () const |
void | setKey (const GraphiteResourceKey &key) |
void | dumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump) const |
virtual void | prepareForReturnToCache (const std::function< void()> &takeRef) |
Static Public Member Functions | |
static sk_sp< MtlComputeCommandEncoder > | Make (const SharedContext *sharedContext, id< MTLCommandBuffer > commandBuffer) |
Additional Inherited Members | |
Protected Member Functions inherited from skgpu::graphite::Resource | |
Resource (const SharedContext *, Ownership, skgpu::Budgeted, size_t gpuMemorySize, bool commandBufferRefsAsUsageRefs=false) | |
virtual | ~Resource () |
const SharedContext * | sharedContext () const |
virtual void | onDumpMemoryStatistics (SkTraceMemoryDump *traceMemoryDump, const char *dumpName) const |
void | setDeleteASAP () |
Wraps a MTLComputeCommandEncoder object and associated tracked state
Definition at line 23 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 103 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 112 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 122 of file MtlComputeCommandEncoder.h.
|
inlineoverridevirtual |
Implements skgpu::graphite::Resource.
Definition at line 41 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 47 of file MtlComputeCommandEncoder.h.
void skgpu::graphite::MtlComputeCommandEncoder::ios | ( | 8. | 3 | ) |
|
inlinestatic |
Definition at line 25 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 46 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 45 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 56 of file MtlComputeCommandEncoder.h.
void skgpu::graphite::MtlComputeCommandEncoder::setBufferOffset | ( | NSUInteger | offset, |
NSUInteger | index | ||
) |
|
inline |
Definition at line 49 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 43 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 89 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 81 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 98 of file MtlComputeCommandEncoder.h.
|
inline |
Definition at line 73 of file MtlComputeCommandEncoder.h.