Flutter Engine
The Flutter Engine
Friends | List of all members
GrTextureRenderTargetProxy Class Reference

#include <GrTextureRenderTargetProxy.h>

Inheritance diagram for GrTextureRenderTargetProxy:
GrRenderTargetProxy GrTextureProxy GrSurfaceProxy GrSurfaceProxy SkNVRefCnt< GrSurfaceProxy > SkNVRefCnt< GrSurfaceProxy >

Friends

class GrSurfaceProxy
 
class GrProxyProvider
 

Additional Inherited Members

- Public Types inherited from GrSurfaceProxy
enum class  ResolveFlags { kNone = 0 , kMSAA = 1 << 0 , kMipMaps = 1 << 1 }
 
enum class  LazyInstantiationKeyMode { kUnsynced , kSynced }
 
enum class  UseAllocator { kNo = false , kYes = true }
 
enum class  RectsMustMatch : bool { kNo = false , kYes = true }
 
using LazyInstantiateCallback = std::function< LazyCallbackResult(GrResourceProvider *, const LazySurfaceDesc &)>
 
- Public Member Functions inherited from GrRenderTargetProxy
GrRenderTargetProxyasRenderTargetProxy () override
 
const GrRenderTargetProxyasRenderTargetProxy () const override
 
bool instantiate (GrResourceProvider *) override
 
bool canUseStencil (const GrCaps &caps) const
 
void setNeedsStencil ()
 
int needsStencil () const
 
int numSamples () const
 
int maxWindowRectangles (const GrCaps &caps) const
 
bool glRTFBOIDIs0 () const
 
bool wrapsVkSecondaryCB () const
 
bool supportsVkInputAttachment () const
 
void markMSAADirty (SkIRect dirtyRect)
 
void markMSAAResolved ()
 
bool isMSAADirty () const
 
const SkIRectmsaaDirtyRect () const
 
bool refsWrappedObjects () const
 
sk_sp< GrArenasarenas ()
 
void clearArenas ()
 
- Public Member Functions inherited from GrSurfaceProxy
virtual ~GrSurfaceProxy ()
 
bool isLazy () const
 
bool isFullyLazy () const
 
SkISize dimensions () const
 
int width () const
 
int height () const
 
SkISize backingStoreDimensions () const
 
SkRect getBoundsRect () const
 
bool isFunctionallyExact () const
 
SkRect backingStoreBoundsRect () const
 
SkIRect backingStoreBoundsIRect () const
 
const GrBackendFormatbackendFormat () const
 
bool isFormatCompressed (const GrCaps *) const
 
UniqueID uniqueID () const
 
UniqueID underlyingUniqueID () const
 
virtual bool instantiate (GrResourceProvider *)=0
 
void deinstantiate ()
 
bool canSkipResourceAllocator () const
 
virtual GrTextureProxyasTextureProxy ()
 
virtual const GrTextureProxyasTextureProxy () const
 
virtual GrRenderTargetProxyasRenderTargetProxy ()
 
virtual const GrRenderTargetProxyasRenderTargetProxy () const
 
virtual const skgpu::UniqueKeygetUniqueKey () const
 
bool isInstantiated () const
 
void isUsedAsTaskTarget ()
 
int getTaskTargetCount () const
 
GrSurfacepeekSurface () const
 
GrTexturepeekTexture () const
 
GrRenderTargetpeekRenderTarget () const
 
skgpu::Budgeted isBudgeted () const
 
bool readOnly () const
 
bool framebufferOnly () const
 
bool requiresManualMSAAResolve () const
 
size_t gpuMemorySize () const
 
std::string_view getLabel () const
 
GrSurfaceProxyPriv priv ()
 
const GrSurfaceProxyPriv priv () const
 
bool isDDLTarget () const
 
GrProtected isProtected () const
 
bool isPromiseProxy ()
 
- Public Member Functions inherited from SkNVRefCnt< GrSurfaceProxy >
 SkNVRefCnt ()
 
 ~SkNVRefCnt ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
void deref () const
 
bool refCntGreaterThan (int32_t threadIsolatedTestCnt) const
 
- Public Member Functions inherited from GrTextureProxy
GrTextureProxyasTextureProxy () override
 
const GrTextureProxyasTextureProxy () const override
 
bool instantiate (GrResourceProvider *) override
 
skgpu::Mipmapped mipmapped () const
 
bool mipmapsAreDirty () const
 
void markMipmapsDirty ()
 
void markMipmapsClean ()
 
skgpu::Mipmapped proxyMipmapped () const
 
GrTextureType textureType () const
 
bool hasRestrictedSampling () const
 
const skgpu::UniqueKeygetUniqueKey () const override
 
CacheAccess cacheAccess ()
 
const CacheAccess cacheAccess () const
 
GrTextureProxyPriv texPriv ()
 
