Flutter Engine
The Flutter Engine
|
#include <DawnCommandBuffer.h>
Public Member Functions | |
~DawnCommandBuffer () override | |
wgpu::CommandBuffer | finishEncoding () |
Public Member Functions inherited from skgpu::graphite::CommandBuffer | |
virtual | ~CommandBuffer () |
void | trackResource (sk_sp< Resource > resource) |
void | trackCommandBufferResource (sk_sp< Resource > resource) |
void | resetCommandBuffer () |
void | addFinishedProc (sk_sp< RefCntedCallback > finishedProc) |
void | callFinishedProcs (bool success) |
virtual void | addWaitSemaphores (size_t numWaitSemaphores, const BackendSemaphore *waitSemaphores) |
virtual void | addSignalSemaphores (size_t numWaitSemaphores, const BackendSemaphore *signalSemaphores) |
virtual void | prepareSurfaceForStateUpdate (SkSurface *targetSurface, const MutableTextureState *newState) |
void | addBuffersToAsyncMapOnSubmit (SkSpan< const sk_sp< Buffer > >) |
SkSpan< const sk_sp< Buffer > > | buffersToAsyncMapOnSubmit () const |
bool | addRenderPass (const RenderPassDesc &, sk_sp< Texture > colorTexture, sk_sp< Texture > resolveTexture, sk_sp< Texture > depthStencilTexture, SkRect viewport, const DrawPassList &drawPasses) |
bool | addComputePass (DispatchGroupSpan dispatchGroups) |
bool | copyBufferToBuffer (const Buffer *srcBuffer, size_t srcOffset, sk_sp< Buffer > dstBuffer, size_t dstOffset, size_t size) |
bool | copyTextureToBuffer (sk_sp< Texture >, SkIRect srcRect, sk_sp< Buffer >, size_t bufferOffset, size_t bufferRowBytes) |
bool | copyBufferToTexture (const Buffer *, sk_sp< Texture >, const BufferTextureCopyData *, int count) |
bool | copyTextureToTexture (sk_sp< Texture > src, SkIRect srcRect, sk_sp< Texture > dst, SkIPoint dstPoint, int mipLevel) |
bool | synchronizeBufferToCpu (sk_sp< Buffer >) |
bool | clearBuffer (const Buffer *buffer, size_t offset, size_t size) |
void | setReplayTranslation (SkIVector translation) |
void | clearReplayTranslation () |
Static Public Member Functions | |
static std::unique_ptr< DawnCommandBuffer > | Make (const DawnSharedContext *, DawnResourceProvider *) |
Private Member Functions | |
void | onResetCommandBuffer () override |
bool | setNewCommandBufferResources () override |
bool | onAddRenderPass (const RenderPassDesc &, const Texture *colorTexture, const Texture *resolveTexture, const Texture *depthStencilTexture, SkRect viewport, const DrawPassList &) override |
bool | onAddComputePass (DispatchGroupSpan) override |
bool | onCopyBufferToBuffer (const Buffer *srcBuffer, size_t srcOffset, const Buffer *dstBuffer, size_t dstOffset, size_t size) override |
bool | onCopyTextureToBuffer (const Texture *, SkIRect srcRect, const Buffer *, size_t bufferOffset, size_t bufferRowBytes) override |
bool | onCopyBufferToTexture (const Buffer *, const Texture *, const BufferTextureCopyData *copyData, int count) override |
bool | onCopyTextureToTexture (const Texture *src, SkIRect srcRect, const Texture *dst, SkIPoint dstPoint, int mipLevel) override |
bool | onSynchronizeBufferToCpu (const Buffer *, bool *outDidResultInWork) override |
bool | onClearBuffer (const Buffer *, size_t offset, size_t size) override |
Additional Inherited Members | |
Public Types inherited from skgpu::graphite::CommandBuffer | |
using | DrawPassList = skia_private::TArray< std::unique_ptr< DrawPass > > |
using | DispatchGroupSpan = SkSpan< const std::unique_ptr< DispatchGroup > > |
Protected Member Functions inherited from skgpu::graphite::CommandBuffer | |
CommandBuffer () | |
Protected Attributes inherited from skgpu::graphite::CommandBuffer | |
SkISize | fRenderPassSize |
SkIVector | fReplayTranslation |
Definition at line 31 of file DawnCommandBuffer.h.
|
override |
Definition at line 64 of file DawnCommandBuffer.cpp.
wgpu::CommandBuffer skgpu::graphite::DawnCommandBuffer::finishEncoding | ( | ) |
Definition at line 66 of file DawnCommandBuffer.cpp.
|
static |
Definition at line 49 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 119 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 96 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 998 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 881 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 928 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 896 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 964 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 75 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 994 of file DawnCommandBuffer.cpp.
|
overrideprivatevirtual |
Implements skgpu::graphite::CommandBuffer.
Definition at line 89 of file DawnCommandBuffer.cpp.