/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/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 | 590 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 593 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 628 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local 636 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 684 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 686 …elAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 714 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 717 …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/framework/common/ |
D | tcuTextureUtil.cpp | 861 …lWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid1D() argument 868 access.setPixel(colorB, x, 0); in fillWithGrid1D() 874 …lWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid2D() argument 884 access.setPixel(colorB, x, y); in fillWithGrid2D() 891 …lWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid3D() argument 904 access.setPixel(colorB, x, y, z); in fillWithGrid3D() 912 …illWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid() argument 923 …thGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, colorB); in fillWithGrid() 925 …s(access, tcu::Sampler::MODE_STENCIL), cellSize, colorA.swizzle(3,2,1,0), colorB.swizzle(3,2,1,0)); in fillWithGrid() 930 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid() [all …]
|
D | tcuTextureUtil.hpp | 119 …thGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB); 120 …lWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
|
D | tcuTexLookupVerifier.cpp | 656 const Vec4 colorB = lookup<float>(level, sampler, x1, coordY, 0); in isLinearSampleResultValid() local 658 if (isLinearRangeValid(prec, colorA, colorB, Vec2(minA, maxA), result)) in isLinearSampleResultValid()
|
/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 | 344 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local 347 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 381 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local 384 …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 | 289 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); in init() local 303 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" in init() 309 tcu::fillWithComponentGradients(m_texture->getFullRefTexture(), 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/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/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/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/libgdx/extensions/gdx-box2d/gdx-box2d-gwt/src/com/badlogic/gdx/physics/box2d/gwt/emu/org/jbox2d/particle/ |
D | ParticleSystem.java | 1180 ParticleColor colorB = m_colorBuffer.data[b]; 1181 int dr = (colorMixing256 * (colorB.r - colorA.r)) >> 8; 1182 int dg = (colorMixing256 * (colorB.g - colorA.g)) >> 8; 1183 int db = (colorMixing256 * (colorB.b - colorA.b)) >> 8; 1184 int da = (colorMixing256 * (colorB.a - colorA.a)) >> 8; 1189 colorB.r -= dr; 1190 colorB.g -= dg; 1191 colorB.b -= db; 1192 colorB.a -= da;
|
/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()
|