MCPcopy Create free account
hub / github.com/WayfireWM/wayfire / transform_linear_damage

Function transform_linear_damage

src/view/view-3d.cpp:180–189  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

178}
179
180static void transform_linear_damage(node_t *self, wf::region_t& damage)
181{
182 auto copy = damage;
183 damage.clear();
184 for (auto& box : copy)
185 {
186 damage |=
187 get_bbox_for_node(self, wlr_box_from_pixman_box(box));
188 }
189}
190
191class view_2d_render_instance_t :
192 public transformer_render_instance_t<view_2d_transformer_t>

Callers 2

Calls 3

get_bbox_for_nodeFunction · 0.85
wlr_box_from_pixman_boxFunction · 0.85
clearMethod · 0.45

Tested by

no test coverage detected