Lines Matching defs:const

55     bool isValid() const { return false; }
63 bool isValid() const { return false; }
70 bool isValid() const { return false; }
71 bool isFramebufferOnly() const { return false; }
81 GrBackendFormat(const GrBackendFormat&);
82 GrBackendFormat& operator=(const GrBackendFormat&);
95 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo,
120 bool operator==(const GrBackendFormat& that) const;
121 bool operator!=(const GrBackendFormat& that) const { return !(*this == that); }
123 GrBackendApi backend() const { return fBackend; }
124 GrTextureType textureType() const { return fTextureType; }
130 uint32_t channelMask() const;
132 GrColorFormatDesc desc() const;
139 GrGLFormat asGLFormat() const;
147 bool asVkFormat(VkFormat*) const;
149 const GrVkYcbcrConversionInfo* getVkYcbcrConversionInfo() const;
157 bool asDawnFormat(wgpu::TextureFormat*) const;
165 GrMTLPixelFormat asMtlFormat() const;
173 bool asDxgiFormat(DXGI_FORMAT*) const;
181 GrColorType asMockColorType() const;
182 SkImage::CompressionType asMockCompressionType() const;
183 bool isMockStencilFormat() const;
188 GrBackendFormat makeTexture2D() const;
191 bool isValid() const { return fValid; }
194 SkString toStr() const;
203 GrBackendFormat(const VkFormat vkFormat, const GrVkYcbcrConversionInfo&,
212 GrBackendFormat(const GrMTLPixelFormat mtlFormat);
222 bool validateMock() const;
268 const GrGLTextureInfo& glInfo);
274 const GrVkImageInfo& vkInfo);
281 const GrMtlTextureInfo& mtlInfo);
287 const GrD3DTextureResourceInfo& d3dInfo);
293 const GrDawnTextureInfo& dawnInfo);
299 const GrMockTextureInfo& mockInfo);
301 GrBackendTexture(const GrBackendTexture& that);
305 GrBackendTexture& operator=(const GrBackendTexture& that);
307 SkISize dimensions() const { return {fWidth, fHeight}; }
308 int width() const { return fWidth; }
309 int height() const { return fHeight; }
310 GrMipmapped mipmapped() const { return fMipmapped; }
311 bool hasMipmaps() const { return fMipmapped == GrMipmapped::kYes; }
313 bool hasMipMaps() const { return this->hasMipmaps(); }
314 GrBackendApi backend() const {return fBackend; }
315 GrTextureType textureType() const { return fTextureType; }
320 bool getGLTextureInfo(GrGLTextureInfo*) const;
330 bool getDawnTextureInfo(GrDawnTextureInfo*) const;
337 bool getVkImageInfo(GrVkImageInfo*) const;
347 bool getMtlTextureInfo(GrMtlTextureInfo*) const;
354 bool getD3DTextureResourceInfo(GrD3DTextureResourceInfo*) const;
362 GrBackendFormat getBackendFormat() const;
366 bool getMockTextureInfo(GrMockTextureInfo*) const;
373 void setMutableState(const GrBackendSurfaceMutableState&);
376 bool isProtected() const;
379 bool isValid() const { return fIsValid; }
382 bool isSameTexture(const GrBackendTexture&);
385 static bool TestingOnly_Equals(const GrBackendTexture& , const GrBackendTexture&);
390 sk_sp<GrBackendSurfaceMutableStateImpl> getMutableState() const;
398 const GrGLTextureInfo,
400 sk_sp<GrGLTextureParameters> getGLTextureParams() const;
407 const GrVkImageInfo& vkInfo,
416 const GrD3DTextureResourceInfo& vkInfo,
418 sk_sp<GrD3DResourceState> getGrD3DResourceState() const;
465 const GrGLFramebufferInfo& glInfo);
474 const GrDawnRenderTargetInfo& dawnInfo);
479 GrBackendRenderTarget(int width, int height, int sampleCnt, const GrVkImageInfo& vkInfo);
481 GrBackendRenderTarget(int width, int height, const GrVkImageInfo& vkInfo);
487 const GrMtlTextureInfo& mtlInfo);
492 const GrMtlTextureInfo& mtlInfo);
498 const GrD3DTextureResourceInfo& d3dInfo);
505 const GrMockRenderTargetInfo& mockInfo);
509 GrBackendRenderTarget(const GrBackendRenderTarget& that);
510 GrBackendRenderTarget& operator=(const GrBackendRenderTarget&);
512 SkISize dimensions() const { return {fWidth, fHeight}; }
513 int width() const { return fWidth; }
514 int height() const { return fHeight; }
515 int sampleCnt() const { return fSampleCnt; }
516 int stencilBits() const { return fStencilBits; }
517 GrBackendApi backend() const {return fBackend; }
518 bool isFramebufferOnly() const { return fFramebufferOnly; }
523 bool getGLFramebufferInfo(GrGLFramebufferInfo*) const;
529 bool getDawnRenderTargetInfo(GrDawnRenderTargetInfo*) const;
536 bool getVkImageInfo(GrVkImageInfo*) const;
546 bool getMtlTextureInfo(GrMtlTextureInfo*) const;
552 bool getD3DTextureResourceInfo(GrD3DTextureResourceInfo*) const;
560 GrBackendFormat getBackendFormat() const;
564 bool getMockRenderTargetInfo(GrMockRenderTargetInfo*) const;
571 void setMutableState(const GrBackendSurfaceMutableState&);
574 bool isProtected() const;
577 bool isValid() const { return fIsValid; }
581 static bool TestingOnly_Equals(const GrBackendRenderTarget&, const GrBackendRenderTarget&);
586 sk_sp<GrBackendSurfaceMutableStateImpl> getMutableState() const;
592 const GrVkImageInfo& vkInfo,
601 const GrD3DTextureResourceInfo& d3dInfo,
603 sk_sp<GrD3DResourceState> getGrD3DResourceState() const;