|
GrDirectContext * | context () |
|
const GrDirectContext * | context () const |
|
sktext::gpu::StrikeCache * | getStrikeCache () |
|
GrSemaphoresSubmitted | flushSurfaces (SkSpan< GrSurfaceProxy * >, SkSurfaces::BackendSurfaceAccess=SkSurfaces::BackendSurfaceAccess::kNoAccess, const GrFlushInfo &={}, const skgpu::MutableTextureState *newState=nullptr) |
|
GrSemaphoresSubmitted | flushSurface (GrSurfaceProxy *proxy, SkSurfaces::BackendSurfaceAccess access=SkSurfaces::BackendSurfaceAccess::kNoAccess, const GrFlushInfo &info={}, const skgpu::MutableTextureState *newState=nullptr) |
|
bool | validPMUPMConversionExists () |
|
std::unique_ptr< GrFragmentProcessor > | createPMToUPMEffect (std::unique_ptr< GrFragmentProcessor >) |
|
std::unique_ptr< GrFragmentProcessor > | createUPMToPMEffect (std::unique_ptr< GrFragmentProcessor >) |
|
SkTaskGroup * | getTaskGroup () |
|
GrResourceProvider * | resourceProvider () |
|
const GrResourceProvider * | resourceProvider () const |
|
GrResourceCache * | getResourceCache () |
|
GrGpu * | getGpu () |
|
const GrGpu * | getGpu () const |
|
GrAtlasManager * | getAtlasManager () |
|
skgpu::ganesh::SmallPathAtlasMgr * | getSmallPathAtlasMgr () |
|
void | createDDLTask (sk_sp< const GrDeferredDisplayList >, sk_sp< GrRenderTargetProxy > newDest) |
|
bool | compile (const GrProgramDesc &, const GrProgramInfo &) |
|
GrContextOptions::PersistentCache * | getPersistentCache () |
|
GrClientMappedBufferManager * | clientMappedBufferManager () |
|
void | setInsideReleaseProc (bool inside) |
|
GrRecordingContext * | context () |
|
const GrRecordingContext * | context () const |
|
GrProxyProvider * | proxyProvider () |
|
const GrProxyProvider * | proxyProvider () const |
|
GrDrawingManager * | drawingManager () |
|
SkArenaAlloc * | recordTimeAllocator () |
|
sktext::gpu::SubRunAllocator * | recordTimeSubRunAllocator () |
|
GrRecordingContext::Arenas | arenas () |
|
GrRecordingContext::OwnedArenas && | detachArenas () |
|
void | recordProgramInfo (const GrProgramInfo *programInfo) |
|
void | detachProgramData (skia_private::TArray< GrRecordingContext::ProgramData > *dst) |
|
sktext::gpu::TextBlobRedrawCoordinator * | getTextBlobCache () |
|
GrThreadSafeCache * | threadSafeCache () |
|
void | moveRenderTasksToDDL (GrDeferredDisplayList *) |
|
void | addOnFlushCallbackObject (GrOnFlushCallbackObject *) |
|
GrAuditTrail * | auditTrail () |
|
void | printWarningMessage (const char *msg) const |
|
GrRecordingContext::Stats * | stats () |
|
sktext::gpu::SDFTControl | getSDFTControl (bool useSDFTForSmallText) const |
|
sk_sp< skgpu::ganesh::Device > | createDevice (GrColorType, sk_sp< GrSurfaceProxy >, sk_sp< SkColorSpace >, GrSurfaceOrigin, const SkSurfaceProps &, skgpu::ganesh::Device::InitContents) |
|
sk_sp< skgpu::ganesh::Device > | createDevice (skgpu::Budgeted, const SkImageInfo &, SkBackingFit, int sampleCount, skgpu::Mipmapped, skgpu::Protected, GrSurfaceOrigin, const SkSurfaceProps &, skgpu::ganesh::Device::InitContents) |
|
std::unique_ptr< skgpu::ganesh::SurfaceContext > | makeSC (GrSurfaceProxyView readView, const GrColorInfo &) |
|
std::unique_ptr< skgpu::ganesh::SurfaceContext > | makeSC (const GrImageInfo &, const GrBackendFormat &, std::string_view label, SkBackingFit=SkBackingFit::kExact, GrSurfaceOrigin=kTopLeft_GrSurfaceOrigin, skgpu::Renderable=skgpu::Renderable::kNo, int renderTargetSampleCnt=1, skgpu::Mipmapped=skgpu::Mipmapped::kNo, skgpu::Protected=skgpu::Protected::kNo, skgpu::Budgeted=skgpu::Budgeted::kYes) |
|
std::unique_ptr< skgpu::ganesh::SurfaceFillContext > | makeSFC (GrImageInfo, std::string_view label, SkBackingFit=SkBackingFit::kExact, int sampleCount=1, skgpu::Mipmapped=skgpu::Mipmapped::kNo, skgpu::Protected=skgpu::Protected::kNo, GrSurfaceOrigin=kTopLeft_GrSurfaceOrigin, skgpu::Budgeted=skgpu::Budgeted::kYes) |
|
std::unique_ptr< skgpu::ganesh::SurfaceFillContext > | makeSFC (SkAlphaType, sk_sp< SkColorSpace >, SkISize dimensions, SkBackingFit, const GrBackendFormat &, int sampleCount, skgpu::Mipmapped, skgpu::Protected, skgpu::Swizzle readSwizzle, skgpu::Swizzle writeSwizzle, GrSurfaceOrigin, skgpu::Budgeted, std::string_view label) |
|
std::unique_ptr< skgpu::ganesh::SurfaceFillContext > | makeSFCWithFallback (GrImageInfo, SkBackingFit, int sampleCount, skgpu::Mipmapped, skgpu::Protected, GrSurfaceOrigin=kTopLeft_GrSurfaceOrigin, skgpu::Budgeted=skgpu::Budgeted::kYes) |
|
std::unique_ptr< skgpu::ganesh::SurfaceFillContext > | makeSFCFromBackendTexture (GrColorInfo, const GrBackendTexture &, int sampleCount, GrSurfaceOrigin, sk_sp< skgpu::RefCntedCallback > releaseHelper) |
|
GrImageContext * | context () |
|
const GrImageContext * | context () const |
|
bool | abandoned () |
|
| SkDEBUGCODE (skgpu::SingleOwner *singleOwner() const { return this->context() ->singleOwner();}) protected |
|
GrContext_Base * | context () |
|
const GrContext_Base * | context () const |
|
uint32_t | contextID () const |
|
bool | matches (GrContext_Base *candidate) const |
|
const GrContextOptions & | options () const |
|
const GrCaps * | caps () const |
|
sk_sp< const GrCaps > | refCaps () const |
|
GrImageContext * | asImageContext () |
|
GrRecordingContext * | asRecordingContext () |
|
GrDirectContext * | asDirectContext () |
|
GrContextOptions::ShaderErrorHandler * | getShaderErrorHandler () const |
|
Class that adds methods to GrDirectContext that are only intended for use internal to Skia. This class is purely a privileged window into GrDirectContext. It should never have additional data members or virtual methods.
Definition at line 35 of file GrDirectContextPriv.h.