Home
last modified time | relevance | path

Searched refs:sourceColor (Results 1 – 5 of 5) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DCopyTextureTest.cpp254 const uint8_t *sourceColor, in calculateCopyTextureResults() argument
262 color = GLColor(sourceColor[0], sourceColor[1], sourceColor[2], 255); in calculateCopyTextureResults()
265 color = GLColor(sourceColor[0], sourceColor[1], sourceColor[2], sourceColor[3]); in calculateCopyTextureResults()
268 color = GLColor(sourceColor[0], sourceColor[0], sourceColor[0], 255); in calculateCopyTextureResults()
271 color = GLColor(0, 0, 0, sourceColor[0]); in calculateCopyTextureResults()
274 color = GLColor(sourceColor[0], sourceColor[0], sourceColor[0], sourceColor[1]); in calculateCopyTextureResults()
277 color = GLColor(sourceColor[2], sourceColor[1], sourceColor[0], sourceColor[3]); in calculateCopyTextureResults()
1846 GLenum sourceType, const GLColor &sourceColor, in TEST_P()
1853 &sourceColor); in TEST_P()
1866 GLenum sourceType, const GLColor &sourceColor, in TEST_P() argument
[all …]
DCopyTexture3DTest.cpp69 const GLColor &sourceColor, in testCopy() argument
77 std::vector<GLColor> texDataColor(2u * 2u * 2u, sourceColor); in testCopy()
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp1827 void PixelRoutine::blendFactorRGB(Vector4f &blendFactor, const Vector4f &sourceColor, const Vector4… in blendFactorRGB() argument
1842 blendFactor.x = sourceColor.x; in blendFactorRGB()
1843 blendFactor.y = sourceColor.y; in blendFactorRGB()
1844 blendFactor.z = sourceColor.z; in blendFactorRGB()
1847 blendFactor.x = Float4(1.0f) - sourceColor.x; in blendFactorRGB()
1848 blendFactor.y = Float4(1.0f) - sourceColor.y; in blendFactorRGB()
1849 blendFactor.z = Float4(1.0f) - sourceColor.z; in blendFactorRGB()
1862 blendFactor.x = sourceColor.w; in blendFactorRGB()
1863 blendFactor.y = sourceColor.w; in blendFactorRGB()
1864 blendFactor.z = sourceColor.w; in blendFactorRGB()
[all …]
DPixelRoutine.hpp58 …Vector4f alphaBlend(int index, const Pointer<Byte> &cBuffer, const Vector4f &sourceColor, const In…
79 …void blendFactorRGB(Vector4f &blendFactorRGB, const Vector4f &sourceColor, const Vector4f &destCol…
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Drenderer_utils.cpp528 gl::ColorF sourceColor; in CopyImageCHROMIUM() local
529 pixelReadFunction(sourcePixelData, reinterpret_cast<uint8_t *>(&sourceColor)); in CopyImageCHROMIUM()
531 conversionFunction(&sourceColor); in CopyImageCHROMIUM()
532 clipChannelsFunction(&sourceColor); in CopyImageCHROMIUM()
547 writeFunction(sourceColor, pixelWriteFunction, destPixelData); in CopyImageCHROMIUM()