|
| ~GrGLGpu () override |
|
void | disconnect (DisconnectType) override |
|
GrThreadSafePipelineBuilder * | pipelineBuilder () override |
|
sk_sp< GrThreadSafePipelineBuilder > | refPipelineBuilder () override |
|
const GrGLContext & | glContext () const |
|
const GrGLInterface * | glInterface () const |
|
const GrGLContextInfo & | ctxInfo () const |
|
GrGLStandard | glStandard () const |
|
GrGLVersion | glVersion () const |
|
SkSL::GLSLGeneration | glslGeneration () const |
|
const GrGLCaps & | glCaps () const |
|
GrStagingBufferManager * | stagingBufferManager () override |
|
void | bindTexture (int unitIdx, GrSamplerState samplerState, const skgpu::Swizzle &, GrGLTexture *) |
|
void | bindVertexArray (GrGLuint id) |
|
void | notifyVertexArrayDelete (GrGLuint id) |
|
GrGLenum | bindBuffer (GrGpuBufferType type, const GrBuffer *) |
|
bool | flushGLState (GrRenderTarget *, bool useMultisampleFBO, const GrProgramInfo &) |
|
void | flushScissorRect (const SkIRect &scissor, int rtHeight, GrSurfaceOrigin) |
|
void | flushViewport (const SkIRect &viewport, int rtHeight, GrSurfaceOrigin) |
|
GrGLProgram * | currentProgram () |
|
GrGLAttribArrayState * | bindInternalVertexArray (const GrBuffer *indexBuffer, int numAttribs, GrPrimitiveRestart primitiveRestart) |
|
GrGLenum | prepareToDraw (GrPrimitiveType primitiveType) |
|
void | resolveRenderFBOs (GrGLRenderTarget *, const SkIRect &resolveRect, ResolveDirection, bool invalidateReadBufferAfterBlit=false) |
|
void | drawSingleIntoMSAAFBO (GrGLRenderTarget *rt, const SkIRect &drawBounds) |
|
void | clear (const GrScissorState &, std::array< float, 4 > color, GrRenderTarget *, bool useMultisampleFBO, GrSurfaceOrigin) |
|
void | clearStencilClip (const GrScissorState &, bool insideStencilMask, GrRenderTarget *, bool useMultisampleFBO, GrSurfaceOrigin) |
|
void | beginCommandBuffer (GrGLRenderTarget *, bool useMultisampleFBO, const SkIRect &bounds, GrSurfaceOrigin, const GrOpsRenderPass::LoadAndStoreInfo &colorLoadStore, const GrOpsRenderPass::StencilLoadAndStoreInfo &stencilLoadStore) |
|
void | endCommandBuffer (GrGLRenderTarget *, bool useMultisampleFBO, const GrOpsRenderPass::LoadAndStoreInfo &colorLoadStore, const GrOpsRenderPass::StencilLoadAndStoreInfo &stencilLoadStore) |
|
void | invalidateBoundRenderTarget () |
|
sk_sp< GrAttachment > | makeStencilAttachment (const GrBackendFormat &colorFormat, SkISize dimensions, int numStencilSamples) override |
|
sk_sp< GrAttachment > | makeMSAAAttachment (SkISize dimensions, const GrBackendFormat &format, int numSamples, GrProtected isProtected, GrMemoryless) override |
|
void | deleteBackendTexture (const GrBackendTexture &) override |
|
bool | compile (const GrProgramDesc &, const GrProgramInfo &) override |
|
bool | precompileShader (const SkData &key, const SkData &data) override |
|
void | willExecute () override |
|
void | submit (GrOpsRenderPass *renderPass) override |
|
GrGLsync | insertFence () |
|
bool | waitFence (GrGLsync) |
|
void | deleteFence (GrGLsync) |
|
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 |
|
void | clearErrorsAndCheckForOOM () |
|
GrGLenum | getErrorAndCheckForOOM () |
|
std::unique_ptr< GrSemaphore > | prepareTextureForCrossContextUsage (GrTexture *) override |
|
void | deleteSync (GrGLsync) |
|
void | bindFramebuffer (GrGLenum fboTarget, GrGLuint fboid) |
|
void | deleteFramebuffer (GrGLuint fboid) |
|
void | flushProgram (sk_sp< GrGLProgram >) |
|
void | flushProgram (GrGLuint) |
|
void | didDrawTo (GrRenderTarget *) |
|
| 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 89 of file GrGLGpu.h.