|
|
@ -20,9 +20,8 @@ static bool legacy_crtc_test(struct wlr_drm_connector *conn,
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static bool legacy_crtc_commit(struct wlr_drm_backend *drm,
|
|
|
|
static bool legacy_crtc_commit(struct wlr_drm_connector *conn,
|
|
|
|
struct wlr_drm_connector *conn, const struct wlr_output_state *state,
|
|
|
|
const struct wlr_output_state *state, uint32_t flags, bool test_only) {
|
|
|
|
uint32_t flags, bool test_only) {
|
|
|
|
|
|
|
|
if (!legacy_crtc_test(conn, state)) {
|
|
|
|
if (!legacy_crtc_test(conn, state)) {
|
|
|
|
return false;
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -30,6 +29,7 @@ static bool legacy_crtc_commit(struct wlr_drm_backend *drm,
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct wlr_drm_backend *drm = conn->backend;
|
|
|
|
struct wlr_output *output = &conn->output;
|
|
|
|
struct wlr_output *output = &conn->output;
|
|
|
|
struct wlr_drm_crtc *crtc = conn->crtc;
|
|
|
|
struct wlr_drm_crtc *crtc = conn->crtc;
|
|
|
|
struct wlr_drm_plane *cursor = crtc->cursor;
|
|
|
|
struct wlr_drm_plane *cursor = crtc->cursor;
|
|
|
|