Home
last modified time | relevance | path

Searched refs:colorB (Results 1 – 25 of 28) sorted by relevance

12

/external/skia/samplecode/
DSampleComplexClip.cpp68 SkColor colorB = SK_ColorRED; in onDrawContent() local
80 paint.setColor(colorB); in onDrawContent()
124 paint.setColor(colorB); in onDrawContent()
138 paint.setColor(colorB); in onDrawContent()
/external/deqp/modules/gles3/functional/
Des3fTextureSpecificationTests.cpp988 …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()
1094 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
1096 …ight, 1, rowPitch, 0, &data[0] + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture()
1164 Vec4 colorB = Vec4(0.0f, 1.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local
1166 …a[0] + m_skipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize), 4, colorA, colorB); in createTexture()
1250 Vec4 colorB = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local
1254 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture()
[all …]
Des3fTextureShadowTests.cpp251 deUint32 colorB = 0xff000000 | ~rgb; in init() local
254 …s[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in init()
523 deUint32 colorB = 0xff000000 | ~rgb; in init() local
526 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
805 deUint32 colorB = 0xff000000 | ~rgb; in init() local
808 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
Des3fVertexTextureTests.cpp612 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
615 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
932 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
935 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
1258 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
1261 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
1598 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
1601 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
Des3fTextureFilteringTests.cpp196 deUint32 colorB = 0xff000000 | ~rgb; in init() local
199 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
485 deUint32 colorB = 0xff000000 | ~rgb; in init() local
488 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
783 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
786 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
1027 deUint32 colorB = 0xff000000 | ~rgb; in init() local
1030 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
Des3fShaderTextureFunctionTests.cpp590 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()
Des3fTextureUnitTests.cpp892 deUint32 colorB = alpha | ((~rgb) & 0x00ffffff); in init() local
912 …access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
/external/deqp/framework/common/
DtcuTextureUtil.cpp879 …lWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid1D() argument
886 access.setPixel(colorB, x, 0); in fillWithGrid1D()
892 …lWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid2D() argument
902 access.setPixel(colorB, x, y); in fillWithGrid2D()
909 …lWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid3D() argument
922 access.setPixel(colorB, x, y, z); in fillWithGrid3D()
930 …illWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB) in fillWithGrid() argument
941 …thGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, colorB); in fillWithGrid()
943 …s(access, tcu::Sampler::MODE_STENCIL), cellSize, colorA.swizzle(3,2,1,0), colorB.swizzle(3,2,1,0)); in fillWithGrid()
948 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid()
[all …]
DtcuTextureUtil.hpp119 …thGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& colorB);
120 …lWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& colorB);
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp842 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 …]
Des2fShaderTextureFunctionTests.cpp344 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()
Des2fTextureFilteringTests.cpp196 deUint32 colorB = 0xff000000 | ~rgb; in init() local
199 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
470 deUint32 colorB = 0xff000000 | ~rgb; in init() local
473 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
Des2fVertexTextureTests.cpp512 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
515 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
829 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
832 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
Des2fTextureUnitTests.cpp705 deUint32 colorB = alpha1 | ~rgb; in init() local
717 …access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
/external/deqp/modules/gles31/functional/
Des31fTextureSpecificationTests.cpp445 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()
Des31fTextureFormatTests.cpp291 tcu::Vec4 colorB (spec.valueMax.x(), spec.valueMin.y(), spec.valueMax.z(), spec.valueMin.w()); in init() local
305 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" in init()
311 tcu::fillWithComponentGradients(m_texture->getFullRefTexture(), colorA, colorB); in init()
Des31fTextureFilteringTests.cpp253 const deUint32 colorB = 0xff000000 | ~rgb; in init() local
256 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
Des31fVertexAttributeBindingTests.cpp451 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/external/vulkancts/modules/vulkan/texture/
DvktTextureShadowTests.cpp257 const deUint32 colorB = 0xff000000 | ~rgb; in Texture2DShadowTestInstance() local
259 …rid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(colorB).toVec()); in Texture2DShadowTestInstance()
478 const deUint32 colorB = 0xff000000 | ~rgb; in TextureCubeShadowTestInstance() local
480 …(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in TextureCubeShadowTestInstance()
684 const deUint32 colorB = 0xff000000 | ~rgb; in Texture2DArrayShadowTestInstance() local
686 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in Texture2DArrayShadowTestInstance()
DvktTextureFilteringTests.cpp147 const deUint32 colorB = 0xff000000 | ~rgb; in Texture2DFilteringTestInstance() local
149 …vel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in Texture2DFilteringTestInstance()
353 const deUint32 colorB = 0xff000000 | ~rgb; in TextureCubeFilteringTestInstance() local
355 …(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in TextureCubeFilteringTestInstance()
582 const deUint32 colorB = 0xff000000 | ~rgb; in Texture2DArrayFilteringTestInstance() local
584 …tcu::fillWithGrid(levelBuf, 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()… in Texture2DArrayFilteringTestInstance()
768 const deUint32 colorB = 0xff000000 | ~rgb; in Texture3DFilteringTestInstance() local
770 …vel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in Texture3DFilteringTestInstance()
/external/deqp/modules/gles2/accuracy/
Des2aTextureFilteringTests.cpp166 deUint32 colorB = 0xff000000 | ~rgb; in init() local
169 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
438 deUint32 colorB = 0xff000000 | ~rgb; in init() local
441 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp156 deUint32 colorB = 0xff000000 | ~rgb; in init() local
159 …tLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
424 deUint32 colorB = 0xff000000 | ~rgb; in init() local
427 …::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + … in init()
/external/deqp/modules/gles31/stress/
Des31sVertexAttributeBindingTests.cpp445 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/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp445 inline bool compareColors (const Vec4& colorA, const Vec4& colorB, const Vec4& threshold) in compareColors() argument
448 tcu::lessThan(tcu::abs(colorA - colorB), threshold), in compareColors()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderTextureFunctionTests.cpp680 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local
683 tcu::fillWithGrid(texture2D->getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
719 Vec4 colorB = cBias + cScale*f.swizzle(swzB[0], swzB[1], swzB[2], swzB[3]); in initTexture() local
727 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
776 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local
778 …elAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
807 Vec4 colorB = cBias + cScale*Vec4(fB, fA, fB, fA); in initTexture() local
810 tcu::fillWithGrid(texture3D->getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()

12