Home
last modified time | relevance | path

Searched refs:FormatType (Results 1 - 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/external/amber/src/src/
H A 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 in NameToFormatType()
[all...]
H A 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 in TEST_F()
[all...]
H A 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 in HasStencilComponent()
[all...]
H A Damber.cc33 const FormatType kDefaultFramebufferFormat = FormatType::kB8G8R8A8_UNORM;
H A Dtype_parser.h29 static FormatType NameToFormatType(const std::string& data);
H A Dformat_data.h40 enum class FormatType { class
H A Dformat.cc62 format_type_ = FormatType::kUnknown; in Format()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
H A 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
[all...]
H A 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/
H A Ddevice.cc941 case FormatType::kUnknown: in GetVkFormat()
944 case FormatType::kA1R5G5B5_UNORM_PACK16: in GetVkFormat()
947 case FormatType::kA2B10G10R10_SINT_PACK32: in GetVkFormat()
950 case FormatType::kA2B10G10R10_SNORM_PACK32: in GetVkFormat()
953 case FormatType::kA2B10G10R10_SSCALED_PACK32: in GetVkFormat()
956 case FormatType::kA2B10G10R10_UINT_PACK32: in GetVkFormat()
959 case FormatType::kA2B10G10R10_UNORM_PACK32: in GetVkFormat()
962 case FormatType::kA2B10G10R10_USCALED_PACK32: in GetVkFormat()
965 case FormatType::kA2R10G10B10_SINT_PACK32: in GetVkFormat()
968 case FormatType in GetVkFormat()
[all...]
H A Dtransfer_image.cc87 (format.GetFormatType() == FormatType::kD24_UNORM_S8_UINT ? 1 in TransferImage()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A 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_no_buildgn/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp193 enum class FormatType class
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 in getExpectedColor()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineSamplerBorderSwizzleTests.cpp217 enum class FormatType class
224 FormatType getFormatType (VkFormat format, bool useStencil) in getFormatType()
227 return FormatType::SIGNED_INT; in getFormatType()
230 return FormatType::UNSIGNED_INT; in getFormatType()
232 return FormatType::FLOAT; in getFormatType()
240 if (formatType == FormatType::SIGNED_INT) in getColorAttachmentFormat()
243 if (formatType == FormatType::UNSIGNED_INT) in getColorAttachmentFormat()
267 if (formatType == FormatType::SIGNED_INT) in initPrograms()
269 else if (formatType == FormatType::UNSIGNED_INT) in initPrograms()
433 else if (formatType == FormatType in getExpectedColor()
[all...]
/third_party/vk-gl-cts/external/amber/src/src/dawn/
H A 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 in GetDawnVertexFormat()
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fInternalFormatQueryTests.cpp44 enum FormatType enum in deqp::gles31::Functional::__anon30832::FormatSamplesCase
51 FormatSamplesCase (Context& ctx, const char* name, const char* desc, glw::GLenum texTarget, glw::GLenum internalFormat, FormatType type);
58 const FormatType m_type;
61 FormatSamplesCase::FormatSamplesCase (Context& ctx, const 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/
H A 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 FT_LOCAL_DEF()
H A Dttload.c1311 FT_FRAME_LONG ( FormatType ), in FT_LOCAL_DEF()
1331 if ( post->FormatType != 0x00030000L && in FT_LOCAL_DEF()
1332 post->FormatType != 0x00025000L && in FT_LOCAL_DEF()
1333 post->FormatType != 0x00020000L && in FT_LOCAL_DEF()
1334 post->FormatType != 0x00010000L ) in FT_LOCAL_DEF()
1340 FT_TRACE3(( "FormatType: 0x%lx\n", post->FormatType )); in FT_LOCAL_DEF()
/third_party/skia/src/gpu/gl/
H A DGrGLCaps.cpp1402 info.fFormatType = FormatType::kNormalizedFixedPoint;
1525 info.fFormatType = FormatType::kNormalizedFixedPoint;
1639 info.fFormatType = FormatType::kNormalizedFixedPoint;
1729 info.fFormatType = FormatType::kNormalizedFixedPoint;
1809 info.fFormatType = FormatType::kNormalizedFixedPoint;
1882 info.fFormatType = FormatType::kNormalizedFixedPoint;
2011 info.fFormatType = FormatType::kNormalizedFixedPoint;
2088 info.fFormatType = FormatType::kFloat;
2226 info.fFormatType = FormatType::kFloat;
2339 info.fFormatType = FormatType
[all...]
H A DGrGLCaps.h613 enum class FormatType { class in GrGLCaps
729 FormatType fFormatType = FormatType::kUnknown;
/third_party/vk-gl-cts/external/amber/src/src/amberscript/
H A 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 in TEST_F()
[all...]
H A Dparser_pipeline_test.cc202 EXPECT_EQ(FormatType::kB8G8R8A8_UNORM, buffer1->GetFormat()->GetFormatType()); in TEST_F()
213 EXPECT_EQ(FormatType::kB8G8R8A8_UNORM, in TEST_F()
/third_party/curl/lib/
H A Dmprintf.c111 } FormatType; typedef
148 FormatType type; /* FormatType */
238 FormatType type; in parsefmt()
/third_party/skia/third_party/externals/freetype/include/freetype/
H A Dtttables.h452 FT_Fixed FormatType; member
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DFramebuffer9.cpp197 gl::FormatType formatType(format, type); in readPixelsImpl()

Completed in 51 milliseconds

12