Lines Matching defs:const

59     SkSurfaceCharacterization(const SkSurfaceCharacterization&) = default;
60 SkSurfaceCharacterization& operator=(const SkSurfaceCharacterization& other) = default;
61 bool operator==(const SkSurfaceCharacterization& other) const;
62 bool operator!=(const SkSurfaceCharacterization& other) const {
70 SkSurfaceCharacterization createResized(int width, int height) const;
75 SkSurfaceCharacterization createColorSpace(sk_sp<SkColorSpace>) const;
82 const GrBackendFormat& backendFormat) const;
87 SkSurfaceCharacterization createFBO0(bool usesGLFBO0) const;
89 GrContextThreadSafeProxy* contextInfo() const { return fContextInfo.get(); }
90 sk_sp<GrContextThreadSafeProxy> refContextInfo() const { return fContextInfo; }
91 size_t cacheMaxResourceBytes() const { return fCacheMaxResourceBytes; }
93 bool isValid() const { return kUnknown_SkColorType != fImageInfo.colorType(); }
95 const SkImageInfo& imageInfo() const { return fImageInfo; }
96 const GrBackendFormat& backendFormat() const { return fBackendFormat; }
97 GrSurfaceOrigin origin() const { return fOrigin; }
98 SkISize dimensions() const { return fImageInfo.dimensions(); }
99 int width() const { return fImageInfo.width(); }
100 int height() const { return fImageInfo.height(); }
101 SkColorType colorType() const { return fImageInfo.colorType(); }
102 int sampleCount() const { return fSampleCnt; }
103 bool isTextureable() const { return Textureable::kYes == fIsTextureable; }
104 bool isMipMapped() const { return MipMapped::kYes == fIsMipMapped; }
105 bool usesGLFBO0() const { return UsesGLFBO0::kYes == fUsesGLFBO0; }
106 bool vkRTSupportsInputAttachment() const {
109 bool vulkanSecondaryCBCompatible() const {
112 GrProtected isProtected() const { return fIsProtected; }
113 SkColorSpace* colorSpace() const { return fImageInfo.colorSpace(); }
114 sk_sp<SkColorSpace> refColorSpace() const { return fImageInfo.refColorSpace(); }
115 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; }
118 bool isCompatible(const GrBackendTexture&) const;
127 SkDEBUGCODE(void validate() const;)
131 const SkImageInfo& ii,
132 const GrBackendFormat& backendFormat,
141 const SkSurfaceProps& surfaceProps)
164 const SkImageInfo& ii,
165 const GrBackendFormat& backendFormat,
174 const SkSurfaceProps& surfaceProps) {
220 SkSurfaceCharacterization createResized(int width, int height) const {
224 SkSurfaceCharacterization createColorSpace(sk_sp<SkColorSpace>) const {
228 SkSurfaceCharacterization createBackendFormat(SkColorType, const GrBackendFormat&) const {
232 SkSurfaceCharacterization createFBO0(bool usesGLFBO0) const {
236 bool operator==(const SkSurfaceCharacterization& other) const { return false; }
237 bool operator!=(const SkSurfaceCharacterization& other) const {
241 size_t cacheMaxResourceBytes() const { return 0; }
243 bool isValid() const { return false; }
245 int width() const { return 0; }
246 int height() const { return 0; }
247 int stencilCount() const { return 0; }
248 bool isTextureable() const { return false; }
249 bool isMipMapped() const { return false; }
250 bool usesGLFBO0() const { return false; }
251 bool vkRTSupportsAttachmentInput() const { return false; }
252 bool vulkanSecondaryCBCompatible() const { return false; }
253 SkColorSpace* colorSpace() const { return nullptr; }
254 sk_sp<SkColorSpace> refColorSpace() const { return nullptr; }
255 const SkSurfaceProps& surfaceProps()const { return fSurfaceProps; }