render: remove damage tracking

This will be handled by wlr_scene shortly.
This commit is contained in:
Isaac Freund
2023-01-27 19:51:56 +01:00
parent b7ac5becfb
commit 168756cbe8
14 changed files with 7 additions and 503 deletions

View File

@ -29,7 +29,6 @@ const util = @import("util.zig");
const Output = @import("Output.zig");
const View = @import("View.zig");
const ViewStack = @import("view_stack.zig").ViewStack;
const XdgPopup = @import("XdgPopup.zig");
const XwaylandOverrideRedirect = @import("XwaylandOverrideRedirect.zig");
const log = std.log.scoped(.xwayland);
@ -297,8 +296,6 @@ fn handleSetOverrideRedirect(
fn handleCommit(listener: *wl.Listener(*wlr.Surface), surface: *wlr.Surface) void {
const self = @fieldParentPtr(Self, "commit", listener);
self.view.output.damage.?.addWhole();
self.view.surface_box = .{
.x = 0,
.y = 0,