Flutter Engine
The Flutter Engine
Classes | Functions
GrBlendFragmentProcessor.cpp File Reference
#include "src/gpu/ganesh/effects/GrBlendFragmentProcessor.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkString.h"
#include "include/private/SkColorData.h"
#include "src/base/SkRandom.h"
#include "src/core/SkBlendModePriv.h"
#include "src/gpu/Blend.h"
#include "src/gpu/KeyBuilder.h"
#include "src/gpu/ganesh/GrFragmentProcessor.h"
#include "src/gpu/ganesh/GrProcessorUnitTest.h"
#include "src/gpu/ganesh/glsl/GrGLSLBlend.h"
#include "src/gpu/ganesh/glsl/GrGLSLFragmentShaderBuilder.h"
#include <string>

Go to the source code of this file.

Classes

class  BlendFragmentProcessor
 

Functions

static bool does_cpu_blend_impl_match_gpu (SkBlendMode mode)
 

Function Documentation

◆ does_cpu_blend_impl_match_gpu()

static bool does_cpu_blend_impl_match_gpu ( SkBlendMode  mode)
inlinestatic

Definition at line 29 of file GrBlendFragmentProcessor.cpp.

29 {
30 // The non-separable modes differ too much. So does SoftLight. ColorBurn differs too much on our
31 // test iOS device, but we just disable it across the board since it might differ on untested
32 // GPUs.
35}
@ kColorBurn
darken destination to reflect source
@ kLastSeparableMode
last blend mode operating separately on components
@ kSoftLight
lighten or darken, depending on source
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
Definition: switches.h:228