22 std::string_view label)
23 :
GrSurface(gpu, texDesc.fSize, texDesc.fIsProtected, label)
24 ,
GrGLTexture(gpu, texDesc, nullptr, mipmapStatus, label)
26 texDesc.fIsProtected, label) {
37 std::string_view label)
38 :
GrSurface(gpu, texDesc.fSize, texDesc.fIsProtected, label)
39 ,
GrGLTexture(gpu, texDesc,
std::move(parameters), mipmapStatus, label)
41 texDesc.fIsProtected, label) {
47#ifndef SK_BUILD_FOR_ANDROID_FRAMEWORK
53 resourceName.
append(
"/texture_renderbuffer");
74 std::string_view label) {
86size_t GrGLTextureRenderTarget::onGpuMemorySize()
const {
91void GrGLTextureRenderTarget::onSetLabel() {
int totalMemorySamplesPerPixel() const
void dumpMemoryStatistics(SkTraceMemoryDump *traceMemoryDump) const override
static sk_sp< GrGLTextureRenderTarget > MakeWrapped(GrGLGpu *gpu, int sampleCount, const GrGLTexture::Desc &, sk_sp< GrGLTextureParameters >, const GrGLRenderTarget::IDs &, GrWrapCacheable, GrMipmapStatus, std::string_view label)
void dumpMemoryStatistics(SkTraceMemoryDump *traceMemoryDump) const override
GrGLTextureRenderTarget(GrGLGpu *gpu, skgpu::Budgeted budgeted, int sampleCount, const GrGLTexture::Desc &texDesc, const GrGLRenderTarget::IDs &, GrMipmapStatus, std::string_view label)
bool canAttemptStencilAttachment(bool useMultisampleFBO) const override
GrBackendFormat backendFormat() const override
GrGLTextureParameters * parameters()
void onSetLabel() override
void dumpMemoryStatistics(SkTraceMemoryDump *traceMemoryDump) const override
size_t gpuMemorySize() const
void dumpMemoryStatisticsPriv(SkTraceMemoryDump *traceMemoryDump, const SkString &resourceName, const char *type, size_t size) const
const GrDirectContext * getContext() const
SkString getResourceName() const
void registerWithCacheWrapped(GrWrapCacheable)
void registerWithCache(skgpu::Budgeted)
SkISize dimensions() const
static size_t ComputeSize(const GrBackendFormat &, SkISize dimensions, int colorSamplesPerPixel, skgpu::Mipmapped, bool binSize=false)
skgpu::Mipmapped mipmapped() const
GrMipmapStatus mipmapStatus() const
void append(const char text[])
FlPixelBufferTexturePrivate * priv