Home
last modified time | relevance | path

Searched refs:RGBA (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/deqp/framework/common/
DtcuRGBA.hpp38 class RGBA class
57 RGBA (void) { m_value = 0; } in RGBA() function in tcu::RGBA
59 RGBA (int r, int g, int b, int a) in RGBA() function in tcu::RGBA
68 explicit RGBA (deUint32 val) in RGBA() function in tcu::RGBA
73 explicit RGBA (const Vec4& v);
85 …bool isBelowThreshold (RGBA thr) const { return (getRed() <= thr.getRed()) && (getGreen() <= thr… in isBelowThreshold()
87 …static RGBA fromBytes (const deUint8* bytes) { return RGBA(bytes[0], bytes[1], bytes[2], bytes[… in fromBytes()
92 bool operator== (const RGBA& v) const { return (m_value == v.m_value); } in operator ==()
93 bool operator!= (const RGBA& v) const { return (m_value != v.m_value); } in operator !=()
96 static inline const RGBA red (void) { return RGBA(0xFF, 0x0, 0x0, 0xFF); } in red()
[all …]
DtcuRGBA.cpp31 RGBA::RGBA (const Vec4& v) in RGBA() function in tcu::RGBA
40 Vec4 RGBA::toVec (void) const in toVec()
48 IVec4 RGBA::toIVec (void) const in toIVec()
53 RGBA computeAbsDiffMasked (RGBA a, RGBA b, deUint32 cmpMask) in computeAbsDiffMasked()
62 if (cmpMask & RGBA::RED_MASK) in computeAbsDiffMasked()
64 int ra = (aPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
65 int rb = (bPacked >> RGBA::RED_SHIFT) & 0xFF; in computeAbsDiffMasked()
70 if (cmpMask & RGBA::GREEN_MASK) in computeAbsDiffMasked()
72 int ga = (aPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
73 int gb = (bPacked >> RGBA::GREEN_SHIFT) & 0xFF; in computeAbsDiffMasked()
[all …]
DtcuSurface.hpp56 void setPixel (int x, int y, RGBA col);
57 RGBA getPixel (int x, int y) const;
70 inline void Surface::setPixel (int x, int y, RGBA col) in setPixel()
87 inline RGBA Surface::getPixel (int x, int y) const in getPixel()
94 …DE_STATIC_ASSERT(RGBA::RED_SHIFT == 0 && RGBA::GREEN_SHIFT == 8 && RGBA::BLUE_SHIFT == 16 && RGBA:… in getPixel()
97 return RGBA(*pixAddr); in getPixel()
100 return RGBA(byteAddr[0], byteAddr[1], byteAddr[2], byteAddr[3]); in getPixel()
107 …return ConstPixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_wid… in getAccess()
113 …return PixelBufferAccess(TextureFormat(TextureFormat::RGBA, TextureFormat::UNORM_INT8), m_width, m… in getAccess()
DtcuBilinearImageCompare.cpp61 inline RGBA readRGBA8 (const ConstPixelBufferAccess& src, deUint32 x, deUint32 y) in readRGBA8()
66 res |= getChannel<0>(raw) << RGBA::RED_SHIFT; in readRGBA8()
67 res |= getChannel<1>(raw) << RGBA::GREEN_SHIFT; in readRGBA8()
68 res |= getChannel<2>(raw) << RGBA::BLUE_SHIFT; in readRGBA8()
69 res |= getChannel<3>(raw) << RGBA::ALPHA_SHIFT; in readRGBA8()
71 return RGBA(res); in readRGBA8()
86 RGBA bilinearSampleRGBA8 (const ConstPixelBufferAccess& access, deUint32 u, deUint32 v) in bilinearSampleRGBA8()
106 …getChannel<0>(p00), getChannel<0>(p01), getChannel<0>(p10), getChannel<0>(p11)) << RGBA::RED_SHIFT; in bilinearSampleRGBA8()
107 …tChannel<1>(p00), getChannel<1>(p01), getChannel<1>(p10), getChannel<1>(p11)) << RGBA::GREEN_SHIFT; in bilinearSampleRGBA8()
108 …etChannel<2>(p00), getChannel<2>(p01), getChannel<2>(p10), getChannel<2>(p11)) << RGBA::BLUE_SHIFT; in bilinearSampleRGBA8()
[all …]
DtcuPixelFormat.hpp64 inline RGBA getColorThreshold (void) const in getColorThreshold()
66 return RGBA( in getColorThreshold()
91 inline RGBA convertColor (const RGBA& col) const in convertColor()
93 return RGBA(convertChannel(col.getRed(), redBits), in convertColor()
/external/deqp/modules/internal/
DditImageCompareTests.cpp48 …dst.setStorage(tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), tmp.g… in loadImageRGBA8()
114 …Ctx, const char* name, const char* refImg, const char* cmpImg, const tcu::RGBA& threshold, bool ex… in BilinearCompareCase()
153 const tcu::RGBA m_threshold;
193 …(m_testCtx, "identical", "cube_ref.png", "cube_ref.png", tcu::RGBA(0,0,0,0), true)); in init()
194 … "empty_to_white", "empty_256x256.png", "white_256x256.png", tcu::RGBA(7,7,7,2), false)); in init()
195 … "white_to_empty", "white_256x256.png", "empty_256x256.png", tcu::RGBA(7,7,7,2), false)); in init()
196 …se(m_testCtx, "cube", "cube_ref.png", "cube_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
197 …m_testCtx, "cube_2", "cube_2_ref.png", "cube_2_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
198 …cube_sphere", "cube_sphere_ref.png", "cube_sphere_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
199 …Ctx, "cube_nmap", "cube_nmap_ref.png", "cube_nmap_cmp.png", tcu::RGBA(7,7,7,2), false)); in init()
[all …]
/external/deqp/modules/gles31/functional/
Des31fNegativeShaderImageLoadStoreTests.cpp101 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier()
407 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), in image_store()
408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT), in image_store()
410 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_store()
411 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8), in image_store()
413 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), in image_store()
414 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16), in image_store()
415 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8), in image_store()
418 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), in image_store()
419 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16), in image_store()
[all …]
/external/deqp/external/vulkancts/framework/vulkan/
DvkImageUtil.cpp149 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16; in mapTextureFormat()
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16; in mapTextureFormat()
176 case FMT_CASE(RGBA, UNORM_INT8): return VK_FORMAT_R8G8B8A8_UNORM; in mapTextureFormat()
177 case FMT_CASE(RGBA, SNORM_INT8): return VK_FORMAT_R8G8B8A8_SNORM; in mapTextureFormat()
178 case FMT_CASE(RGBA, UNSIGNED_INT8): return VK_FORMAT_R8G8B8A8_UINT; in mapTextureFormat()
179 case FMT_CASE(RGBA, SIGNED_INT8): return VK_FORMAT_R8G8B8A8_SINT; in mapTextureFormat()
182 case FMT_CASE(RGBA, UNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UNORM_PACK32; in mapTextureFormat()
183 case FMT_CASE(RGBA, SNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SNORM_PACK32; in mapTextureFormat()
184 case FMT_CASE(RGBA, UNSIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UINT_PACK32; in mapTextureFormat()
185 case FMT_CASE(RGBA, SIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SINT_PACK32; in mapTextureFormat()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawSimpleTest.cpp68 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
69 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
70 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
71 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
72 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
73 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
74 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
75 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
76 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
79 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in SimpleDraw()
[all …]
DvktDrawIndirectTest.cpp109 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
110 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
111 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
112 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
113 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
114 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
115 …m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
116 …m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
117 …m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec… in IndirectDraw()
120 …m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toV… in IndirectDraw()
[all …]
DvktDrawIndexedTest.cpp65 …/*0*/ m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
66 …/*1*/ m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
67 …/*2*/ m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
68 …/*3*/ m_data.push_back(PositionColorVertex(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
69 …/*4*/ m_data.push_back(PositionColorVertex(tcu::Vec4( -0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
70 …/*5*/ m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
71 …/*6*/ m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
72 …/*7*/ m_data.push_back(PositionColorVertex(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
73 …/*8*/ m_data.push_back(PositionColorVertex(tcu::Vec4( -1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue()… in DrawIndexed()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmInstructionTests.cpp74 using tcu::RGBA;
3220 RGBA inputColors[4];
3221 RGBA outputColors[4];
3228 …InstanceContext (const RGBA (&inputs)[4], const RGBA (&outputs)[4], const map<string, string>& tes… in InstanceContext()
3284 void getDefaultColors (RGBA (&colors)[4]) in getDefaultColors()
3286 colors[0] = RGBA::white(); in getDefaultColors()
3287 colors[1] = RGBA::red(); in getDefaultColors()
3288 colors[2] = RGBA::green(); in getDefaultColors()
3289 colors[3] = RGBA::blue(); in getDefaultColors()
3292 void getHalfColorsFullAlpha (RGBA (&colors)[4]) in getHalfColorsFullAlpha()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateGeneralTests.cpp59 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance()
60 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StateSwitchTestInstance()
61 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in StateSwitchTestInstance()
62 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance()
164 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance()
165 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in BindOrderTestInstance()
166 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in BindOrderTestInstance()
167 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance()
273 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StatePersistenceTestInstance()
274 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StatePersistenceTestInstance()
[all …]
DvktDynamicStateDSTests.cpp421 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
422 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
423 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toV… in DepthBoundsParamTestInstance()
424 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
426 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
427 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance()
428 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
429 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance()
431 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBoundsParamTestInstance()
432 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBoundsParamTestInstance()
[all …]
DvktDynamicStateRSTests.cpp384 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance()
385 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBiasParamTestInstance()
386 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec(… in DepthBiasParamTestInstance()
387 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance()
389 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance()
390 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in DepthBiasParamTestInstance()
391 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in DepthBiasParamTestInstance()
392 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance()
394 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())… in DepthBiasParamTestInstance()
395 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())); in DepthBiasParamTestInstance()
[all …]
/external/deqp/modules/gles2/functional/
Des2fColorClearTest.cpp40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo()
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a); in iterate()
186 tcu::RGBA spanColor; in iterate()
200 tcu::RGBA clearCol = op.m_color; in iterate()
236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
237 RGBA matchColor(0, 255, 0, 255); in iterate()
238 RGBA diffColor(255, 0, 0, 255); in iterate()
239 RGBA maxDiff(0, 0, 0, 0); in iterate()
[all …]
Des2fPrerequisiteTests.cpp36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
235 RGBA matchColor(0, 255, 0, 255); in iterate()
236 RGBA diffColor(255, 0, 0, 255); in iterate()
243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
Des2fShaderFragDataTests.cpp64 …leColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thresh… in compareSingleColor()
75 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor()
201 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
/external/deqp/modules/gles3/functional/
Des3fColorClearTest.cpp40 using tcu::RGBA;
90 ClearInfo (const tcu::IVec4& rect, deUint8 colorMask, tcu::RGBA color) in ClearInfo()
97 tcu::RGBA m_color;
149 RGBA clearCol(r, g, b, a); in iterate()
186 tcu::RGBA spanColor; in iterate()
200 tcu::RGBA clearCol = op.m_color; in iterate()
236 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
237 RGBA matchColor(0, 255, 0, 255); in iterate()
238 RGBA diffColor(255, 0, 0, 255); in iterate()
239 RGBA maxDiff(0, 0, 0, 0); in iterate()
[all …]
Des3fShaderFragDataTests.cpp64 …leColor (tcu::TestLog& log, const tcu::Surface& surface, tcu::RGBA expectedColor, tcu::RGBA thresh… in compareSingleColor()
75 const tcu::RGBA resultColor = surface.getPixel(x, y); in compareSingleColor()
201 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
207 isOk = compareSingleColor(m_testCtx.getLog(), result, tcu::RGBA::green(), threshold); in iterate()
299 gl.clearBufferfv(GL_COLOR, 0, tcu::RGBA::red().toVec().getPtr()); in iterate()
300 gl.clearBufferfv(GL_COLOR, 1, tcu::RGBA::red().toVec().getPtr()); in iterate()
319 …const tcu::RGBA threshold = renderCtx.getRenderTarget().getPixelFormat().getColorThreshold() + tc… in iterate()
330 …if (!compareSingleColor(m_testCtx.getLog(), result, ndx == 0 ? tcu::RGBA::green() : tcu::RGBA::red… in iterate()
Des3fPrerequisiteTests.cpp36 using tcu::RGBA;
88 RGBA m_clearColor;
234 RGBA colorThreshold = pixelFormat.getColorThreshold(); in iterate()
235 RGBA matchColor(0, 255, 0, 255); in iterate()
236 RGBA diffColor(255, 0, 0, 255); in iterate()
243 RGBA resRGBA = resImage.getPixel(i, j); in iterate()
244 RGBA refRGBA = refImage.getPixel(i, j); in iterate()
/external/deqp/framework/opengl/
DgluTextureUtil.cpp79 case TextureFormat::RGBA: format = isInt ? GL_RGBA_INTEGER : GL_RGBA; break; in getTransferFormat()
150 case FMT_CASE(RGBA, UNORM_SHORT_5551): return GL_RGB5_A1; in getInternalFormat()
151 case FMT_CASE(RGBA, UNORM_SHORT_4444): return GL_RGBA4; in getInternalFormat()
156 case FMT_CASE(RGBA, FLOAT): return GL_RGBA32F; in getInternalFormat()
157 case FMT_CASE(RGBA, SIGNED_INT32): return GL_RGBA32I; in getInternalFormat()
158 case FMT_CASE(RGBA, UNSIGNED_INT32): return GL_RGBA32UI; in getInternalFormat()
159 case FMT_CASE(RGBA, UNORM_INT16): return GL_RGBA16; in getInternalFormat()
160 case FMT_CASE(RGBA, SNORM_INT16): return GL_RGBA16_SNORM; in getInternalFormat()
161 case FMT_CASE(RGBA, HALF_FLOAT): return GL_RGBA16F; in getInternalFormat()
162 case FMT_CASE(RGBA, SIGNED_INT16): return GL_RGBA16I; in getInternalFormat()
[all …]
/external/mesa3d/docs/OLD/
DMESA_packed_depth_stencil.spec92 RGBA Color R, G, B, A components
116 UNSIGNED_SHORT_4_4_4_4 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
117 UNSIGNED_SHORT_4_4_4_4_REV ushort 4 RGBA,BGRA
118 UNSIGNED_SHORT_5_5_5_1 ushort 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
119 UNSIGNED_SHORT_1_5_5_5_REV ushort 4 RGBA,BGRA
120 UNSIGNED_INT_8_8_8_8 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
121 UNSIGNED_INT_8_8_8_8_REV uint 4 RGBA,BGRA
122 UNSIGNED_INT_10_10_10_2 uint 4 RGBA,BGRA,ABGR_EXT,CMYK_EXT
123 UNSIGNED_INT_2_10_10_10_REV uint 4 RGBA,BGRA
178 RGBA red green blue alpha
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp243 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask) in toRGBAMasked()
245 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked()
246 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked()
247 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked()
248 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
252 inline tcu::Vec4 toVec4 (const tcu::RGBA& c) in toVec4()
259 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask()
260 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask()
261 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask()
262 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask()
[all …]
/external/skia/src/gpu/
DGrSwizzle.h19 GrSwizzle() { *this = RGBA(); } in GrSwizzle()
67 static const GrSwizzle& RGBA() { in RGBA() function
90 return RGBA(); in CreateRandom()
99 return RGBA(); in CreateRandom()

1234567891011