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

Method geometry_region_from_framebuffer_region

src/render.cpp:367–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367wf::region_t wf::render_target_t::geometry_region_from_framebuffer_region(const wf::region_t& region) const
368{
369 wf::region_t result;
370 for (const auto& rect : region)
371 {
372 result |= geometry_box_from_framebuffer_box(wlr_box_from_pixman_box(rect));
373 }
374
375 return result;
376}
377
378wf::render_pass_t::render_pass_t(const render_pass_params_t& p)
379{

Callers 1

get_scheduled_damageMethod · 0.80

Calls 1

wlr_box_from_pixman_boxFunction · 0.85

Tested by

no test coverage detected