Searched refs:colorB (Results 1 - 25 of 26) sorted by relevance

12

/external/deqp/framework/common/
H A DtcuTextureUtil.hpp91 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);
H A DtcuTextureUtil.cpp652 void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument
659 access.setPixel(colorB, x, 0);
665 void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument
675 access.setPixel(colorB, x, y);
682 void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument
695 access.setPixel(colorB, x, y, z);
703 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) argument
706 fillWithGrid1D(access, cellSize, colorA, colorB);
708 fillWithGrid2D(access, cellSize, colorA, colorB);
710 fillWithGrid3D(access, cellSize, colorA, colorB);
713 fillWithRepeatableGradient(const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB) argument
[all...]
/external/chromium_org/third_party/skia/samplecode/
H A DSampleComplexClip.cpp67 SkColor colorB = SK_ColorRED; local
79 paint.setColor(colorB);
123 paint.setColor(colorB);
137 paint.setColor(colorB);
/external/skia/samplecode/
H A DSampleComplexClip.cpp67 SkColor colorB = SK_ColorRED; local
79 paint.setColor(colorB);
123 paint.setColor(colorB);
137 paint.setColor(colorB);
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEBlend.cpp38 typedef unsigned char (*BlendType)(unsigned char colorA, unsigned char colorB, unsigned char alphaA, unsigned char alphaB);
/external/deqp/modules/gles3/functional/
H A Des3fTextureSpecificationTests.cpp976 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; local
981 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
1033 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*(m_texFormatInfo.valueMax-m_texFormatInfo.valueMin) + m_texFormatInfo.valueMin; local
1037 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, levelSize, levelSize, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); local
1083 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
1085 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); local
1153 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
1155 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); local
1239 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local
1243 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1318 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local
1391 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
1394 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); local
1467 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); local
1821 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
1824 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), 4, colorA, colorB); local
1990 Vec4 colorB = randomVector<4>(rnd); local
2067 Vec4 colorB = randomVector<4>(rnd); local
2321 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2323 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); local
2476 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2478 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_numLayers, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); local
2558 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2560 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_width, m_height, m_depth, rowPitch, slicePitch, &data[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); local
2649 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2652 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); local
2748 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2751 tcu::fillWithGrid(tcu::PixelBufferAccess(m_texFormat, m_subW, m_subH, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); local
2855 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2858 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); local
2966 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
2969 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); local
3150 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); local
3222 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); local
[all...]
H A Des3fTextureShadowTests.cpp249 deUint32 colorB = 0xff000000 | ~rgb; local
252 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)), toVec4(tcu::RGBA(colorB)));
521 deUint32 colorB = 0xff000000 | ~rgb; local
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; local
806 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
H A Des3fTextureFilteringTests.cpp195 deUint32 colorB = 0xff000000 | ~rgb; local
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; local
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; local
785 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
1026 deUint32 colorB = 0xff000000 | ~rgb; local
1029 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
H A Des3fVertexTextureTests.cpp610 const deUint32 colorB = 0xff000000 | ~rgb; local
613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
930 const deUint32 colorB = 0xff000000 | ~rgb; local
933 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
1256 const deUint32 colorB = 0xff000000 | ~rgb; local
1259 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
1596 const deUint32 colorB = 0xff000000 | ~rgb; local
1599 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
H A Des3fShaderTextureFunctionTests.cpp653 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); local
656 tcu::fillWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB);
691 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); local
699 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB);
747 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); local
749 tcu::fillWithGrid(tcu::getSubregion(levelAccess, 0, 0, layer, levelAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB);
777 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); local
780 tcu::fillWithGrid(m_texture3D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB);
H A Des3fTextureUnitTests.cpp891 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff); local
911 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
/external/deqp/modules/gles2/functional/
H A Des2fTextureSpecificationTests.cpp843 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); local
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); local
957 Vec4 colorB = randomVector<4>(rnd); local
961 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1029 Vec4 colorB = randomVector<4>(rnd); local
1033 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1409 Vec4 colorB = randomVector<4>(rnd); local
1413 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB);
1489 Vec4 colorB = randomVector<4>(rnd); local
[all...]
H A Des2fShaderTextureFunctionTests.cpp349 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); local
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]); local
389 tcu::fillWithGrid(m_textureCube->getRefTexture().getLevelFace(level, (tcu::CubeFace)face), de::max(1, baseCellSize>>level), colorA, colorB);
H A Des2fTextureFilteringTests.cpp195 deUint32 colorB = 0xff000000 | ~rgb; local
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; local
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);
H A Des2fVertexTextureTests.cpp509 const deUint32 colorB = 0xff000000 | ~rgb; local
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; local
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);
H A Des2fTextureUnitTests.cpp704 deUint32 colorB = alpha1 | ~rgb; local
716 tcu::fillWithGrid(access, curCellSize, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
/external/deqp/modules/gles31/functional/
H A Des31fTextureFormatTests.cpp287 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);
H A Des31fTextureSpecificationTests.cpp445 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
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); local
551 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; local
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); local
687 const Vec4 colorB = Vec4(-1.5f, -2.0f, 1.7f, -1.5f); local
691 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB);
H A Des31fTextureFilteringTests.cpp252 const deUint32 colorB = 0xff000000 | ~rgb; local
255 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
H A Des31fVertexAttributeBindingTests.cpp453 const tcu::Vec4 colorB (0.5f, 1.0f, 0.0f, 1.0f);
458 const tcu::Vec4& color = ((x + y) % 2 == 0) ? (colorA) : (colorB);
/external/chromium_org/third_party/WebKit/Source/platform/image-decoders/webp/
H A DWEBPImageDecoderTest.cpp228 uint32_t colorB = *bitmapB.getAddr32(x, y); local
230 colorB = premultiplyColor(colorB);
232 uint8_t* pixelB = reinterpret_cast<uint8_t*>(&colorB);
/external/deqp/modules/gles2/accuracy/
H A Des2aTextureFilteringTests.cpp164 deUint32 colorB = 0xff000000 | ~rgb; local
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; local
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/
H A Des3aTextureFilteringTests.cpp155 deUint32 colorB = 0xff000000 | ~rgb; local
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; local
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/
H A Des31sVertexAttributeBindingTests.cpp447 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/
H A DglsRasterizationTestUtil.cpp93 bool compareColors (const tcu::RGBA& colorA, const tcu::RGBA& colorB, int redBits, int greenBits, int blueBits) argument
99 return deAbs32(colorA.getRed() - colorB.getRed()) <= thresholdRed &&
100 deAbs32(colorA.getGreen() - colorB.getGreen()) <= thresholdGreen &&
101 deAbs32(colorA.getBlue() - colorB.getBlue()) <= thresholdBlue;

Completed in 3386 milliseconds

12