Home
last modified time | relevance | path

Searched refs:PixelFormat (Results 1 – 25 of 127) sorted by relevance

123456

/third_party/vk-gl-cts/framework/common/
DtcuPixelFormat.hpp35 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
DtcuRenderTarget.hpp39 …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;
DtcuSurfaceAccess.hpp34 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, …
DtcuRenderTarget.cpp32 , 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()
DtcuSurfaceAccess.cpp28 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/
DglcNearestEdgeTests.cpp77 …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 …]
DglcPackedPixelsTests.cpp102 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/
DMtlTypes.h34 using PixelFormat = unsigned int; variable
45 PixelFormat fFormat = 0; // MTLPixelFormat fFormat = MTLPixelFormatInvalid;
54 PixelFormat format, in TextureInfo()
/third_party/vk-gl-cts/framework/opengl/
DgluTextureTestUtil.hpp286 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()
DgluFboRenderContext.cpp64 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/
DSkWGL_win.cpp107 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/
Dvic30.c74 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()
Dvic30.h157 uint64_t PixelFormat : 7; /* 11..5 */ member
257 uint64_t PixelFormat : 7; /* 6..0 */ member
/third_party/vk-gl-cts/modules/egl/
DteglColorClearCase.cpp101 …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()
DteglRenderTests.cpp338 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/
Des2fTextureSizeTests.cpp126 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()
Des2fDitheringTests.cpp54 using tcu::PixelFormat;
67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4()
119 const tcu::PixelFormat m_renderFormat;
Des2fRandomFragmentOpTests.cpp417 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/
Des3fTextureSizeTests.cpp127 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()
Des3fTextureSwizzleTests.cpp194 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()
Des3fDitheringTests.cpp54 using tcu::PixelFormat;
67 static inline IVec4 pixelFormatToIVec4 (const PixelFormat& format) in pixelFormatToIVec4()
119 const tcu::PixelFormat m_renderFormat;
Des3fRandomFragmentOpTests.cpp417 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/
DMtlTypesPriv.h62 PixelFormat fFormat;
/third_party/skia/src/core/
DSkVM.cpp1161 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/
DvktTextureShadowTests.cpp146 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()

123456