if (pixman_region32_not_empty(&clipped)) {
wlr_damage_ring_add(&scene_output->damage_ring, &clipped);
- pixman_region32_union(&scene_output->pending_commit_damage,
- &scene_output->pending_commit_damage, &clipped);
+ pixman_region32_union(&scene_output->WLR_PRIVATE.pending_commit_damage,
+ &scene_output->WLR_PRIVATE.pending_commit_damage, &clipped);
}
pixman_region32_fini(&clipped);
* rendering on every output commit and overloads CPU.
* We also need to verify the necessity of wants_magnification.
*/
- if (!wlr_output->needs_frame && !pixman_region32_not_empty(
- &scene_output->pending_commit_damage) && !wants_magnification) {
+ if (!wlr_output->needs_frame
+ && !pixman_region32_not_empty(
+ &scene_output->WLR_PRIVATE.pending_commit_damage)
+ && !wants_magnification) {
return true;
}
enable_magnifier(struct server *server, bool enable)
{
magnify_on = enable;
- server->scene->direct_scanout = enable ? false
+ server->scene->WLR_PRIVATE.direct_scanout = enable ? false
: server->direct_scanout_enabled;
}
wlr_log(WLR_ERROR, "unable to create scene");
exit(EXIT_FAILURE);
}
- server->direct_scanout_enabled = server->scene->direct_scanout;
+ server->direct_scanout_enabled = server->scene->WLR_PRIVATE.direct_scanout;
/*
* The order in which the scene-trees below are created determines the
wl_list_for_each(output, &view->server->outputs, link) {
if (output_is_usable(output) && wlr_output_layout_intersects(
layout, output->wlr_output, &view->current)) {
- new_outputs |= (1ull << output->scene_output->index);
+ new_outputs |= (1ull << output->scene_output->WLR_PRIVATE.index);
}
}
assert(view);
assert(output);
return output->scene_output
- && (view->outputs & (1ull << output->scene_output->index));
+ && (view->outputs & (1ull << output->scene_output->WLR_PRIVATE.index));
}
void
[wrap-git]
url = https://gitlab.freedesktop.org/wlroots/wlroots.git
-revision = 009515161bd97d8f920d72d31ef462f2608688e8
+revision = 6006023a377868187f73d2e0922bbe952072684f
[provide]
dependency_names = wlroots-0.19