/third_party/vk-gl-cts/framework/common/ |
D | tcuPixelFormat.hpp | 35 struct PixelFormat struct 42 PixelFormat (int red, int green, int blue, int alpha) in PixelFormat() argument 50 PixelFormat (void) in PixelFormat() argument 125 inline bool operator== (const PixelFormat& other) const in operator ==() argument 133 inline bool operator!= (const PixelFormat& other) const in operator !=() argument
|
D | tcuRenderTarget.hpp | 39 …RenderTarget (int width, int height, const PixelFormat& pixelFormat, int depthBits, int stencilBi… 42 const PixelFormat& getPixelFormat (void) const { return m_pixelFormat; } in getPixelFormat() 54 PixelFormat m_pixelFormat;
|
D | tcuSurfaceAccess.hpp | 34 inline deUint8 getColorMask (const tcu::PixelFormat& format) in getColorMask() 53 SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt); 54 …SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt, int x, int y, int width, …
|
D | tcuRenderTarget.cpp | 32 , m_pixelFormat (PixelFormat(0, 0, 0, 0)) in RenderTarget() 39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int st… in RenderTarget()
|
D | tcuSurfaceAccess.cpp | 28 SurfaceAccess::SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt, int x, int y… in SurfaceAccess() 38 SurfaceAccess::SurfaceAccess (tcu::Surface& surface, const tcu::PixelFormat& colorFmt) in SurfaceAccess()
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcNearestEdgeTests.cpp | 77 …static tcu::TextureFormat toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelF… 91 const tcu::PixelFormat& m_format; 127 …mat NearestEdgeTestCase::toTextureFormat (deqp::Context& context, const tcu::PixelFormat& pixelFmt) in toTextureFormat() 131 tcu::PixelFormat pixelFmt; in toTextureFormat() 135 …{ tcu::PixelFormat(8,8,8,8), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 136 …{ tcu::PixelFormat(8,8,8,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in toTextureFormat() 137 …{ tcu::PixelFormat(4,4,4,4), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 138 …{ tcu::PixelFormat(5,5,5,1), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNOR… in toTextureFormat() 139 …{ tcu::PixelFormat(5,6,5,0), tcu::TextureFormat(tcu::TextureFormat::RGB, tcu::TextureFormat::UNOR… in toTextureFormat() 140 …{ tcu::PixelFormat(10,10,10,2), tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::U… in toTextureFormat() [all …]
|
D | glcPackedPixelsTests.cpp | 102 struct PixelFormat struct 303 static const PixelFormat coreFormats[] = { 325 static const PixelFormat esFormats[] = { 731 …bool isFormatValid(const PixelFormat& format, const PixelType& type, const struct InternalFormat& … 739 const PixelFormat& getPixelFormat(GLenum format) const; 742 InternalFormatSamplerType getSampler(const PixelType& type, const PixelFormat& format) const; 744 GLenum readOutputData(const PixelFormat& outputFormat, const PixelType& outputType, int operation); 750 …bool compare(GLvoid* gradient, GLvoid* data, const PixelFormat& outputFormat, const PixelType& out… 753 …void getFloatBuffer(GLvoid* gradient, int samplerIsIntUintFloat, const PixelFormat& format, const … 756 …void getBits(const PixelType& type, const PixelFormat& format, std::vector<int>& resultTable) cons… [all …]
|
/third_party/skia/experimental/graphite/include/mtl/ |
D | MtlTypes.h | 34 using PixelFormat = unsigned int; variable 45 PixelFormat fFormat = 0; // MTLPixelFormat fFormat = MTLPixelFormatInvalid; 54 PixelFormat format, in TextureInfo()
|
/third_party/vk-gl-cts/framework/opengl/ |
D | gluTextureTestUtil.hpp | 286 const tcu::PixelFormat& pixelFormat); 295 const tcu::PixelFormat& pixelFormat); 304 const tcu::PixelFormat& pixelFormat); 313 const tcu::PixelFormat& pixelFormat); 322 const tcu::PixelFormat& pixelFormat); 331 const tcu::PixelFormat& pixelFormat); 341 const tcu::PixelFormat& pixelFormat); 403 inline tcu::IVec4 getBitsVec (const tcu::PixelFormat& format) in getBitsVec() 408 inline tcu::BVec4 getCompareMask (const tcu::PixelFormat& format) in getCompareMask()
|
D | gluFboRenderContext.cpp | 64 static tcu::PixelFormat getPixelFormat (deUint32 colorFormat) in getPixelFormat() 67 return tcu::PixelFormat(bits[0], bits[1], bits[2], bits[3]); in getPixelFormat() 219 tcu::PixelFormat pixelFormat; in createFramebuffer()
|
/third_party/skia/src/utils/win/ |
D | SkWGL_win.cpp | 107 struct PixelFormat { struct 113 bool pf_less(const PixelFormat& a, const PixelFormat& b) { in pf_less() 133 PixelFormat desiredFormat = { in selectFormat() 138 SkTDArray<PixelFormat> rankedFormats; in selectFormat() 154 int idx = SkTSearch<PixelFormat, pf_less>(rankedFormats.begin(), in selectFormat() 157 sizeof(PixelFormat)); in selectFormat()
|
/third_party/libdrm/tests/tegra/ |
D | vic30.c | 74 c->blending0Struct.PixelFormat = output->format; in vic30_fill() 129 c->blending0Struct.PixelFormat = output->format; in vic30_blit() 164 s->PixelFormat = input->format; in vic30_blit() 237 c->blending0Struct.PixelFormat = output->format; in vic30_flip() 273 s->PixelFormat = input->format; in vic30_flip()
|
D | vic30.h | 157 uint64_t PixelFormat : 7; /* 11..5 */ member 257 uint64_t PixelFormat : 7; /* 6..0 */ member
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglColorClearCase.cpp | 101 …erReference (tcu::Surface& dst, const vector<ClearOp>& clears, const tcu::PixelFormat& pixelFormat) in renderReference() 149 static tcu::PixelFormat getPixelFormat (const Library& egl, EGLDisplay display, EGLConfig config) in getPixelFormat() 151 tcu::PixelFormat pixelFmt; in getPixelFormat() 180 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() 343 tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts()
|
D | teglRenderTests.cpp | 338 tcu::TextureFormat getColorFormat (const tcu::PixelFormat& colorBits) in getColorFormat() 381 float getColorThreshold (const tcu::PixelFormat& colorBits) in getColorThreshold() 419 …lBufferAccess& dst, const vector<DrawPrimitiveOp>& drawOps, const tcu::PixelFormat& colorBits, con… in renderReference() 691 tcu::PixelFormat getPixelFormat (const Library& egl, EGLDisplay display, EGLConfig config) in getPixelFormat() 693 tcu::PixelFormat fmt; in getPixelFormat() 739 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts() 946 const tcu::PixelFormat pixelFmt = getPixelFormat(egl, display, config.config); in executeForContexts()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureSizeTests.cpp | 126 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate() 127 …const tcu::PixelFormat thresholdFormat(de::min(texBits[0], rtFmt.redBits), de::min(texBits[1], rtF… in iterate() 274 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in testFace() 275 …const tcu::PixelFormat thresholdFormat(de::min(texBits[0], rtFmt.redBits), de::min(texBits[1], rtF… in testFace()
|
D | es2fDitheringTests.cpp | 54 using tcu::PixelFormat; 67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4() 119 const tcu::PixelFormat m_renderFormat;
|
D | es2fRandomFragmentOpTests.cpp | 417 tcu::PixelFormat format = m_context.getRenderTarget().getPixelFormat(); in getCompareThreshold() 419 if (format == tcu::PixelFormat(8, 8, 8, 8) || format == tcu::PixelFormat(8, 8, 8, 0)) in getCompareThreshold()
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fTextureSizeTests.cpp | 127 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in iterate() 128 …const tcu::PixelFormat thresholdFormat(de::min(texBits[0], rtFmt.redBits), de::min(texBits[1], rtF… in iterate() 275 const tcu::PixelFormat& rtFmt = m_renderCtx.getRenderTarget().getPixelFormat(); in testFace() 276 …const tcu::PixelFormat thresholdFormat(de::min(texBits[0], rtFmt.redBits), de::min(texBits[1], rtF… in testFace()
|
D | es3fTextureSwizzleTests.cpp | 194 const tcu::PixelFormat pixelFormat = m_context.getRenderTarget().getPixelFormat(); in iterate() 197 …sampleTexture(tcu::SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefText… in iterate() 203 if (pixelFormat != tcu::PixelFormat(8,8,8,8)) in iterate()
|
D | es3fDitheringTests.cpp | 54 using tcu::PixelFormat; 67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4() 119 const tcu::PixelFormat m_renderFormat;
|
D | es3fRandomFragmentOpTests.cpp | 417 tcu::PixelFormat format = m_context.getRenderTarget().getPixelFormat(); in getCompareThreshold() 419 if (format == tcu::PixelFormat(8, 8, 8, 8) || format == tcu::PixelFormat(8, 8, 8, 0)) in getCompareThreshold()
|
/third_party/skia/experimental/graphite/include/private/ |
D | MtlTypesPriv.h | 62 PixelFormat fFormat;
|
/third_party/skia/src/core/ |
D | SkVM.cpp | 1161 PixelFormat SkColorType_to_PixelFormat(SkColorType ct) { in SkColorType_to_PixelFormat() 1162 auto UNORM = PixelFormat::UNORM, in SkColorType_to_PixelFormat() 1163 SRGB = PixelFormat::SRGB, in SkColorType_to_PixelFormat() 1164 FLOAT = PixelFormat::FLOAT; in SkColorType_to_PixelFormat() 1201 static int byte_size(PixelFormat f) { in byte_size() 1211 static Color unpack(PixelFormat f, I32 x) { in unpack() 1230 case PixelFormat::UNORM: return from_unorm(bits, channel); in unpack() 1231 case PixelFormat:: SRGB: return from_srgb (bits, channel); in unpack() 1232 case PixelFormat::FLOAT: return from_fp16 ( channel); in unpack() 1239 case PixelFormat::UNORM: in unpack() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 146 tcu::PixelFormat getPixelFormat(tcu::TextureFormat texFormat) in getPixelFormat() 149 …return tcu::PixelFormat(formatBitDepth[0], formatBitDepth[1], formatBitDepth[2], formatBitDepth[3]… in getPixelFormat() 160 const tcu::PixelFormat& pixelFormat) in verifyTexCompareResult() 399 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() 637 … const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() 867 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() 1089 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() 1315 const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate() 1549 … const tcu::PixelFormat pixelFormat = getPixelFormat(vk::mapVkFormat(VK_FORMAT_R8G8B8A8_UNORM)); in iterate()
|