Home
last modified time | relevance | path

Searched refs:FormatType (Results 1 – 25 of 46) sorted by relevance

12

/third_party/vk-gl-cts/external/amber/src/src/
Dtype_parser.cc179 FormatType TypeParser::NameToFormatType(const std::string& data) { in NameToFormatType()
181 return FormatType::kA1R5G5B5_UNORM_PACK16; in NameToFormatType()
183 return FormatType::kA2B10G10R10_SINT_PACK32; in NameToFormatType()
185 return FormatType::kA2B10G10R10_SNORM_PACK32; in NameToFormatType()
187 return FormatType::kA2B10G10R10_SSCALED_PACK32; in NameToFormatType()
189 return FormatType::kA2B10G10R10_UINT_PACK32; in NameToFormatType()
191 return FormatType::kA2B10G10R10_UNORM_PACK32; in NameToFormatType()
193 return FormatType::kA2B10G10R10_USCALED_PACK32; in NameToFormatType()
195 return FormatType::kA2R10G10B10_SINT_PACK32; in NameToFormatType()
197 return FormatType::kA2R10G10B10_SNORM_PACK32; in NameToFormatType()
[all …]
Dtype_parser_test.cc27 FormatType type; in TEST_F()
37 FormatType::kA1R5G5B5_UNORM_PACK16, in TEST_F()
47 FormatType::kA2B10G10R10_SINT_PACK32, in TEST_F()
57 FormatType::kA2B10G10R10_SNORM_PACK32, in TEST_F()
67 FormatType::kA2B10G10R10_SSCALED_PACK32, in TEST_F()
77 FormatType::kA2B10G10R10_UINT_PACK32, in TEST_F()
87 FormatType::kA2B10G10R10_UNORM_PACK32, in TEST_F()
97 FormatType::kA2B10G10R10_USCALED_PACK32, in TEST_F()
107 FormatType::kA2R10G10B10_SINT_PACK32, in TEST_F()
117 FormatType::kA2R10G10B10_SNORM_PACK32, in TEST_F()
[all …]
Dformat.h90 void SetFormatType(FormatType type) { format_type_ = type; } in SetFormatType()
91 FormatType GetFormatType() const { return format_type_; } in GetFormatType()
116 bool IsFormatKnown() const { return format_type_ != FormatType::kUnknown; } in IsFormatKnown()
118 return format_type_ == FormatType::kD16_UNORM || in HasDepthComponent()
119 format_type_ == FormatType::kD16_UNORM_S8_UINT || in HasDepthComponent()
120 format_type_ == FormatType::kD24_UNORM_S8_UINT || in HasDepthComponent()
121 format_type_ == FormatType::kD32_SFLOAT || in HasDepthComponent()
122 format_type_ == FormatType::kD32_SFLOAT_S8_UINT || in HasDepthComponent()
123 format_type_ == FormatType::kX8_D24_UNORM_PACK32; in HasDepthComponent()
126 return format_type_ == FormatType::kD24_UNORM_S8_UINT || in HasStencilComponent()
[all …]
Damber.cc33 const FormatType kDefaultFramebufferFormat = FormatType::kB8G8R8A8_UNORM;
Dtype_parser.h29 static FormatType NameToFormatType(const std::string& data);
Dformat_data.h40 enum class FormatType { enum
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Ddatum_type_parser_test.cc152 FormatType format_type;
172 DatumFormatData{"int", FormatType::kR32_SINT},
173 DatumFormatData{"uint", FormatType::kR32_UINT},
174 DatumFormatData{"int8_t", FormatType::kR8_SINT},
175 DatumFormatData{"uint8_t", FormatType::kR8_UINT},
176 DatumFormatData{"int16_t", FormatType::kR16_SINT},
177 DatumFormatData{"uint16_t", FormatType::kR16_UINT},
178 DatumFormatData{"int64_t", FormatType::kR64_SINT},
179 DatumFormatData{"uint64_t", FormatType::kR64_UINT},
180 DatumFormatData{"float", FormatType::kR32_SFLOAT},
[all …]
Dparser_test.cc136 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
151 EXPECT_EQ(FormatType::kD24_UNORM_S8_UINT, in TEST_F()
234 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
237 EXPECT_EQ(FormatType::kD24_UNORM_S8_UINT, in TEST_F()
342 EXPECT_EQ(FormatType::kR32G32_SFLOAT, bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
346 EXPECT_EQ(FormatType::kA8B8G8R8_UNORM_PACK32, in TEST_F()
371 EXPECT_EQ(FormatType::kR32G32_SFLOAT, bufs[1]->GetFormat()->GetFormatType()); in TEST_F()
380 EXPECT_EQ(FormatType::kR32G32B32_SINT, bufs[2]->GetFormat()->GetFormatType()); in TEST_F()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Ddevice.cc915 case FormatType::kUnknown: in GetVkFormat()
918 case FormatType::kA1R5G5B5_UNORM_PACK16: in GetVkFormat()
921 case FormatType::kA2B10G10R10_SINT_PACK32: in GetVkFormat()
924 case FormatType::kA2B10G10R10_SNORM_PACK32: in GetVkFormat()
927 case FormatType::kA2B10G10R10_SSCALED_PACK32: in GetVkFormat()
930 case FormatType::kA2B10G10R10_UINT_PACK32: in GetVkFormat()
933 case FormatType::kA2B10G10R10_UNORM_PACK32: in GetVkFormat()
936 case FormatType::kA2B10G10R10_USCALED_PACK32: in GetVkFormat()
939 case FormatType::kA2R10G10B10_SINT_PACK32: in GetVkFormat()
942 case FormatType::kA2R10G10B10_SNORM_PACK32: in GetVkFormat()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h27 struct FormatType final
29 FormatType();
30 FormatType(GLenum format_, GLenum type_);
31 FormatType(const FormatType &other) = default;
32 FormatType &operator=(const FormatType &other) = default;
34 bool operator<(const FormatType &other) const;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
Dformatutils.h29 struct FormatType final
31 FormatType();
32 FormatType(GLenum format_, GLenum type_);
33 FormatType(const FormatType &other) = default;
34 FormatType &operator=(const FormatType &other) = default;
36 bool operator<(const FormatType &other) const;
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSamplerBorderSwizzleTests.cpp193 enum class FormatType enum
200 FormatType getFormatType (VkFormat format) in getFormatType()
203 return FormatType::SIGNED_INT; in getFormatType()
206 return FormatType::UNSIGNED_INT; in getFormatType()
208 return FormatType::FLOAT; in getFormatType()
216 if (formatType == FormatType::SIGNED_INT) in getColorAttachmentFormat()
219 if (formatType == FormatType::UNSIGNED_INT) in getColorAttachmentFormat()
243 if (formatType == FormatType::SIGNED_INT) in initPrograms()
245 else if (formatType == FormatType::UNSIGNED_INT) in initPrograms()
387 if (formatType == FormatType::UNSIGNED_INT) in getExpectedColor()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineSamplerBorderSwizzleTests.cpp193 enum class FormatType enum
200 FormatType getFormatType (VkFormat format) in getFormatType()
203 return FormatType::SIGNED_INT; in getFormatType()
206 return FormatType::UNSIGNED_INT; in getFormatType()
208 return FormatType::FLOAT; in getFormatType()
216 if (formatType == FormatType::SIGNED_INT) in getColorAttachmentFormat()
219 if (formatType == FormatType::UNSIGNED_INT) in getColorAttachmentFormat()
243 if (formatType == FormatType::SIGNED_INT) in initPrograms()
245 else if (formatType == FormatType::UNSIGNED_INT) in initPrograms()
387 if (formatType == FormatType::UNSIGNED_INT) in getExpectedColor()
[all …]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc518 case FormatType::kR8G8B8A8_UNORM: in GetDawnTextureFormat()
521 case FormatType::kR8G8_UNORM: in GetDawnTextureFormat()
524 case FormatType::kR8_UNORM: in GetDawnTextureFormat()
527 case FormatType::kR8G8B8A8_UINT: in GetDawnTextureFormat()
530 case FormatType::kR8G8_UINT: in GetDawnTextureFormat()
533 case FormatType::kR8_UINT: in GetDawnTextureFormat()
536 case FormatType::kB8G8R8A8_UNORM: in GetDawnTextureFormat()
539 case FormatType::kD32_SFLOAT_S8_UINT: in GetDawnTextureFormat()
559 case FormatType::kR32_SFLOAT: in GetDawnVertexFormat()
562 case FormatType::kR32G32_SFLOAT: in GetDawnVertexFormat()
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fInternalFormatQueryTests.cpp44 enum FormatType enum in deqp::gles31::Functional::__anon0e0bd8b20111::FormatSamplesCase
51 … char* name, const char* desc, glw::GLenum texTarget, glw::GLenum internalFormat, FormatType type);
58 const FormatType m_type;
61 …onst char* name, const char* desc, glw::GLenum target, glw::GLenum internalFormat, FormatType type) in FormatSamplesCase()
380 FormatSamplesCase::FormatType type; in init()
/third_party/skia/third_party/externals/freetype/src/sfnt/
Dttpost.c387 format = face->postscript.FormatType; in load_post_names()
418 format = face->postscript.FormatType; in tt_face_free_ps_names()
506 format = face->postscript.FormatType; in tt_face_get_ps_name()
Dttload.c1311 FT_FRAME_LONG ( FormatType ), in tt_face_load_post()
1331 if ( post->FormatType != 0x00030000L && in tt_face_load_post()
1332 post->FormatType != 0x00025000L && in tt_face_load_post()
1333 post->FormatType != 0x00020000L && in tt_face_load_post()
1334 post->FormatType != 0x00010000L ) in tt_face_load_post()
1340 FT_TRACE3(( "FormatType: 0x%lx\n", post->FormatType )); in tt_face_load_post()
/third_party/flutter/skia/third_party/externals/freetype/src/sfnt/
Dttpost.c401 format = face->postscript.FormatType; in load_post_names()
432 format = face->postscript.FormatType; in tt_face_free_ps_names()
518 format = face->postscript.FormatType; in tt_face_get_ps_name()
/third_party/freetype/src/sfnt/
Dttpost.c387 format = face->postscript.FormatType; in load_post_names()
418 format = face->postscript.FormatType; in tt_face_free_ps_names()
506 format = face->postscript.FormatType; in tt_face_get_ps_name()
Dttload.c1310 FT_FRAME_LONG ( FormatType ), in tt_face_load_post()
1330 if ( post->FormatType != 0x00030000L && in tt_face_load_post()
1331 post->FormatType != 0x00025000L && in tt_face_load_post()
1332 post->FormatType != 0x00020000L && in tt_face_load_post()
1333 post->FormatType != 0x00010000L ) in tt_face_load_post()
1339 FT_TRACE3(( "FormatType: 0x%lx\n", post->FormatType )); in tt_face_load_post()
/third_party/flutter/skia/src/gpu/gl/
DGrGLCaps.cpp1434 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1541 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1636 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1707 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1778 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1894 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1961 info.fFormatType = FormatType::kFloat; in initFormatTable()
2053 info.fFormatType = FormatType::kFloat; in initFormatTable()
2135 info.fFormatType = FormatType::kFloat; in initFormatTable()
2196 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
[all …]
DGrGLCaps.h543 enum class FormatType { enum
643 FormatType fFormatType = FormatType::kUnknown;
/third_party/skia/src/gpu/gl/
DGrGLCaps.cpp1402 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1525 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1639 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1729 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1809 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
1882 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
2011 info.fFormatType = FormatType::kNormalizedFixedPoint; in initFormatTable()
2088 info.fFormatType = FormatType::kFloat; in initFormatTable()
2226 info.fFormatType = FormatType::kFloat; in initFormatTable()
2339 info.fFormatType = FormatType::kFloat; in initFormatTable()
[all …]
DGrGLCaps.h613 enum class FormatType { enum
729 FormatType fFormatType = FormatType::kUnknown;
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
Dparser_bind_test.cc1204 EXPECT_EQ(FormatType::kR8G8_UNORM, info1.format->GetFormatType()); in TEST_F()
1209 EXPECT_EQ(FormatType::kR8_SRGB, info2.format->GetFormatType()); in TEST_F()
1399 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
1437 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
2966 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
3005 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
3046 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
3267 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
3304 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
3310 EXPECT_EQ(FormatType::kR32G32B32A32_SFLOAT, in TEST_F()
[all …]

12