mirror of
https://github.com/X11Libre/xserver.git
synced 2026-04-14 17:18:09 +00:00
xwayland: Rename xwl_window_recycle_pixmap to xwl_window_realloc_pixmap
It doesn't recycle anything but allocates a new pixmap from scratch.
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1314>
(cherry picked from commit af4b64d227)
This commit is contained in:
committed by
Alan Coopersmith
parent
7394311f53
commit
7c3d3010a2
@@ -789,7 +789,7 @@ xwl_window_dmabuf_feedback_done(void *data,
|
||||
* window buffers get re-created with appropriate parameters.
|
||||
*/
|
||||
xwl_window_buffers_dispose(xwl_window);
|
||||
xwl_window_recycle_pixmap(xwl_window);
|
||||
xwl_window_realloc_pixmap(xwl_window);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
@@ -309,7 +309,7 @@ xwl_window_allocate_pixmap(struct xwl_window *xwl_window)
|
||||
}
|
||||
|
||||
void
|
||||
xwl_window_recycle_pixmap(struct xwl_window *xwl_window)
|
||||
xwl_window_realloc_pixmap(struct xwl_window *xwl_window)
|
||||
{
|
||||
PixmapPtr window_pixmap, new_window_pixmap;
|
||||
WindowPtr window;
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
void xwl_window_buffer_add_damage_region(struct xwl_window *xwl_window);
|
||||
void xwl_window_buffers_init(struct xwl_window *xwl_window);
|
||||
void xwl_window_buffers_dispose(struct xwl_window *xwl_window);
|
||||
void xwl_window_recycle_pixmap(struct xwl_window *xwl_window);
|
||||
void xwl_window_realloc_pixmap(struct xwl_window *xwl_window);
|
||||
PixmapPtr xwl_window_buffers_get_pixmap(struct xwl_window *xwl_window);
|
||||
|
||||
#endif /* XWAYLAND_WINDOW_BUFFERS_H */
|
||||
|
||||
Reference in New Issue
Block a user