/external/skqp/samplecode/ |
D | SampleComplexClip.cpp | 58 SkColor colorA = SK_ColorCYAN; in onDrawContent() local 80 paint.setColor(colorA); in onDrawContent() 124 paint.setColor(colorA); in onDrawContent() 130 paint.setColor(colorA); in onDrawContent()
|
/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 58 SkColor colorA = SK_ColorCYAN; in onDrawContent() local 80 paint.setColor(colorA); in onDrawContent() 124 paint.setColor(colorA); in onDrawContent() 130 paint.setColor(colorA); in onDrawContent()
|
/external/deqp/modules/gles3/functional/ |
D | es3fTextureSpecificationTests.cpp | 987 …Vec4 colorA = Vec4(1.0f, 0.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() 1044 …Vec4 colorA = Vec4(1.0f, 0.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() 1093 Vec4 colorA = Vec4(1.0f, 0.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() 1163 Vec4 colorA = Vec4(1.0f, 0.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() 1249 Vec4 colorA = randomVector<4>(rnd, m_texFormatInfo.valueMin, m_texFormatInfo.valueMax); in createTexture() local 1254 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
D | es3fTextureShadowTests.cpp | 250 deUint32 colorA = 0xff000000 | rgb; in init() local 254 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(),… in init() 522 deUint32 colorA = 0xff000000 | rgb; in init() local 526 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init() 804 deUint32 colorA = 0xff000000 | rgb; in init() local 808 …tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cSca… in init()
|
D | es3fVertexTextureTests.cpp | 611 const deUint32 colorA = 0xff000000 | rgb; in init() local 615 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 931 const deUint32 colorA = 0xff000000 | rgb; in init() local 935 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init() 1257 const deUint32 colorA = 0xff000000 | rgb; in init() local 1261 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 1597 const deUint32 colorA = 0xff000000 | rgb; in init() local 1601 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init()
|
D | es3fTextureFilteringTests.cpp | 213 deUint32 colorA = 0xff000000 | rgb; in init() local 217 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 504 deUint32 colorA = 0xff000000 | rgb; in init() local 508 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init() 804 const deUint32 colorA = 0xff000000 | rgb; in init() local 808 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init() 1050 deUint32 colorA = 0xff000000 | rgb; in init() local 1054 …tcu::fillWithGrid(m_gridTex->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cSca… in init()
|
D | es3fShaderTextureFunctionTests.cpp | 589 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 593 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 627 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 636 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 683 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 686 …elAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 713 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 717 …rid(m_texture3D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture()
|
D | es3fTextureUnitTests.cpp | 891 deUint32 colorA = alpha | rgb; in init() local 912 …tcu::fillWithGrid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB)… in init()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 879 static void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid1D() argument 888 access.setPixel(colorA, x, 0); in fillWithGrid1D() 892 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid2D() argument 904 access.setPixel(colorA, x, y); in fillWithGrid2D() 909 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid3D() argument 924 access.setPixel(colorA, x, y, z); in fillWithGrid3D() 930 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& c… in fillWithGrid() argument 941 …fillWithGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, c… in fillWithGrid() 943 …fectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL), cellSize, colorA.swizzle(3,2,1,0), … in fillWithGrid() 948 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid() [all …]
|
D | tcuTextureUtil.hpp | 119 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec… 120 void fillWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& …
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 446 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 449 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 552 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 556 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 688 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); in createTexture() local 693 tcu::fillWithGrid(levelData.getAccess(), cellSize, colorA, colorB); in createTexture()
|
D | es31fTextureFormatTests.cpp | 312 tcu::Vec4 colorA (spec.valueMin.x(), spec.valueMax.y(), spec.valueMin.z(), spec.valueMax.w()); in init() local 329 << ",\n fill with " << formatGradient(&colorA, &colorB) << " gradient" in init() 335 tcu::fillWithComponentGradients(m_texture->getFullRefTexture(), colorA, colorB); in init()
|
D | es31fTextureFilteringTests.cpp | 257 const deUint32 colorA = 0xff000000 | rgb; in init() local 261 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 258 const deUint32 colorA = 0xff000000 | rgb; in Texture2DShadowTestInstance() local 261 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(co… in Texture2DShadowTestInstance() 479 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeShadowTestInstance() local 482 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeShadowTestInstance() 685 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayShadowTestInstance() local 688 …tcu::fillWithGrid(m_textures[1]->getTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cSc… in Texture2DArrayShadowTestInstance()
|
D | vktTextureFilteringTests.cpp | 149 const deUint32 colorA = 0xff000000 | rgb; in Texture2DFilteringTestInstance() local 152 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 356 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeFilteringTestInstance() local 359 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeFilteringTestInstance() 585 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayFilteringTestInstance() local 588 …tcu::fillWithGrid(levelBuf, 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()… in Texture2DArrayFilteringTestInstance() 771 const deUint32 colorA = 0xff000000 | rgb; in Texture3DFilteringTestInstance() local 774 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture3DFilteringTestInstance()
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureSpecificationTests.cpp | 860 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); in createTexture() local 866 …d(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 911 Vec4 colorA (1.0f, 0.0f, 0.0f, 1.0f); in createTexture() local 916 …d(tcu::PixelBufferAccess(fmt, levelW, levelH, 1, rowPitch, 0, &data[0]), cellSize, colorA, colorB); in createTexture() 980 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 985 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1055 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 1060 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() 1450 Vec4 colorA = randomVector<4>(rnd); in createTexture() local 1455 tcu::fillWithGrid(data.getAccess(), cellSize, colorA, colorB); in createTexture() [all …]
|
D | es2fShaderTextureFunctionTests.cpp | 343 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 347 …rid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 380 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[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 colorA = 0xff000000 | rgb; in init() local 199 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 469 deUint32 colorA = 0xff000000 | rgb; in init() local 473 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init()
|
D | es2fVertexTextureTests.cpp | 511 const deUint32 colorA = 0xff000000 | rgb; in init() local 515 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 837 const deUint32 colorA = 0xff000000 | rgb; in init() local 841 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init()
|
D | es2fTextureUnitTests.cpp | 704 deUint32 colorA = alpha0 | rgb; in init() local 717 …tcu::fillWithGrid(access, curCellSize, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB)… in init()
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 165 deUint32 colorA = 0xff000000 | rgb; in init() local 169 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 437 deUint32 colorA = 0xff000000 | rgb; in init() local 441 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init()
|
/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 155 deUint32 colorA = 0xff000000 | rgb; in init() local 159 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() 423 deUint32 colorA = 0xff000000 | rgb; in init() local 427 …etRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + … in init()
|
/external/deqp/modules/gles31/stress/ |
D | es31sVertexAttributeBindingTests.cpp | 444 const tcu::Vec4 colorA (0.0f, 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/shaderrender/ |
D | vktShaderRenderTextureFunctionTests.cpp | 880 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 884 tcu::fillWithGrid(texture2D->getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 919 Vec4 colorA = cBias + cScale*f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 928 tcu::fillWithGrid(access, de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 976 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 979 …elAccess.getWidth(), levelAccess.getHeight(), 1), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 1007 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 1011 tcu::fillWithGrid(texture3D->getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() 1040 Vec4 colorA = cBias + cScale*Vec4(fA, fB, fA, fB); in initTexture() local 1044 tcu::fillWithGrid(texture1D->getLevel(level), de::max(1, baseCellSize>>level), colorA, colorB); in initTexture() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryLayeredRenderingTests.cpp | 347 inline bool compareColors (const Vec4& colorA, const Vec4& colorB, const Vec4& threshold) in compareColors() argument 350 tcu::lessThan(tcu::abs(colorA - colorB), threshold), in compareColors()
|