waylandsink: Use G_MAXINT32 for surface damage
authorRobert Mader <robert.mader@collabora.com>
Mon, 13 Dec 2021 11:21:06 +0000 (12:21 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 13 Jan 2022 19:39:59 +0000 (19:39 +0000)
commit1249362f96323afabfeb184c77a85364d9009882
tree76abefedb8beb8d7f1a8490fd4fd2cc5286d4f8d
parent3bbd091bb43c95f589cfe25ff4dad78b5242338a
waylandsink: Use G_MAXINT32 for surface damage

Each time we call `wl_surface_damage()` we want to do full surface
damage. Like Mesa, just use `G_MAXINT32` to ensure we always do
full damage, reducing the need to track the right dimensions.

`window->video_rectangle` is now unused, but we keep it around for
now as we may need it again in the future.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1446>
subprojects/gst-plugins-bad/ext/wayland/wlwindow.c