mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/drm: move atomic cursor code into pageflip code
It makes sense to construct as much atomic state as possible in the same place, so it doesn't get lost if we "reset" it.
This commit is contained in:
parent
be90062c51
commit
52281cb8ba
4 changed files with 66 additions and 65 deletions
|
|
@ -18,8 +18,7 @@ struct wlr_drm_interface {
|
|||
struct wlr_drm_connector *conn, bool enable);
|
||||
// Pageflip on crtc. If mode is non-NULL perform a full modeset using it.
|
||||
bool (*crtc_pageflip)(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_connector *conn, struct wlr_drm_crtc *crtc,
|
||||
uint32_t fb_id, drmModeModeInfo *mode);
|
||||
struct wlr_drm_connector *conn, drmModeModeInfo *mode);
|
||||
// Enable the cursor buffer on crtc. Set bo to NULL to disable
|
||||
bool (*crtc_set_cursor)(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_crtc *crtc, struct gbm_bo *bo);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue