Flutter Impeller
sweep_gradient_contents.cc File Reference

Go to the source code of this file.

Namespaces

 impeller
 

Macros

#define ARRAY_LEN(a)   (sizeof(a) / sizeof(a[0]))
 
#define UNIFORM_COLORS_INFO(t)    t##GradientUniformFillPipeline::FragmentShader::ColorsInfo
 
#define UNIFORM_STOP_PAIRS_INFO(t)    t##GradientUniformFillPipeline::FragmentShader::StopPairsInfo
 
#define UNIFORM_COLOR_SIZE   ARRAY_LEN(UNIFORM_COLORS_INFO(Sweep)::colors)
 
#define UNIFORM_STOP_SIZE   ARRAY_LEN(UNIFORM_STOP_PAIRS_INFO(Sweep)::stop_pairs)
 

Macro Definition Documentation

◆ ARRAY_LEN

#define ARRAY_LEN (   a)    (sizeof(a) / sizeof(a[0]))

Definition at line 69 of file sweep_gradient_contents.cc.

◆ UNIFORM_COLOR_SIZE

#define UNIFORM_COLOR_SIZE   ARRAY_LEN(UNIFORM_COLORS_INFO(Sweep)::colors)

Definition at line 74 of file sweep_gradient_contents.cc.

◆ UNIFORM_COLORS_INFO

#define UNIFORM_COLORS_INFO (   t)     t##GradientUniformFillPipeline::FragmentShader::ColorsInfo

Definition at line 70 of file sweep_gradient_contents.cc.

◆ UNIFORM_STOP_PAIRS_INFO

#define UNIFORM_STOP_PAIRS_INFO (   t)     t##GradientUniformFillPipeline::FragmentShader::StopPairsInfo

Definition at line 72 of file sweep_gradient_contents.cc.

◆ UNIFORM_STOP_SIZE

#define UNIFORM_STOP_SIZE   ARRAY_LEN(UNIFORM_STOP_PAIRS_INFO(Sweep)::stop_pairs)

Definition at line 75 of file sweep_gradient_contents.cc.