Home
last modified time | relevance | path

Searched refs:blendFactor (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/src/Shader/
DPixelRoutine.cpp862 …void PixelRoutine::blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pix… in blendFactor() argument
873 blendFactor.x = current.x; in blendFactor()
874 blendFactor.y = current.y; in blendFactor()
875 blendFactor.z = current.z; in blendFactor()
878 blendFactor.x = Short4(0xFFFFu) - current.x; in blendFactor()
879 blendFactor.y = Short4(0xFFFFu) - current.y; in blendFactor()
880 blendFactor.z = Short4(0xFFFFu) - current.z; in blendFactor()
883 blendFactor.x = pixel.x; in blendFactor()
884 blendFactor.y = pixel.y; in blendFactor()
885 blendFactor.z = pixel.z; in blendFactor()
[all …]
DPixelRoutine.hpp77 …void blendFactor(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, BlendFacto…
78 …void blendFactorAlpha(Vector4s &blendFactor, const Vector4s &current, const Vector4s &pixel, Blend…
80 …void blendFactor(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFactor ble…
81 …void blendFactorAlpha(Vector4f &blendFactor, const Vector4f &oC, const Vector4f &pixel, BlendFacto…
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DPixelRoutine.cpp1827 void PixelRoutine::blendFactorRGB(Vector4f &blendFactor, const Vector4f &sourceColor, const Vector4… in blendFactorRGB() argument
1832 blendFactor.x = Float4(0); in blendFactorRGB()
1833 blendFactor.y = Float4(0); in blendFactorRGB()
1834 blendFactor.z = Float4(0); in blendFactorRGB()
1837 blendFactor.x = Float4(1); in blendFactorRGB()
1838 blendFactor.y = Float4(1); in blendFactorRGB()
1839 blendFactor.z = Float4(1); in blendFactorRGB()
1842 blendFactor.x = sourceColor.x; in blendFactorRGB()
1843 blendFactor.y = sourceColor.y; in blendFactorRGB()
1844 blendFactor.z = sourceColor.z; in blendFactorRGB()
[all …]
DPixelRoutine.hpp81 bool blendFactorCanExceedFormatRange(VkBlendFactor blendFactor, vk::Format format);
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DColorStateTests.cpp57 std::array<float, 4> blendFactor = {}; member
115 wgpu::Color blendConstant{triangle.blendFactor[0], triangle.blendFactor[1], in DoSingleSourceTest()
116 triangle.blendFactor[2], triangle.blendFactor[3]}; in DoSingleSourceTest()
503 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, triangleSpec.blendFactor); in TEST_P()
664 RGBA8 expected = color + mix(RGBA8(0, 0, 0, 0), base, triangleSpec.blendFactor); in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DColorStateTests.cpp52 std::array<float, 4> blendFactor = {}; member
111 dawn::Color blendColor{triangle.blendFactor[0], triangle.blendFactor[1], in DoSingleSourceTest()
112 triangle.blendFactor[2], triangle.blendFactor[3]}; in DoSingleSourceTest()
490 RGBA8 expected = base + mix(RGBA8(0, 0, 0, 0), color, triangleSpec.blendFactor); in TEST_P()
651 RGBA8 expected = color + mix(RGBA8(0, 0, 0, 0), base, triangleSpec.blendFactor); in TEST_P()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.cpp330 bool BlendFactorContainsSrcAlpha(const wgpu::BlendFactor& blendFactor) { in BlendFactorContainsSrcAlpha() argument
331 return blendFactor == wgpu::BlendFactor::SrcAlpha || in BlendFactorContainsSrcAlpha()
332 blendFactor == wgpu::BlendFactor::OneMinusSrcAlpha || in BlendFactorContainsSrcAlpha()
333 blendFactor == wgpu::BlendFactor::SrcAlphaSaturated; in BlendFactorContainsSrcAlpha()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderPipelineValidationTests.cpp51 bool BlendFactorContainsSrcAlpha(const wgpu::BlendFactor& blendFactor) { in BlendFactorContainsSrcAlpha() argument
52 return blendFactor == wgpu::BlendFactor::SrcAlpha || in BlendFactorContainsSrcAlpha()
53 blendFactor == wgpu::BlendFactor::OneMinusSrcAlpha || in BlendFactorContainsSrcAlpha()
54 blendFactor == wgpu::BlendFactor::SrcAlphaSaturated; in BlendFactorContainsSrcAlpha()
/third_party/skia/src/gpu/d3d/
DGrD3DCommandList.h164 void setBlendFactor(const float blendFactor[4]);
DGrD3DCommandList.cpp326 void GrD3DDirectCommandList::setBlendFactor(const float blendFactor[4]) { in setBlendFactor()
328 fCommandList->OMSetBlendFactor(blendFactor); in setBlendFactor()
/third_party/vk-gl-cts/framework/common/
DtcuTestLog.cpp303 const float blendFactor = 0.85f; in writeImage() local
333 Vec4 b = s + p*blendFactor; in writeImage()
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1554 _debug_printf("\t\t.blendFactor[4] = %f %f %f %f\n", cmd->blendFactor[0], in SVGA3D_DUMP_HEADER()
1555 cmd->blendFactor[1], in SVGA3D_DUMP_HEADER()
1556 cmd->blendFactor[2], in SVGA3D_DUMP_HEADER()
1557 cmd->blendFactor[3]); in SVGA3D_DUMP_HEADER()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
DvktPipelineReferenceRenderer.hpp374 rr::BlendFunc mapVkBlendFactor (vk::VkBlendFactor blendFactor);
DvktPipelineBlendTests.cpp523 deBool isSrc1BlendFactor(vk::VkBlendFactor blendFactor) in isSrc1BlendFactor() argument
525 switch(blendFactor) in isSrc1BlendFactor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.hpp374 rr::BlendFunc mapVkBlendFactor (vk::VkBlendFactor blendFactor);
DvktPipelineBlendTests.cpp523 deBool isSrc1BlendFactor(vk::VkBlendFactor blendFactor) in isSrc1BlendFactor() argument
525 switch(blendFactor) in isSrc1BlendFactor()
/third_party/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h513 float blendFactor[4]; member
2064 uint32 blendFactor[4]; member
/third_party/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c402 const float *blendFactor, in SVGA3D_vgpu10_SetBlendState() argument
408 memcpy(cmd->blendFactor, blendFactor, sizeof(float) * 4); in SVGA3D_vgpu10_SetBlendState()
Dsvga_cmd.h386 const float *blendFactor, uint32 sampleMask);
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp52 uint8_t PackGLBlendFactor(GLenum blendFactor) in PackGLBlendFactor() argument
54 switch (blendFactor) in PackGLBlendFactor()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp83 uint8_t PackGLBlendFactor(GLenum blendFactor) in PackGLBlendFactor() argument
85 switch (blendFactor) in PackGLBlendFactor()