/external/deqp/framework/common/ |
D | tcuRGBA.hpp | 38 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 …]
|
D | tcuRGBA.cpp | 31 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 …]
|
D | tcuSurface.hpp | 56 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()
|
D | tcuSurfaceAccess.hpp | 36 return (deUint8)((format.redBits ? tcu::RGBA::RED_MASK : 0) | in getColorMask() 37 (format.greenBits ? tcu::RGBA::GREEN_MASK : 0) | in getColorMask() 38 (format.blueBits ? tcu::RGBA::BLUE_MASK : 0) | in getColorMask() 39 (format.alphaBits ? tcu::RGBA::ALPHA_MASK : 0)); in getColorMask() 42 inline tcu::RGBA toRGBAMasked (const tcu::Vec4& v, deUint8 mask) in toRGBAMasked() 44 return tcu::RGBA((mask&tcu::RGBA::RED_MASK) ? tcu::floatToU8(v.x()) : 0, in toRGBAMasked() 45 (mask&tcu::RGBA::GREEN_MASK) ? tcu::floatToU8(v.y()) : 0, in toRGBAMasked() 46 (mask&tcu::RGBA::BLUE_MASK) ? tcu::floatToU8(v.z()) : 0, in toRGBAMasked() 47 …(mask&tcu::RGBA::ALPHA_MASK) ? tcu::floatToU8(v.w()) : 0xFF); //!< \note Alpha defaults to full sa… in toRGBAMasked()
|
D | tcuBilinearImageCompare.cpp | 61 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 …]
|
D | tcuPixelFormat.hpp | 64 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/ |
D | ditImageCompareTests.cpp | 48 …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/ |
D | es31fNegativeShaderImageLoadStoreTests.cpp | 91 case tcu::TextureFormat::RGBA: qualifier << "rgba"; break; in getShaderImageLayoutQualifier() 397 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::FLOAT), in image_store() 398 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::HALF_FLOAT), in image_store() 400 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), in image_store() 401 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SNORM_INT8), in image_store() 403 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT32), in image_store() 404 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT16), in image_store() 405 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::SIGNED_INT8), in image_store() 408 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT32), in image_store() 409 tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNSIGNED_INT16), in image_store() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmGraphicsShaderTestUtil.hpp | 248 tcu::RGBA inputColors[4]; 249 tcu::RGBA outputColors[4]; 276 InstanceContext (const tcu::RGBA (&inputs)[4], 277 const tcu::RGBA (&outputs)[4], 331 void getDefaultColors (tcu::RGBA (&colors)[4]); 333 void getHalfColorsFullAlpha (tcu::RGBA (&colors)[4]); 335 void getInvertedDefaultColors (tcu::RGBA (&colors)[4]); 351 const tcu::RGBA (&inputColors)[4], in createInstanceContext() 352 const tcu::RGBA (&outputColors)[4], in createInstanceContext() 380 tcu::RGBA (&inputColors)[4], in createInstanceContext() [all …]
|
D | vktSpvAsmInstructionTests.cpp | 79 using tcu::RGBA; 3482 RGBA defaultColors[4]; in createOpSourceTests() 3516 RGBA defaultColors[4]; in createOpSourceContinuedTests() 3544 RGBA defaultColors[4]; in createOpNoLineTests() 3600 RGBA defaultColors[4]; in createOpLineTests() 3663 RGBA colors[4]; in createOpConstantNullTests() 3779 RGBA inputColors[4]; in createOpConstantCompositeTests() 3780 RGBA outputColors[4]; in createOpConstantCompositeTests() 3904 outputColors[0] = RGBA(255, 255, 255, 255); in createOpConstantCompositeTests() 3905 outputColors[1] = RGBA(255, 127, 127, 255); in createOpConstantCompositeTests() [all …]
|
/external/deqp/external/vulkancts/framework/vulkan/ |
D | vkImageUtil.cpp | 1512 case FMT_CASE(RGBA, UNORM_SHORT_4444): return VK_FORMAT_R4G4B4A4_UNORM_PACK16; in mapTextureFormat() 1513 case FMT_CASE(RGBA, UNORM_SHORT_5551): return VK_FORMAT_R5G5B5A1_UNORM_PACK16; in mapTextureFormat() 1539 case FMT_CASE(RGBA, UNORM_INT8): return VK_FORMAT_R8G8B8A8_UNORM; in mapTextureFormat() 1540 case FMT_CASE(RGBA, SNORM_INT8): return VK_FORMAT_R8G8B8A8_SNORM; in mapTextureFormat() 1541 case FMT_CASE(RGBA, UNSIGNED_INT8): return VK_FORMAT_R8G8B8A8_UINT; in mapTextureFormat() 1542 case FMT_CASE(RGBA, SIGNED_INT8): return VK_FORMAT_R8G8B8A8_SINT; in mapTextureFormat() 1545 case FMT_CASE(RGBA, UNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UNORM_PACK32; in mapTextureFormat() 1546 case FMT_CASE(RGBA, SNORM_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SNORM_PACK32; in mapTextureFormat() 1547 case FMT_CASE(RGBA, UNSIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_UINT_PACK32; in mapTextureFormat() 1548 case FMT_CASE(RGBA, SIGNED_INT_1010102_REV): return VK_FORMAT_A2B10G10R10_SINT_PACK32; in mapTextureFormat() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/dynamic_state/ |
D | vktDynamicStateGeneralTests.cpp | 62 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance() 63 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StateSwitchTestInstance() 64 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in StateSwitchTestInstance() 65 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StateSwitchTestInstance() 167 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance() 168 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in BindOrderTestInstance() 169 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in BindOrderTestInstance() 170 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in BindOrderTestInstance() 276 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in StatePersistenceTestInstance() 277 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in StatePersistenceTestInstance() [all …]
|
D | vktDynamicStateDSTests.cpp | 414 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 415 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 416 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toV… in DepthBoundsParamTestInstance() 417 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.375f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 419 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 420 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVec… in DepthBoundsParamTestInstance() 421 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 422 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.625f, 1.0f), tcu::RGBA::green().toVe… in DepthBoundsParamTestInstance() 424 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBoundsParamTestInstance() 425 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBoundsParamTestInstance() [all …]
|
D | vktDynamicStateRSTests.cpp | 378 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance() 379 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec())… in DepthBiasParamTestInstance() 380 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec(… in DepthBiasParamTestInstance() 381 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, -1.0f, 0.5f, 1.0f), tcu::RGBA::blue().toVec()… in DepthBiasParamTestInstance() 383 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance() 384 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, 0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec()… in DepthBiasParamTestInstance() 385 …m_data.push_back(PositionColorVertex(tcu::Vec4(-0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec… in DepthBiasParamTestInstance() 386 …m_data.push_back(PositionColorVertex(tcu::Vec4(0.5f, -0.5f, 1.0f, 1.0f), tcu::RGBA::green().toVec(… in DepthBiasParamTestInstance() 388 …m_data.push_back(PositionColorVertex(tcu::Vec4(-1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())… in DepthBiasParamTestInstance() 389 …m_data.push_back(PositionColorVertex(tcu::Vec4(1.0f, 1.0f, 0.5f, 1.0f), tcu::RGBA::red().toVec())); in DepthBiasParamTestInstance() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
D | vktDrawSimpleTest.cpp | 65 …m_data.push_back(VertexElementData(tcu::Vec4(1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw() 66 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in SimpleDraw() 73 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 74 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 75 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 76 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 77 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 78 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 81 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() 82 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in SimpleDraw() [all …]
|
D | vktDrawIndirectTest.cpp | 133 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in IndirectDraw() 138 …m_data.push_back(VertexElementData(tcu::Vec4( 1.0f, -1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 139 …m_data.push_back(VertexElementData(tcu::Vec4(-1.0f, 1.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(), … in IndirectDraw() 144 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 145 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 146 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 147 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, -0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 148 …m_data.push_back(VertexElementData(tcu::Vec4( 0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 149 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.3f, 1.0f, 1.0f), tcu::RGBA::blue().toVec(),… in IndirectDraw() 152 …m_data.push_back(VertexElementData(tcu::Vec4(-0.3f, 0.0f, 1.0f, 1.0f), tcu::RGBA::blue().toVec()… in IndirectDraw() [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fColorClearTest.cpp | 40 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 …]
|
D | es3fShaderFragDataTests.cpp | 64 …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()
|
D | es3fPrerequisiteTests.cpp | 36 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/modules/gles2/functional/ |
D | es2fColorClearTest.cpp | 40 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 …]
|
D | es2fPrerequisiteTests.cpp | 36 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()
|
D | es2fShaderFragDataTests.cpp | 64 …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/framework/opengl/ |
D | gluTextureUtil.cpp | 79 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/specs/OLD/ |
D | MESA_packed_depth_stencil.spec | 92 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/egl/ |
D | teglColorClearCase.cpp | 52 using tcu::RGBA; 60 ClearOp (int x_, int y_, int width_, int height_, const tcu::RGBA& color_) in ClearOp() 82 tcu::RGBA color; 96 tcu::RGBA col (rnd.getUint32()); in computeRandomClear() 195 ClearOp clear (0, 0, width, height, RGBA::black()); in executeForContexts() 247 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts() 380 packet.clears[clearNdx] = ClearOp(0, 0, width, height, RGBA::black()); in executeForContexts() 434 tcu::RGBA eps = pixelFmt.alphaBits == 1 ? RGBA(1,1,1,127) : RGBA(1,1,1,1); in executeForContexts()
|