|
| ~GrVkGpu () override |
|
void | disconnect (DisconnectType) override |
|
bool | disconnected () const |
|
void | releaseUnlockedBackendObjects () override |
|
GrThreadSafePipelineBuilder * | pipelineBuilder () override |
|
sk_sp< GrThreadSafePipelineBuilder > | refPipelineBuilder () override |
|
const skgpu::VulkanInterface * | vkInterface () const |
|
const GrVkCaps & | vkCaps () const |
|
GrStagingBufferManager * | stagingBufferManager () override |
|
void | takeOwnershipOfBuffer (sk_sp< GrGpuBuffer >) override |
|
bool | isDeviceLost () const override |
|
skgpu::VulkanMemoryAllocator * | memoryAllocator () const |
|
VkPhysicalDevice | physicalDevice () const |
|
VkDevice | device () const |
|
VkQueue | queue () const |
|
uint32_t | queueIndex () const |
|
GrVkCommandPool * | cmdPool () const |
|
const VkPhysicalDeviceProperties & | physicalDeviceProperties () const |
|
const VkPhysicalDeviceMemoryProperties & | physicalDeviceMemoryProperties () const |
|
bool | protectedContext () const |
|
GrVkResourceProvider & | resourceProvider () |
|
GrVkPrimaryCommandBuffer * | currentCommandBuffer () const |
|
void | xferBarrier (GrRenderTarget *, GrXferBarrierType) override |
|
bool | setBackendTextureState (const GrBackendTexture &, const skgpu::MutableTextureState &, skgpu::MutableTextureState *previousState, sk_sp< skgpu::RefCntedCallback > finishedCallback) override |
|
bool | setBackendRenderTargetState (const GrBackendRenderTarget &, const skgpu::MutableTextureState &, skgpu::MutableTextureState *previousState, sk_sp< skgpu::RefCntedCallback > finishedCallback) override |
|
void | deleteBackendTexture (const GrBackendTexture &) override |
|
bool | compile (const GrProgramDesc &, const GrProgramInfo &) override |
|
sk_sp< GrAttachment > | makeStencilAttachment (const GrBackendFormat &, SkISize dimensions, int numStencilSamples) override |
|
GrBackendFormat | getPreferredStencilFormat (const GrBackendFormat &) override |
|
sk_sp< GrAttachment > | makeMSAAAttachment (SkISize dimensions, const GrBackendFormat &format, int numSamples, GrProtected isProtected, GrMemoryless isMemoryless) override |
|
void | addBufferMemoryBarrier (const GrManagedResource *, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, bool byRegion, VkBufferMemoryBarrier *barrier) const |
|
void | addBufferMemoryBarrier (VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, bool byRegion, VkBufferMemoryBarrier *barrier) const |
|
void | addImageMemoryBarrier (const GrManagedResource *, VkPipelineStageFlags srcStageMask, VkPipelineStageFlags dstStageMask, bool byRegion, VkImageMemoryBarrier *barrier) const |
|
bool | loadMSAAFromResolve (GrVkCommandBuffer *commandBuffer, const GrVkRenderPass &renderPass, GrAttachment *dst, GrVkImage *src, const SkIRect &srcRect) |
|
bool | onRegenerateMipMapLevels (GrTexture *tex) override |
|
void | onResolveRenderTarget (GrRenderTarget *target, const SkIRect &resolveRect) override |
|
void | submitSecondaryCommandBuffer (std::unique_ptr< GrVkSecondaryCommandBuffer >) |
|
void | submit (GrOpsRenderPass *) 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 | addDrawable (std::unique_ptr< SkDrawable::GpuDrawHandler > drawable) |
|
void | checkFinishProcs () override |
|
void | finishOutstandingGpuWork () override |
|
std::unique_ptr< GrSemaphore > | prepareTextureForCrossContextUsage (GrTexture *) override |
|
bool | updateBuffer (sk_sp< GrVkBuffer > buffer, const void *src, VkDeviceSize offset, VkDeviceSize size) |
|
bool | zeroBuffer (sk_sp< GrGpuBuffer >) |
|
void | storeVkPipelineCacheData () override |
|
bool | beginRenderPass (const GrVkRenderPass *, sk_sp< const GrVkFramebuffer >, const VkClearValue *colorClear, const GrSurface *, const SkIRect &renderPassBounds, bool forSecondaryCB) |
|
void | endRenderPass (GrRenderTarget *target, GrSurfaceOrigin origin, const SkIRect &bounds) |
|
bool | checkVkResult (VkResult) |
|
| 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 42 of file GrVkGpu.h.