Flutter Engine
The Flutter Engine
|
#include <GrGLTexture.h>
Classes | |
struct | Desc |
Static Public Member Functions | |
static GrTextureType | TextureTypeFromTarget (GrGLenum textureTarget) |
static sk_sp< GrGLTexture > | MakeWrapped (GrGLGpu *, GrMipmapStatus, const Desc &, sk_sp< GrGLTextureParameters >, GrWrapCacheable, GrIOType, std::string_view label) |
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 20 of file GrGLTexture.h.
GrGLTexture::GrGLTexture | ( | GrGLGpu * | gpu, |
skgpu::Budgeted | budgeted, | ||
const Desc & | desc, | ||
GrMipmapStatus | mipmapStatus, | ||
std::string_view | label | ||
) |
Definition at line 50 of file GrGLTexture.cpp.
|
inlineoverride |
Definition at line 35 of file GrGLTexture.h.
|
protected |
Definition at line 89 of file GrGLTexture.cpp.
|
protected |
Definition at line 70 of file GrGLTexture.cpp.
|
overridevirtual |
Implements GrSurface.
Reimplemented in GrGLTextureRenderTarget.
Definition at line 145 of file GrGLTexture.cpp.
|
inline |
Definition at line 53 of file GrGLTexture.h.
|
overridevirtual |
Dumps memory usage information for this GrGpuResource to traceMemoryDump. Typically, subclasses should not need to override this, and should only need to override setMemoryBacking.
Reimplemented from GrGpuResource.
Reimplemented in GrGLTextureRenderTarget.
Definition at line 186 of file GrGLTexture.cpp.
|
inline |
Definition at line 50 of file GrGLTexture.h.
|
overridevirtual |
Implements GrTexture.
Definition at line 134 of file GrGLTexture.cpp.
|
inline |
Definition at line 52 of file GrGLTexture.h.
|
protected |
Definition at line 106 of file GrGLTexture.cpp.
|
static |
Definition at line 150 of file GrGLTexture.cpp.
|
overrideprotectedvirtual |
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 GrGpuResource.
Reimplemented in GrGLTextureRenderTarget.
Definition at line 129 of file GrGLTexture.cpp.
|
overrideprotectedvirtual |
Overridden to free GPU resources in the backend API.
Reimplemented from GrGpuResource.
Reimplemented in GrGLTextureRenderTarget.
Definition at line 116 of file GrGLTexture.cpp.
|
overrideprotectedvirtual |
Implements GrGpuResource.
Definition at line 174 of file GrGLTexture.cpp.
|
overrideprotectedvirtual |
Implements GrTexture.
Definition at line 161 of file GrGLTexture.cpp.
|
inline |
Definition at line 44 of file GrGLTexture.h.
GrGLenum GrGLTexture::target | ( | ) | const |
Definition at line 114 of file GrGLTexture.cpp.
|
inline |
Definition at line 46 of file GrGLTexture.h.
|
inlineoverridevirtual |
This function indicates that the texture parameters (wrap mode, filtering, ...) have been changed externally to Skia.
Implements GrTexture.
Definition at line 42 of file GrGLTexture.h.
|
static |
Definition at line 23 of file GrGLTexture.cpp.