const GrTextureProxyPriv texPriv () const
 
 GrTextureProxy (const GrBackendFormat &, SkISize, skgpu::Mipmapped, GrMipmapStatus, SkBackingFit, skgpu::Budgeted, skgpu::Protected, GrInternalSurfaceFlags, UseAllocator, GrDDLProvider creatingProvider, std::string_view label)
 
 GrTextureProxy (LazyInstantiateCallback &&, const GrBackendFormat &, SkISize, skgpu::Mipmapped, GrMipmapStatus, SkBackingFit, skgpu::Budgeted, skgpu::Protected, GrInternalSurfaceFlags, UseAllocator, GrDDLProvider creatingProvider, std::string_view label)
 
 GrTextureProxy (sk_sp< GrSurface >, UseAllocator, GrDDLProvider creatingProvider)
 
 ~GrTextureProxy () override
 
sk_sp< GrSurfacecreateSurface (GrResourceProvider *) const override
 
void setTargetKeySync (bool sync)
 
- Static Public Member Functions inherited from GrSurfaceProxy
static sk_sp< GrSurfaceProxyCopy (GrRecordingContext *, sk_sp< GrSurfaceProxy > src, GrSurfaceOrigin, skgpu::Mipmapped, SkIRect srcRect, SkBackingFit, skgpu::Budgeted, std::string_view label, RectsMustMatch=RectsMustMatch::kNo, sk_sp< GrRenderTask > *outTask=nullptr)
 
static sk_sp< GrSurfaceProxyCopy (GrRecordingContext *, sk_sp< GrSurfaceProxy > src, GrSurfaceOrigin, skgpu::Mipmapped, SkBackingFit, skgpu::Budgeted, std::string_view label, sk_sp< GrRenderTask > *outTask=nullptr)
 
- Static Public Member Functions inherited from GrTextureProxy
static bool ProxiesAreCompatibleAsDynamicState (const GrSurfaceProxy *first, const GrSurfaceProxy *second)
 
- Protected Types inherited from GrRenderTargetProxy
enum class  WrapsVkSecondaryCB : bool { kNo = false , kYes = true }
 
- Protected Member Functions inherited from GrRenderTargetProxy
 GrRenderTargetProxy (const GrCaps &, const GrBackendFormat &, SkISize, int sampleCount, SkBackingFit, skgpu::Budgeted, skgpu::Protected, GrInternalSurfaceFlags, UseAllocator, std::string_view label)
 
 GrRenderTargetProxy (LazyInstantiateCallback &&, const GrBackendFormat &, SkISize, int sampleCount, SkBackingFit, skgpu::Budgeted, skgpu::Protected, GrInternalSurfaceFlags, UseAllocator, WrapsVkSecondaryCB, std::string_view label)
 
 GrRenderTargetProxy (sk_sp< GrSurface >, UseAllocator, WrapsVkSecondaryCB=WrapsVkSecondaryCB::kNo)
 
sk_sp< GrSurfacecreateSurface (GrResourceProvider *) const override
 
- Protected Member Functions inherited from GrSurfaceProxy
 GrSurfaceProxy (const GrBackendFormat &, SkISize, SkBackingFit, skgpu::Budgeted, GrProtected, GrInternalSurfaceFlags, UseAllocator, std::string_view label)
 
 GrSurfaceProxy (LazyInstantiateCallback &&, const GrBackendFormat &, SkISize, SkBackingFit, skgpu::Budgeted, GrProtected, GrInternalSurfaceFlags, UseAllocator, std::string_view label)
 
 GrSurfaceProxy (sk_sp< GrSurface >, SkBackingFit, UseAllocator)
 
bool ignoredByResourceAllocator () const
 
void setIgnoredByResourceAllocator ()
 
void computeScratchKey (const GrCaps &, skgpu::ScratchKey *) const
 
virtual sk_sp< GrSurfacecreateSurface (GrResourceProvider *) const =0
 
void assign (sk_sp< GrSurface > surface)
 
sk_sp< GrSurfacecreateSurfaceImpl (GrResourceProvider *, int sampleCnt, GrRenderable, skgpu::Mipmapped) const
 
void setLazyDimensions (SkISize dimensions)
 
bool instantiateImpl (GrResourceProvider *resourceProvider, int sampleCnt, GrRenderable, skgpu::Mipmapped, const skgpu::UniqueKey *)
 
- Protected Attributes inherited from GrSurfaceProxy
sk_sp< GrSurfacefTarget
 
GrInternalSurfaceFlags fSurfaceFlags
 

Detailed Description

Definition at line 44 of file GrTextureRenderTargetProxy.h.

Friends And Related Function Documentation

◆ GrProxyProvider

friend class GrProxyProvider
friend

Definition at line 48 of file GrTextureRenderTargetProxy.h.

◆ GrSurfaceProxy

friend class GrSurfaceProxy
friend

Definition at line 47 of file GrTextureRenderTargetProxy.h.


The documentation for this class was generated from the following files: