Definition at line 97 of file display_list.cc.
◆ VectorCuller()
flutter::VectorCuller::VectorCuller |
( |
const DlRTree * |
rtree, |
|
|
const std::vector< int > & |
rect_indices |
|
) |
| |
|
inline |
Definition at line 99 of file display_list.cc.
100 : rtree_(rtree), cur_(rect_indices.begin()), end_(rect_indices.end()) {}
◆ ~VectorCuller()
flutter::VectorCuller::~VectorCuller |
( |
| ) |
|
|
default |
◆ init()
Implements flutter::Culler.
Definition at line 104 of file display_list.cc.
104 {
105 if (cur_ < end_) {
106 context.next_render_index = rtree_->
id(*cur_++);
107 return true;
108 } else {
109
110
111
112
113
114
115
116
117
118
120 return false;
121 }
122 }
int id(int result_index) const
static float max(float r, float g, float b)
◆ update()
Implements flutter::Culler.
Definition at line 123 of file display_list.cc.
123 {
124 if (++context.cur_index > context.next_render_index) {
125 while (cur_ < end_) {
126 context.next_render_index = rtree_->
id(*cur_++);
127 if (context.next_render_index >= context.cur_index) {
128
129
130
131
132
133
134
135
136
137 return;
138 }
139 }
141 }
142 }
The documentation for this class was generated from the following file: