Home
last modified time | relevance | path

Searched refs:FormatInfo (Results 1 – 18 of 18) sorted by relevance

/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferTextureBufferRange.hpp140 class FormatInfo class
144 FormatInfo();
145 FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment);
240 std::string getComputeShaderCode(FormatInfo& info) const;
241 std::string getFragmentShaderCode(FormatInfo& info) const;
242 std::string getVertexShaderCode(FormatInfo& info) const;
244 void fillInputData(glw::GLubyte* buffer, glw::GLuint offset, FormatInfo& info);
245 void fillOutputData(glw::GLubyte* buffer, FormatInfo& info);
248 bool checkResult(FormatInfo& info, const char* phase, bool transformFeedback);
268 std::map<glw::GLenum, FormatInfo> m_configurations;
DesextcTextureBufferTextureBufferRange.cpp45 FormatInfo::FormatInfo() in FormatInfo() function in glcts::FormatInfo
63 FormatInfo::FormatInfo(glw::GLenum internalFormat, glw::GLuint offsetAlignment) in FormatInfo() function in glcts::FormatInfo
79 void FormatInfo::configure() in configure()
546 glw::GLuint FormatInfo::countAlignedSize(glw::GLuint offsetAlignment, glw::GLuint totalSize) in countAlignedSize()
644 m_configurations[formats[i]] = FormatInfo(formats[i], m_texture_buffer_offset_alignment); in initTest()
652 …for (std::map<glw::GLenum, FormatInfo>::iterator it = m_configurations.begin(); it != m_configurat… in initTest()
654 FormatInfo& info = it->second; in initTest()
676 std::string TextureBufferTextureBufferRange::getComputeShaderCode(FormatInfo& info) const in getComputeShaderCode()
716 std::string TextureBufferTextureBufferRange::getFragmentShaderCode(FormatInfo& info) const in getFragmentShaderCode()
739 std::string TextureBufferTextureBufferRange::getVertexShaderCode(FormatInfo& info) const in getVertexShaderCode()
[all …]
/external/skia/src/gpu/vk/
DGrVkCaps.h63 return SkToBool(FormatInfo::kTexturable_Flag & this->getFormatInfo(format).fLinearFlags); in isVkFormatTexturableLinearly()
67 const FormatInfo& info = this->getFormatInfo(format); in formatCanBeDstofBlit()
69 return SkToBool(FormatInfo::kBlitDst_Flag & flags); in formatCanBeDstofBlit()
73 const FormatInfo& info = this->getFormatInfo(format); in formatCanBeSrcofBlit()
75 return SkToBool(FormatInfo::kBlitSrc_Flag & flags); in formatCanBeSrcofBlit()
329 struct FormatInfo { struct
361 FormatInfo fFormatTable[kNumVkFormats]; argument
363 FormatInfo& getFormatInfo(VkFormat);
364 const FormatInfo& getFormatInfo(VkFormat) const;
DGrVkCaps.cpp820 const GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) const { in getFormatInfo()
825 GrVkCaps::FormatInfo& GrVkCaps::getFormatInfo(VkFormat format) { in getFormatInfo()
833 static FormatInfo kInvalidFormat; in getFormatInfo()
850 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
879 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
909 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
928 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
947 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
974 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
995 if (SkToBool(info.fOptimalFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
[all …]
/external/skia/src/gpu/d3d/
DGrD3DCaps.cpp331 const GrD3DCaps::FormatInfo& GrD3DCaps::getFormatInfo(DXGI_FORMAT format) const { in getFormatInfo()
336 GrD3DCaps::FormatInfo& GrD3DCaps::getFormatInfo(DXGI_FORMAT format) { in getFormatInfo()
344 static FormatInfo kInvalidFormat; in getFormatInfo()
361 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
389 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
418 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
437 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
456 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
482 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
503 if (SkToBool(info.fFlags & FormatInfo::kTexturable_Flag)) { in initFormatTable()
[all …]
DGrD3DCaps.h161 struct FormatInfo { struct
196 FormatInfo fFormatTable[kNumDxgiFormats]; argument
198 FormatInfo& getFormatInfo(DXGI_FORMAT);
199 const FormatInfo& getFormatInfo(DXGI_FORMAT) const;
/external/skia/src/gpu/gl/
DGrGLCaps.cpp1276 index < 0 ? FormatInfo::kUnsupported_StencilFormatIndex : index; in setStencilFormatIndexForFormat()
1292 uint32_t nonMSAARenderFlags = FormatInfo::kFBOColorAttachment_Flag; in initFormatTable()
1295 msaaRenderFlags |= FormatInfo::kFBOColorAttachmentWithMSAA_Flag; in initFormatTable()
1343 FormatInfo& info = this->getFormatInfo(GrGLFormat::kRGBA8); in initFormatTable()
1349 info.fFlags = FormatInfo::kTexturable_Flag; in initFormatTable()
1362 info.fFlags |= FormatInfo::kUseTexStorage_Flag; in initFormatTable()
1466 FormatInfo& info = this->getFormatInfo(GrGLFormat::kR8); in initFormatTable()
1485 info.fFlags |= FormatInfo::kTexturable_Flag | msaaRenderFlags; in initFormatTable()
1489 info.fFlags |= FormatInfo::kUseTexStorage_Flag; in initFormatTable()
1578 FormatInfo& info = this->getFormatInfo(GrGLFormat::kALPHA8); in initFormatTable()
[all …]
DGrGLCaps.h234 return this->getFormatInfo(format).fStencilFormatIndex != FormatInfo::kUnknown_StencilIndex; in hasStencilFormatBeenDeterminedForFormat()
654 struct FormatInfo { struct
735 FormatInfo fFormatTable[kGrGLColorFormatCount]; argument
737 FormatInfo& getFormatInfo(GrGLFormat format) { return fFormatTable[static_cast<int>(format)]; } in getFormatInfo()
738 const FormatInfo& getFormatInfo(GrGLFormat format) const { in getFormatInfo()
/external/skia/src/gpu/mtl/
DGrMtlCaps.mm380 const FormatInfo& formatInfo = this->getFormatInfo(format);
381 return SkToBool(FormatInfo::kTexturable_Flag && formatInfo.fFlags);
411 const FormatInfo& formatInfo = this->getFormatInfo(format);
412 if (formatInfo.fFlags & FormatInfo::kMSAA_Flag) {
414 } else if (formatInfo.fFlags & FormatInfo::kRenderable_Flag) {
429 const FormatInfo& formatInfo = this->getFormatInfo(format);
430 if (!(formatInfo.fFlags & FormatInfo::kRenderable_Flag)) {
433 if (formatInfo.fFlags & FormatInfo::kMSAA_Flag) {
575 FormatInfo* info;
584 info->fFlags = FormatInfo::kAllFlags;
[all …]
DGrMtlCaps.h142 struct FormatInfo { struct
172 FormatInfo fFormatTable[kNumMtlFormats]; argument
174 const FormatInfo& getFormatInfo(const MTLPixelFormat pixelFormat) const { in getFormatInfo()
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageMismatchedFormatsTests.cpp69 struct FormatInfo struct
77 FormatInfo getFormatInfo (VkFormat format) in getFormatInfo()
79 FormatInfo result; in getFormatInfo()
120 const std::map<std::string, FormatInfo> SpirvFormats {
162 FormatInfo getFormatInfo (const std::string& spirvFormat) in getFormatInfo()
173 FormatInfo baseFormat = getFormatInfo(format); in matching()
174 FormatInfo shaderFormat = getFormatInfo(spirvFormat); in matching()
332 const FormatInfo spirvFormatInfo = getFormatInfo(m_spirvFormat); in initPrograms()
DvktImageMismatchedWriteOpTests.cpp391 struct FormatInfo { struct
441 const FormatInfo* findFormatInfo(VkFormat vkFormat) in findFormatInfo()
487 const FormatInfo* info = findFormatInfo(m_params->vkFormat); in checkSupport()
661 const FormatInfo* info = findFormatInfo(m_params->vkFormat); in initPrograms()
903 …auto createTestName = [&](const FormatInfo& info, const MismatchedVectorSizesTest::Params* params)… in createImageMismatchedVectorSizesTests()
/external/icu/icu4c/source/i18n/
Dwinnmfmt.cpp44 union FormatInfo union
236 fFormatInfo = (FormatInfo*)uprv_malloc(sizeof(FormatInfo)); in Win32NumberFormat()
247 : NumberFormat(other), fFormatInfo((FormatInfo*)uprv_malloc(sizeof(FormatInfo))) in Win32NumberFormat()
388 FormatInfo formatInfo; in format()
Dwinnmfmt.h36 union FormatInfo;
155 FormatInfo *fFormatInfo;
/external/angle/src/tests/gl_tests/gles1/
DFramebufferObjectTest.cpp90 using FormatInfo = std::array<GLenum, 3>; in TEST_P() typedef
91 constexpr std::array<FormatInfo, 5> kFormatArrays = { in TEST_P()
98 for (const FormatInfo &formatInfo : kFormatArrays) in TEST_P()
/external/icu/libicu/cts_headers/
Dwinnmfmt.h36 union FormatInfo;
155 FormatInfo *fFormatInfo;
/external/deqp/external/openglcts/modules/common/
DglcTextureRepeatModeTests.cpp78 struct FormatInfo struct
101 static const FormatInfo testedFormats[] = {
506 const FormatInfo* findFormat(GLenum internalformat) const;
568 const FormatInfo* TestClampModeForInternalFormat::findFormat(GLenum internalformat) const in findFormat()
600 const FormatInfo* testedFormat = findFormat(internalformat); in fillTextureWithColor()
749 const FormatInfo* testedFormat = findFormat(internalformat); in verifyClampToEdge()
842 const FormatInfo* testedFormat = findFormat(internalformat); in verifyRepeat()
925 const FormatInfo* testedFormat = findFormat(internalformat); in verifyMirroredRepeat()
1365 const FormatInfo& formatInfo = testedFormats[formatIndex]; in init()
/external/llvm-project/lldb/source/DataFormatters/
DFormatManager.cpp25 struct FormatInfo { struct
33 static constexpr FormatInfo g_format_infos[] = { argument