/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 67 SkColor colorB = SK_ColorRED; in onDrawContent() local 79 paint.setColor(colorB); in onDrawContent() 123 paint.setColor(colorB); in onDrawContent() 137 paint.setColor(colorB); in onDrawContent()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 659 …lWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid1D() argument 666 access.setPixel(colorB, x, 0); in fillWithGrid1D() 672 …lWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid2D() argument 682 access.setPixel(colorB, x, y); in fillWithGrid2D() 689 …lWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid3D() argument 702 access.setPixel(colorB, x, y, z); in fillWithGrid3D() 710 …illWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid() argument 721 …mponentGradients(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), colorA, colorB); in fillWithGrid() 723 …encilAccess(access, tcu::Sampler::MODE_STENCIL), colorA.swizzle(3,2,1,0), colorB.swizzle(3,2,1,0)); in fillWithGrid() 728 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid() [all …]
|
D | tcuTextureUtil.hpp | 96 …thGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB); 97 …lWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
|
D | tcuTexLookupVerifier.cpp | 617 const Vec4 colorB = lookup<float>(level, sampler, x1, coordY, 0); in isLinearSampleResultValid() local 619 if (isLinearRangeValid(prec, colorA, colorB, Vec2(minA, maxA), result)) in isLinearSampleResultValid()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 988 …Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + … in createTexture() local 993 …ixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 1045 …Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + … in createTexture() local 1049 …fferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 1095 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 1097 …ight, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture() 1165 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 1167 …a[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture() 1251 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local 1255 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
D | es3fTextureShadowTests.cpp | 249 deUint32 colorB = 0xff000000 | ~rgb; in init() local 252 …s[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)), toVec4(tcu::RGBA(colorB))); in init() 521 deUint32 colorB = 0xff000000 | ~rgb; in init() local 524 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 803 deUint32 colorB = 0xff000000 | ~rgb; in init() local 806 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
|
D | es3fVertexTextureTests.cpp | 610 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 613 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 930 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 933 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 1256 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 1259 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 1596 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 1599 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
D | es3fTextureFilteringTests.cpp | 195 deUint32 colorB = 0xff000000 | ~rgb; in init() local 198 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 484 deUint32 colorB = 0xff000000 | ~rgb; in init() local 487 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 782 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 785 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init() 1026 deUint32 colorB = 0xff000000 | ~rgb; in init() local 1029 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
|
D | es3fShaderTextureFunctionTests.cpp | 653 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 656 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 691 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local 699 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 747 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 749 …elAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 777 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 780 …rid(m_texture3D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
|
D | es3fTextureUnitTests.cpp | 891 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff); in init() local 911 …, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 842 Vec4 colorB (0.0f, 1.0f, 0.0f, 1.0f); in createTexture() local 847 …d(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 890 Vec4 colorB (0.0f, 1.0f, 0.0f, 1.0f); in createTexture() local 894 …d(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 956 Vec4 colorB = randomVector<4>(rnd); in createTexture() local 960 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1028 Vec4 colorB = randomVector<4>(rnd); in createTexture() local 1032 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1408 Vec4 colorB = randomVector<4>(rnd); in createTexture() local 1412 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
D | es2fShaderTextureFunctionTests.cpp | 349 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 352 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 386 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local 389 …xture().getLevelFace(level, (tcu::CubeFace)face), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
|
D | es2fTextureFilteringTests.cpp | 195 deUint32 colorB = 0xff000000 | ~rgb; in init() local 198 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 469 deUint32 colorB = 0xff000000 | ~rgb; in init() local 472 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
D | es2fVertexTextureTests.cpp | 509 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 512 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 826 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 829 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
D | es2fTextureUnitTests.cpp | 704 deUint32 colorB = alpha1 | ~rgb; in init() local 716 …, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 447 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 554 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 687 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); in createTexture() local 691 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
|
D | es31fTextureFormatTests.cpp | 287 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); in init() local 293 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" in init() 299 tcu::fillWithComponentGradients(m_texture->getRefTexture(), colorA, colorB); in init()
|
D | es31fTextureFilteringTests.cpp | 252 const deUint32 colorB = 0xff000000 | ~rgb; in init() local 255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
|
D | es31fVertexAttributeBindingTests.cpp | 451 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f); in createBuffers() local 456 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); in createBuffers()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 155 deUint32 colorB = 0xff000000 | ~rgb; in init() local 158 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 423 deUint32 colorB = 0xff000000 | ~rgb; in init() local 426 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 164 deUint32 colorB = 0xff000000 | ~rgb; in init() local 167 …(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init() 436 deUint32 colorB = 0xff000000 | ~rgb; in init() local 439 …Face)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); in init()
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 445 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f); in createBuffers() local 450 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); in createBuffers()
|
/external/deqp/modules/glshared/ |
D | glsRasterizationTestUtil.cpp | 93 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, i… in compareColors() argument 99 return deAbs32(colorA.getRed() - colorB.getRed()) <= thresholdRed && in compareColors() 100 deAbs32(colorA.getGreen() - colorB.getGreen()) <= thresholdGreen && in compareColors() 101 deAbs32(colorA.getBlue() - colorB.getBlue()) <= thresholdBlue; in compareColors()
|
D | glsDrawTest.cpp | 3521 static inline bool colorsEqual (const tcu::RGBA& colorA, const tcu::RGBA& colorB, const tcu::IVec3&… in colorsEqual() argument 3528 …return tcu::compareThresholdMasked(colorA, colorB, tcu::RGBA(compareThreshold.x(), compareThreshol… in colorsEqual()
|