Lines Matching refs:GrBackendFormat
41 class SK_API GrBackendFormat {
44 GrBackendFormat() : fValid(false) {} in GrBackendFormat() function
46 static GrBackendFormat MakeGL(GrGLenum format, GrGLenum target) { in MakeGL()
47 return GrBackendFormat(format, target); in MakeGL()
50 static GrBackendFormat MakeVk(VkFormat format) { in MakeVk()
51 return GrBackendFormat(format, GrVkYcbcrConversionInfo()); in MakeVk()
57 static GrBackendFormat MakeVk(const GrVkYcbcrConversionInfo& ycbcrInfo);
60 static GrBackendFormat MakeMtl(GrMTLPixelFormat format) { in MakeMtl()
61 return GrBackendFormat(format); in MakeMtl()
65 static GrBackendFormat MakeMock(GrPixelConfig config) { in MakeMock()
66 return GrBackendFormat(config); in MakeMock()
69 bool operator==(const GrBackendFormat& that) const;
70 bool operator!=(const GrBackendFormat& that) const { return !(*this == that); }
97 GrBackendFormat makeTexture2D() const;
103 GrBackendFormat(GrGLenum format, GrGLenum target);
105 GrBackendFormat(const VkFormat vkFormat, const GrVkYcbcrConversionInfo&);
108 GrBackendFormat(const GrMTLPixelFormat mtlFormat);
111 GrBackendFormat(const GrPixelConfig config);
188 GrBackendFormat getBackendFormat() const;