46 : fCacheMaxResourceBytes(0)
63 return !(*
this == other);
99 int width()
const {
return fImageInfo.width(); }
100 int height()
const {
return fImageInfo.height(); }
104 bool isMipMapped()
const {
return skgpu::Mipmapped::kYes == fIsMipmapped; }
105 bool usesGLFBO0()
const {
return UsesGLFBO0::kYes == fUsesGLFBO0; }
107 return VkRTSupportsInputAttachment::kYes == fVkRTSupportsInputAttachment;
110 return VulkanSecondaryCBCompatible::kYes == fVulkanSecondaryCBCompatible;
128 size_t cacheMaxResourceBytes,
140 : fContextInfo(
std::move(contextInfo))
141 , fCacheMaxResourceBytes(cacheMaxResourceBytes)
143 , fBackendFormat(
std::move(backendFormat))
145 , fSampleCnt(sampleCnt)
146 , fIsTextureable(isTextureable)
147 , fIsMipmapped(isMipmapped)
148 , fUsesGLFBO0(usesGLFBO0)
149 , fVkRTSupportsInputAttachment(vkRTSupportsInputAttachment)
150 , fVulkanSecondaryCBCompatible(vulkanSecondaryCBCompatible)
151 , fIsProtected(isProtected)
152 , fSurfaceProps(surfaceProps) {
161 size_t cacheMaxResourceBytes,
166 Textureable isTextureable,
168 UsesGLFBO0 usesGLFBO0,
169 VkRTSupportsInputAttachment vkRTSupportsInputAttachment,
170 VulkanSecondaryCBCompatible vulkanSecondaryCBCompatible,
177 fContextInfo = std::move(contextInfo);
178 fCacheMaxResourceBytes = cacheMaxResourceBytes;
181 fBackendFormat = std::move(backendFormat);
183 fSampleCnt = sampleCnt;
184 fIsTextureable = isTextureable;
185 fIsMipmapped = isMipmapped;
186 fUsesGLFBO0 = usesGLFBO0;
187 fVkRTSupportsInputAttachment = vkRTSupportsInputAttachment;
188 fVulkanSecondaryCBCompatible = vulkanSecondaryCBCompatible;
189 fIsProtected = isProtected;
190 fSurfaceProps = surfaceProps;
196 size_t fCacheMaxResourceBytes;
202 Textureable fIsTextureable;
204 UsesGLFBO0 fUsesGLFBO0;
205 VkRTSupportsInputAttachment fVkRTSupportsInputAttachment;
206 VulkanSecondaryCBCompatible fVulkanSecondaryCBCompatible;