• Home
  • Raw
  • Download

Lines Matching refs:GrBackendFormat

48 class SK_API GrBackendFormat {
72 class SK_API GrBackendFormat {
75 GrBackendFormat() {} in GrBackendFormat() function
76 GrBackendFormat(const GrBackendFormat&);
77 GrBackendFormat& operator=(const GrBackendFormat&);
79 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL()
80 return GrBackendFormat(format, target); in MakeGL()
83 static GrBackendFormat MakeVk(VkFormat format) { in MakeVk()
84 return GrBackendFormat(format, GrVkYcbcrConversionInfo()); in MakeVk()
87 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);
90 static GrBackendFormat MakeDawn(wgpu::TextureFormat format) { in MakeDawn()
91 return GrBackendFormat(format); in MakeDawn()
96 static GrBackendFormat MakeMtl(GrMTLPixelFormat format) { in MakeMtl()
97 return GrBackendFormat(format); in MakeMtl()
102 static GrBackendFormat MakeDxgi(DXGI_FORMAT format) { in MakeDxgi()
103 return GrBackendFormat(format); in MakeDxgi()
107 static GrBackendFormat MakeMock(GrColorType colorType, SkImage::CompressionType compression,
110 bool operator==(const GrBackendFormat& that) const;
111 bool operator!=(const GrBackendFormat& that) const { return !(*this == that); }
172 GrBackendFormat makeTexture2D() const;
182 GrBackendFormat(GrGLenum format, GrGLenum target);
184 GrBackendFormat(const VkFormat vkFormat, const GrVkYcbcrConversionInfo&);
187 GrBackendFormat(wgpu::TextureFormat format);
191 GrBackendFormat(const GrMTLPixelFormat mtlFormat);
195 GrBackendFormat(DXGI_FORMAT dxgiFormat);
198 GrBackendFormat(GrColorType, SkImage::CompressionType, bool isStencilFormat);
330 GrBackendFormat getBackendFormat() const;
519 GrBackendFormat getBackendFormat() const;