#include "linear_gradient_contents.h"#include "impeller/core/formats.h"#include "impeller/entity/contents/content_context.h"#include "impeller/entity/contents/gradient_generator.h"#include "impeller/entity/entity.h"#include "impeller/entity/geometry/geometry.h"#include "impeller/geometry/scalar.h"#include "impeller/renderer/render_pass.h"#include "impeller/renderer/vertex_buffer_builder.h"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(Linear)::colors) |
| #define | UNIFORM_STOP_SIZE ARRAY_LEN(UNIFORM_STOP_PAIRS_INFO(Linear)::stop_pairs) |
| #define ARRAY_LEN | ( | a | ) | (sizeof(a) / sizeof(a[0])) |
Definition at line 195 of file linear_gradient_contents.cc.
| #define UNIFORM_COLOR_SIZE ARRAY_LEN(UNIFORM_COLORS_INFO(Linear)::colors) |
Definition at line 200 of file linear_gradient_contents.cc.
| #define UNIFORM_COLORS_INFO | ( | t | ) | t##GradientUniformFillPipeline::FragmentShader::ColorsInfo |
Definition at line 196 of file linear_gradient_contents.cc.
| #define UNIFORM_STOP_PAIRS_INFO | ( | t | ) | t##GradientUniformFillPipeline::FragmentShader::StopPairsInfo |
Definition at line 198 of file linear_gradient_contents.cc.
| #define UNIFORM_STOP_SIZE ARRAY_LEN(UNIFORM_STOP_PAIRS_INFO(Linear)::stop_pairs) |
Definition at line 201 of file linear_gradient_contents.cc.