/external/skia/samplecode/ |
D | SampleComplexClip.cpp | 50 SkColor colorA = SK_ColorCYAN; in onDrawContent() local 72 paint.setColor(colorA); in onDrawContent() 113 paint.setColor(colorA); in onDrawContent() 119 paint.setColor(colorA); in onDrawContent()
|
/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/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 | 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 | 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 | 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()
|
/external/deqp/framework/common/ |
D | tcuTextureUtil.cpp | 991 static void fillWithGrid1D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid1D() argument 1000 access.setPixel(colorA, x, 0); in fillWithGrid1D() 1004 static void fillWithGrid2D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid2D() argument 1016 access.setPixel(colorA, x, y); in fillWithGrid2D() 1021 static void fillWithGrid3D (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, cons… in fillWithGrid3D() argument 1036 access.setPixel(colorA, x, y, z); in fillWithGrid3D() 1042 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec4& c… in fillWithGrid() argument 1053 …fillWithGrid(getEffectiveDepthStencilAccess(access, tcu::Sampler::MODE_DEPTH), cellSize, colorA, c… in fillWithGrid() 1055 …fectiveDepthStencilAccess(access, tcu::Sampler::MODE_STENCIL), cellSize, colorA.swizzle(3,2,1,0), … in fillWithGrid() 1060 fillWithGrid1D(access, cellSize, colorA, colorB); in fillWithGrid() [all …]
|
D | tcuTextureUtil.hpp | 121 void fillWithGrid (const PixelBufferAccess& access, int cellSize, const Vec4& colorA, const Vec… 122 void fillWithRepeatableGradient (const PixelBufferAccess& access, const Vec4& colorA, const Vec4& …
|
/external/deqp/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 495 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local 499 …llWithGrid(m_texture2D->getRefTexture().getLevel(level), de::max(1, baseCellSize >> level), colorA, in initTexture() 536 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() local 541 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture() 578 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 587 tcu::fillWithGrid(access, de::max(1, baseCellSize >> level), colorA, colorB); in initTexture() 654 Vec4 colorA = cBias + cScale * f.swizzle(swzA[0], swzA[1], swzA[2], swzA[3]); in initTexture() local 666 de::max(1, baseCellSize >> level), colorA, colorB); in initTexture()
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureFilteringTests.cpp | 246 const deUint32 colorA = 0xff000000 | rgb; in Texture2DFilteringTestInstance() local 250 …res[1]->getLevel(levelNdx, 0), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + … in Texture2DFilteringTestInstance() 252 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 470 const deUint32 colorA = 0xff000000 | rgb; in TextureCubeFilteringTestInstance() local 473 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeFilteringTestInstance() 476 …[1]->getLevel(levelNdx, face), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + … in TextureCubeFilteringTestInstance() 478 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, face), 4, tcu::RGBA(colorA).toVec()*cScale + c… in TextureCubeFilteringTestInstance() 716 const deUint32 colorA = 0xff000000 | rgb; in Texture2DArrayFilteringTestInstance() local 720 …>getLevel(levelNdx, layerNdx), tcu::Sampler::MODE_STENCIL), 4, tcu::RGBA(colorA).toVec()*cScale + … in Texture2DArrayFilteringTestInstance() 722 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, layerNdx), 4, tcu::RGBA(colorA).toVec()*cScale… in Texture2DArrayFilteringTestInstance() [all …]
|
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()
|
/external/deqp/modules/gles31/functional/ |
D | es31fTextureSpecificationTests.cpp | 448 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 451 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 554 Vec4 colorA = Vec4(1.0f, 0.0f, 0.0f, 1.0f)*cScale + cBias; in createTexture() local 558 …ipImages*slicePitch + m_skipRows*rowPitch + m_skipPixels*pixelSize + m_offset), 4, colorA, colorB); in createTexture() 690 const Vec4 colorA = Vec4(2.0f, 1.5f, -1.0f, 2.0f); in createTexture() local 695 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 | 263 const deUint32 colorA = 0xff000000 | rgb; in init() local 267 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias); in init()
|
/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() 833 const deUint32 colorA = 0xff000000 | rgb; in init() local 837 …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/angle/src/tests/gl_tests/ |
D | BindUniformLocationTest.cpp | 237 static const float colorA[] = { in TEST_P() local 251 glUniform2fv(colorALocation, 4, colorA); in TEST_P()
|
/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/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/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 …]
|