Home
last modified time | relevance | path

Searched refs:colorA (Results 1 – 25 of 32) sorted by relevance

12

/external/skia/samplecode/
DSampleComplexClip.cpp50 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/
DSampleComplexClip.cpp58 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/
Des3fTextureSpecificationTests.cpp987 …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 …]
Des3fTextureShadowTests.cpp250 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()
Des3fTextureFilteringTests.cpp213 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()
Des3fVertexTextureTests.cpp611 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()
Des3fShaderTextureFunctionTests.cpp589 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/
DtcuTextureUtil.cpp991 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 …]
DtcuTextureUtil.hpp121 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/
DesextcTextureShadowLodFunctionsTest.cpp495 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/
DvktTextureFilteringTests.cpp246 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 …]
DvktTextureShadowTests.cpp258 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/
Des31fTextureSpecificationTests.cpp448 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()
Des31fTextureFormatTests.cpp312 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()
Des31fTextureFilteringTests.cpp263 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/
Des2fTextureSpecificationTests.cpp860 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 …]
Des2fShaderTextureFunctionTests.cpp343 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()
Des2fTextureFilteringTests.cpp195 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()
Des2fVertexTextureTests.cpp511 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()
Des2fTextureUnitTests.cpp704 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/
DBindUniformLocationTest.cpp237 static const float colorA[] = { in TEST_P() local
251 glUniform2fv(colorALocation, 4, colorA); in TEST_P()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp155 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/
Des2aTextureFilteringTests.cpp165 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/
Des31sVertexAttributeBindingTests.cpp444 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/
DvktShaderRenderTextureFunctionTests.cpp880 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 …]

12