/external/deqp/framework/common/ |
tcuTextureUtil.hpp | 91 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB); 92 void fillWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
|
tcuTextureUtil.cpp | 652 void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) 659 access.setPixel(colorB, x, 0); 665 void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) 675 access.setPixel(colorB, x, y); 682 void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) 695 access.setPixel(colorB, x, y, z); 703 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) 706 fillWithGrid1D(access, cellSize, colorA, colorB); 708 fillWithGrid2D(access, cellSize, colorA, colorB); 710 fillWithGrid3D(access, cellSize, colorA, colorB); [all...] |
tcuTexLookupVerifier.cpp | 622 const Vec4 colorB = lookup<float>(level, sampler, x1, coordY, 0); 624 if (isLinearRangeValid(prec, colorA, colorB, Vec2(minA, maxA), result)) [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleComplexClip.cpp | 67 SkColor colorB = SK_ColorRED; 79 paint.setColor(colorB); 123 paint.setColor(colorB); 137 paint.setColor(colorB);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
FEBlend.cpp | 38 typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB);
|
/external/deqp/modules/gles3/functional/ |
es3fTextureSpecificationTests.cpp | [all...] |
es3fTextureShadowTests.cpp | 249 deUint32 colorB = 0xff000000 | ~rgb; 252 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)), toVec4(tcu::RGBA(colorB))); 521 deUint32 colorB = 0xff000000 | ~rgb; 524 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 803 deUint32 colorB = 0xff000000 | ~rgb; 806 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); [all...] |
es3fTextureFilteringTests.cpp | 195 deUint32 colorB = 0xff000000 | ~rgb; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 484 deUint32 colorB = 0xff000000 | ~rgb; 487 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 782 const deUint32 colorB = 0xff000000 | ~rgb; 785 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); [all...] |
es3fVertexTextureTests.cpp | 610 const deUint32 colorB = 0xff000000 | ~rgb; 613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
es3fShaderTextureFunctionTests.cpp | 653 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); [all...] |
es3fTextureUnitTests.cpp | 891 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff); 911 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureSpecificationTests.cpp | 843 Vec4 colorB (0.0f, 1.0f, 0.0f, 1.0f); 848 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); 891 Vec4 colorB (0.0f, 1.0f, 0.0f, 1.0f); 895 tcu::fillWithGrid(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); [all...] |
es2fShaderTextureFunctionTests.cpp | 349 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); 352 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); 386 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); 389 tcu::fillWithGrid(m_textureCube->getRefTexture().getLevelFace(level, (tcu::CubeFace)face), de::max(1, baseCellSize>>level), colorA, colorB);
|
es2fTextureFilteringTests.cpp | 195 deUint32 colorB = 0xff000000 | ~rgb; 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 469 deUint32 colorB = 0xff000000 | ~rgb; 472 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
es2fVertexTextureTests.cpp | 509 const deUint32 colorB = 0xff000000 | ~rgb; 512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 826 const deUint32 colorB = 0xff000000 | ~rgb; 829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
es2fTextureUnitTests.cpp | 704 deUint32 colorB = alpha1 | ~rgb; 716 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fTextureFormatTests.cpp | 287 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); 293 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" 299 tcu::fillWithComponentGradients(m_texture->getRefTexture(), colorA, colorB);
|
es31fTextureSpecificationTests.cpp | 445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 447 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_size, m_size, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); 551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; 554 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, m_subD, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); 687 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); 691 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); [all...] |
es31fTextureFilteringTests.cpp | 252 const deUint32 colorB = 0xff000000 | ~rgb; 255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
|
es31fVertexAttributeBindingTests.cpp | 453 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f); 458 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB); [all...] |
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/ |
WEBPImageDecoderTest.cpp | 228 uint32_t colorB = *bitmapB.getAddr32(x, y); 230 colorB = premultiplyColor(colorB); 232 uint8_t* pixelB = reinterpret_cast<uint8_t*>(&colorB);
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 164 deUint32 colorB = 0xff000000 | ~rgb; 167 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 436 deUint32 colorB = 0xff000000 | ~rgb; 439 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 155 deUint32 colorB = 0xff000000 | ~rgb; 158 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 423 deUint32 colorB = 0xff000000 | ~rgb; 426 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
|
/external/deqp/modules/gles31/stress/ |
es31sVertexAttributeBindingTests.cpp | 447 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f); 452 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB);
|
/external/deqp/modules/glshared/ |
glsRasterizationTestUtil.cpp | 93 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, int blueBits) 99 return deAbs32(colorA.getRed() - colorB.getRed()) <= thresholdRed && 100 deAbs32(colorA.getGreen() - colorB.getGreen()) <= thresholdGreen && 101 deAbs32(colorA.getBlue() - colorB.getBlue()) <= thresholdBlue; [all...] |