Searched refs:GrColorFormatDesc (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/src/gpu/vk/ |
D | GrVkUtil.h | 80 static constexpr GrColorFormatDesc GrVkFormatDesc(VkFormat vkFormat) { in GrVkFormatDesc() 83 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 85 return GrColorFormatDesc::MakeR(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 87 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 89 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 91 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrVkFormatDesc() 93 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrVkFormatDesc() 95 return GrColorFormatDesc::MakeRGB(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 97 return GrColorFormatDesc::MakeRG(8, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() 99 return GrColorFormatDesc::MakeRGBA(10, 2, GrColorTypeEncoding::kUnorm); in GrVkFormatDesc() [all …]
|
/third_party/skia/src/gpu/d3d/ |
D | GrD3DUtil.h | 59 static constexpr GrColorFormatDesc GrDxgiFormatDesc(DXGI_FORMAT format) { in GrDxgiFormatDesc() 62 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 64 return GrColorFormatDesc::MakeR(8, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 66 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 68 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 70 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrDxgiFormatDesc() 72 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); in GrDxgiFormatDesc() 74 return GrColorFormatDesc::MakeRG(8, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 76 return GrColorFormatDesc::MakeRGBA(10, 2, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() 78 return GrColorFormatDesc::MakeRGBA(4, GrColorTypeEncoding::kUnorm); in GrDxgiFormatDesc() [all …]
|
/third_party/skia/src/gpu/gl/ |
D | GrGLUtil.h | 77 static constexpr GrColorFormatDesc GrGLFormatDesc(GrGLFormat format) { in GrGLFormatDesc() 79 case GrGLFormat::kUnknown: return GrColorFormatDesc::MakeInvalid(); in GrGLFormatDesc() 82 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 84 return GrColorFormatDesc::MakeR(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 86 return GrColorFormatDesc::MakeAlpha(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 88 return GrColorFormatDesc::MakeGray(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 90 return GrColorFormatDesc::MakeGrayAlpha(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 92 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 94 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); in GrGLFormatDesc() 96 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); in GrGLFormatDesc() [all …]
|
/third_party/skia/include/private/ |
D | GrTypesPriv.h | 1020 class GrColorFormatDesc { 1022 static constexpr GrColorFormatDesc MakeRGBA(int rgba, GrColorTypeEncoding e) { in MakeRGBA() 1026 static constexpr GrColorFormatDesc MakeRGBA(int rgb, int a, GrColorTypeEncoding e) { in MakeRGBA() 1030 static constexpr GrColorFormatDesc MakeRGB(int rgb, GrColorTypeEncoding e) { in MakeRGB() 1034 static constexpr GrColorFormatDesc MakeRGB(int r, int g, int b, GrColorTypeEncoding e) { in MakeRGB() 1038 static constexpr GrColorFormatDesc MakeAlpha(int a, GrColorTypeEncoding e) { in MakeAlpha() 1042 static constexpr GrColorFormatDesc MakeR(int r, GrColorTypeEncoding e) { in MakeR() 1046 static constexpr GrColorFormatDesc MakeRG(int rg, GrColorTypeEncoding e) { in MakeRG() 1050 static constexpr GrColorFormatDesc MakeGray(int grayBits, GrColorTypeEncoding e) { in MakeGray() 1054 static constexpr GrColorFormatDesc MakeGrayAlpha(int grayAlpha, GrColorTypeEncoding e) { in MakeGrayAlpha() [all …]
|
/third_party/skia/src/gpu/dawn/ |
D | GrDawnUtil.h | 34 static constexpr GrColorFormatDesc GrDawnFormatDesc(wgpu::TextureFormat format) { in GrDawnFormatDesc() 37 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrDawnFormatDesc() 39 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); in GrDawnFormatDesc() 41 return GrColorFormatDesc::MakeR(8, GrColorTypeEncoding::kUnorm); in GrDawnFormatDesc() 44 return GrColorFormatDesc::MakeInvalid(); in GrDawnFormatDesc()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlUtil.mm | 309 GrColorFormatDesc GrMtlFormatDesc(GrMTLPixelFormat mtlFormat) { 312 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); 314 return GrColorFormatDesc::MakeR(8, GrColorTypeEncoding::kUnorm); 316 return GrColorFormatDesc::MakeAlpha(8, GrColorTypeEncoding::kUnorm); 318 return GrColorFormatDesc::MakeRGBA(8, GrColorTypeEncoding::kUnorm); 321 return GrColorFormatDesc::MakeRGB(5, 6, 5, GrColorTypeEncoding::kUnorm); 324 return GrColorFormatDesc::MakeRGBA(16, GrColorTypeEncoding::kFloat); 326 return GrColorFormatDesc::MakeR(16, GrColorTypeEncoding::kFloat); 328 return GrColorFormatDesc::MakeRG(8, GrColorTypeEncoding::kUnorm); 330 return GrColorFormatDesc::MakeRGBA(10, 2, GrColorTypeEncoding::kUnorm); [all …]
|
D | GrMtlCppUtil.h | 27 GrColorFormatDesc GrMtlFormatDesc(GrMTLPixelFormat);
|
/third_party/skia/include/gpu/ |
D | GrBackendSurface.h | 31 class GrColorFormatDesc; variable 132 GrColorFormatDesc desc() const;
|
/third_party/skia/src/gpu/ |
D | GrBackendSurface.cpp | 248 GrColorFormatDesc GrBackendFormat::desc() const { in desc() 250 return GrColorFormatDesc::MakeInvalid(); in desc() 277 return GrColorFormatDesc::MakeInvalid(); in desc()
|