Flutter Engine
The Flutter Engine
|
#include <GrMtlTexture.h>
Static Public Member Functions | |
static sk_sp< GrMtlTexture > | MakeNewTexture (GrMtlGpu *, skgpu::Budgeted budgeted, SkISize dimensions, MTLPixelFormat format, uint32_t mipLevels, GrMipmapStatus, std::string_view label) |
static sk_sp< GrMtlTexture > | MakeWrappedTexture (GrMtlGpu *, SkISize, id< MTLTexture >, GrWrapCacheable, GrIOType) |
Static Public Member Functions inherited from GrTexture | |
static bool | StealBackendTexture (sk_sp< GrTexture >, GrBackendTexture *, SkImages::BackendTextureReleaseProc *) |
static void | ComputeScratchKey (const GrCaps &caps, const GrBackendFormat &format, SkISize dimensions, GrRenderable, int sampleCnt, skgpu::Mipmapped, GrProtected, skgpu::ScratchKey *key) |
Static Public Member Functions inherited from GrSurface | |
static size_t | ComputeSize (const GrBackendFormat &, SkISize dimensions, int colorSamplesPerPixel, skgpu::Mipmapped, bool binSize=false) |
Static Public Member Functions inherited from GrGpuResource | |
static uint32_t | CreateUniqueID () |
Additional Inherited Members | |
Public Types inherited from GrSurface | |
typedef void * | ReleaseCtx |
typedef void(* | ReleaseProc) (ReleaseCtx) |
Public Types inherited from GrIORef< GrGpuResource > | |
enum | LastRemovedRef |
Definition at line 18 of file GrMtlTexture.h.
|
override |
Definition at line 122 of file GrMtlTexture.mm.
|
protected |
Definition at line 65 of file GrMtlTexture.mm.
|
inline |
Definition at line 36 of file GrMtlTexture.h.
|
overridevirtual |
Implements GrSurface.
Reimplemented in GrMtlTextureRenderTarget.
Definition at line 140 of file GrMtlTexture.mm.
|
overridevirtual |
Implements GrTexture.
Definition at line 131 of file GrMtlTexture.mm.
|
protected |
Definition at line 126 of file GrMtlTexture.mm.
|
static |
Definition at line 81 of file GrMtlTexture.mm.
|
static |
Definition at line 98 of file GrMtlTexture.mm.
|
inline |
Definition at line 37 of file GrMtlTexture.h.
|
inlineoverrideprotectedvirtual |
Overridden to abandon any internal handles, ptrs, etc to backend API resources. This may be called when the underlying 3D context is no longer valid and so no backend API calls should be made.
Reimplemented from GrSurface.
Reimplemented in GrMtlTextureRenderTarget.
Definition at line 56 of file GrMtlTexture.h.
|
inlineoverrideprotectedvirtual |
Overridden to free GPU resources in the backend API.
Reimplemented from GrSurface.
Reimplemented in GrMtlTextureRenderTarget.
Definition at line 60 of file GrMtlTexture.h.
|
overrideprotectedvirtual |
Implements GrGpuResource.
Definition at line 144 of file GrMtlTexture.mm.
|
inlineoverrideprotectedvirtual |
bool GrMtlTexture::reallocForMipmap | ( | GrMtlGpu * | gpu, |
uint32_t | mipLevels | ||
) |
|
inlineoverridevirtual |
This function indicates that the texture parameters (wrap mode, filtering, ...) have been changed externally to Skia.
Implements GrTexture.
Definition at line 43 of file GrMtlTexture.h.