|
| ~GrMtlGpu () override |
|
void | disconnect (DisconnectType) override |
|
GrThreadSafePipelineBuilder * | pipelineBuilder () override |
|
sk_sp< GrThreadSafePipelineBuilder > | refPipelineBuilder () override |
|
const GrMtlCaps & | mtlCaps () const |
|
id< MTLDevice > | device () const |
|
GrMtlResourceProvider & | resourceProvider () |
|
GrStagingBufferManager * | stagingBufferManager () override |
|
GrMtlCommandBuffer * | commandBuffer () |
|
void | deleteBackendTexture (const GrBackendTexture &) override |
|
bool | compile (const GrProgramDesc &, const GrProgramInfo &) override |
|
bool | precompileShader (const SkData &key, const SkData &data) override |
|
void | copySurfaceAsResolve (GrSurface *dst, GrSurface *src) |
|
void | copySurfaceAsBlit (GrSurface *dst, GrSurface *src, GrMtlAttachment *dstAttachment, GrMtlAttachment *srcAttachment, const SkIRect &srcRect, const SkIPoint &dstPoint) |
|
bool | onCopySurface (GrSurface *dst, const SkIRect &dstRect, GrSurface *src, const SkIRect &srcRect, GrSamplerState::Filter) override |
|
void | submit (GrOpsRenderPass *renderPass) override |
|
std::unique_ptr< GrSemaphore > | makeSemaphore (bool isOwned) override |
|
std::unique_ptr< GrSemaphore > | wrapBackendSemaphore (const GrBackendSemaphore &, GrSemaphoreWrapType, GrWrapOwnership) override |
|
void | insertSemaphore (GrSemaphore *semaphore) override |
|
void | waitSemaphore (GrSemaphore *semaphore) override |
|
void | checkFinishProcs () override |
|
void | finishOutstandingGpuWork () override |
|
std::unique_ptr< GrSemaphore > | prepareTextureForCrossContextUsage (GrTexture *) override |
|
GrMtlRenderCommandEncoder * | loadMSAAFromResolve (GrAttachment *dst, GrMtlAttachment *src, const SkIRect &srcRect, MTLRenderPassStencilAttachmentDescriptor *) |
|
void | submitIndirectCommandBuffer (GrSurface *surface, GrSurfaceOrigin origin, const SkIRect *bounds) |
|
GrRingBuffer * | uniformsRingBuffer () override |
|
| GrGpu (GrDirectContext *direct) |
|
virtual | ~GrGpu () |
|
GrDirectContext * | getContext () |
|
const GrDirectContext * | getContext () const |
|
const GrCaps * | caps () const |
|
sk_sp< const GrCaps > | refCaps () const |
|
virtual GrStagingBufferManager * | stagingBufferManager () |
|
virtual GrRingBuffer * | uniformsRingBuffer () |
|
virtual void | disconnect (DisconnectType) |
|
virtual GrThreadSafePipelineBuilder * | pipelineBuilder ()=0 |
|
virtual sk_sp< GrThreadSafePipelineBuilder > | refPipelineBuilder ()=0 |
|
virtual bool | isDeviceLost () const |
|
void | markContextDirty (uint32_t state=kAll_GrBackendState) |
|
sk_sp< GrTexture > | createTexture (SkISize dimensions, const GrBackendFormat &format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, skgpu::Budgeted budgeted, GrProtected isProtected, GrColorType textureColorType, GrColorType srcColorType, const GrMipLevel texels[], int texelLevelCount, std::string_view label) |
|
sk_sp< GrTexture > | createTexture (SkISize dimensions, const GrBackendFormat &format, GrTextureType textureType, GrRenderable renderable, int renderTargetSampleCnt, skgpu::Mipmapped mipmapped, skgpu::Budgeted budgeted, GrProtected isProtected, std::string_view label) |
|
sk_sp< GrTexture > | createCompressedTexture (SkISize dimensions, const GrBackendFormat &format, skgpu::Budgeted budgeted, skgpu::Mipmapped mipmapped, GrProtected isProtected, const void *data, size_t dataSize) |
|
sk_sp< GrTexture > | wrapBackendTexture (const GrBackendTexture &, GrWrapOwnership, GrWrapCacheable, GrIOType) |
|
sk_sp< GrTexture > | wrapCompressedBackendTexture (const GrBackendTexture &, GrWrapOwnership, GrWrapCacheable) |
|
sk_sp< GrTexture > | wrapRenderableBackendTexture (const GrBackendTexture &, int sampleCnt, GrWrapOwnership, GrWrapCacheable) |
|
sk_sp< GrRenderTarget > | wrapBackendRenderTarget (const GrBackendRenderTarget &) |
|
sk_sp< GrRenderTarget > | wrapVulkanSecondaryCBAsRenderTarget (const SkImageInfo &, const GrVkDrawableInfo &) |
|
sk_sp< GrGpuBuffer > | createBuffer (size_t size, GrGpuBufferType intendedType, GrAccessPattern accessPattern) |
|
void | resolveRenderTarget (GrRenderTarget *, const SkIRect &resolveRect) |
|
bool | regenerateMipMapLevels (GrTexture *) |
|
void | resetTextureBindings () |
|
bool | readPixels (GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType dstColorType, void *buffer, size_t rowBytes) |
|
bool | writePixels (GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const GrMipLevel texels[], int mipLevelCount, bool prepForTexSampling=false) |
|
bool | writePixels (GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType srcColorType, const void *buffer, size_t rowBytes, bool prepForTexSampling=false) |
|
bool | transferFromBufferToBuffer (sk_sp< GrGpuBuffer > src, size_t srcOffset, sk_sp< GrGpuBuffer > dst, size_t dstOffset, size_t size) |
|
bool | transferPixelsTo (GrTexture *texture, SkIRect rect, GrColorType textureColorType, GrColorType bufferColorType, sk_sp< GrGpuBuffer > transferBuffer, size_t offset, size_t rowBytes) |
|
bool | transferPixelsFrom (GrSurface *surface, SkIRect rect, GrColorType surfaceColorType, GrColorType bufferColorType, sk_sp< GrGpuBuffer > transferBuffer, size_t offset) |
|
bool | copySurface (GrSurface *dst, const SkIRect &dstRect, GrSurface *src, const SkIRect &srcRect, GrSamplerState::Filter filter) |
|
GrOpsRenderPass * | getOpsRenderPass (GrRenderTarget *renderTarget, bool useMSAASurface, GrAttachment *stencil, GrSurfaceOrigin, const SkIRect &bounds, const GrOpsRenderPass::LoadAndStoreInfo &, const GrOpsRenderPass::StencilLoadAndStoreInfo &, const skia_private::TArray< GrSurfaceProxy *, true > &sampledProxies, GrXferBarrierFlags renderPassXferBarriers) |
|
void | executeFlushInfo (SkSpan< GrSurfaceProxy * >, SkSurfaces::BackendSurfaceAccess access, const GrFlushInfo &, const skgpu::MutableTextureState *newState) |
|
virtual void | willExecute () |
|
bool | submitToGpu (GrSyncCpu sync) |
|
virtual void | submit (GrOpsRenderPass *)=0 |
|
virtual std::unique_ptr< GrSemaphore > | makeSemaphore (bool isOwned=true)=0 |
|
virtual std::unique_ptr< GrSemaphore > | wrapBackendSemaphore (const GrBackendSemaphore &, GrSemaphoreWrapType, GrWrapOwnership)=0 |
|
virtual void | insertSemaphore (GrSemaphore *semaphore)=0 |
|
virtual void | waitSemaphore (GrSemaphore *semaphore)=0 |
|
virtual void | addFinishedProc (GrGpuFinishedProc finishedProc, GrGpuFinishedContext finishedContext)=0 |
|
virtual void | checkFinishProcs ()=0 |
|
virtual void | finishOutstandingGpuWork ()=0 |
|
virtual void | takeOwnershipOfBuffer (sk_sp< GrGpuBuffer >) |
|
bool | checkAndResetOOMed () |
|
virtual std::unique_ptr< GrSemaphore > | prepareTextureForCrossContextUsage (GrTexture *)=0 |
|
virtual void | releaseUnlockedBackendObjects () |
|
Stats * | stats () |
|
void | dumpJSON (SkJSONWriter *) const |
|
GrBackendTexture | createBackendTexture (SkISize dimensions, const GrBackendFormat &, GrRenderable, skgpu::Mipmapped, GrProtected, std::string_view label) |
|
bool | clearBackendTexture (const GrBackendTexture &, sk_sp< skgpu::RefCntedCallback > finishedCallback, std::array< float, 4 > color) |
|
GrBackendTexture | createCompressedBackendTexture (SkISize dimensions, const GrBackendFormat &, skgpu::Mipmapped, GrProtected) |
|
bool | updateCompressedBackendTexture (const GrBackendTexture &, sk_sp< skgpu::RefCntedCallback > finishedCallback, const void *data, size_t length) |
|
virtual bool | setBackendTextureState (const GrBackendTexture &, const skgpu::MutableTextureState &, skgpu::MutableTextureState *previousState, sk_sp< skgpu::RefCntedCallback > finishedCallback) |
|
virtual bool | setBackendRenderTargetState (const GrBackendRenderTarget &, const skgpu::MutableTextureState &, skgpu::MutableTextureState *previousState, sk_sp< skgpu::RefCntedCallback > finishedCallback) |
|
virtual void | deleteBackendTexture (const GrBackendTexture &)=0 |
|
virtual bool | compile (const GrProgramDesc &, const GrProgramInfo &)=0 |
|
virtual bool | precompileShader (const SkData &key, const SkData &data) |
|
virtual sk_sp< GrAttachment > | makeStencilAttachment (const GrBackendFormat &colorFormat, SkISize dimensions, int numStencilSamples)=0 |
|
virtual GrBackendFormat | getPreferredStencilFormat (const GrBackendFormat &)=0 |
|
virtual sk_sp< GrAttachment > | makeMSAAAttachment (SkISize dimensions, const GrBackendFormat &format, int numSamples, GrProtected isProtected, GrMemoryless isMemoryless)=0 |
|
void | handleDirtyContext () |
|
virtual void | storeVkPipelineCacheData () |
|
virtual void | xferBarrier (GrRenderTarget *, GrXferBarrierType)=0 |
|
Definition at line 35 of file GrMtlGpu.h.