mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-03-30 11:11:21 -04:00
Merge remote-tracking branch 'upstream/master' into 10bit-color
This commit is contained in:
commit
e9855a3571
14 changed files with 505 additions and 30 deletions
|
|
@ -935,7 +935,9 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
|
|||
return false;
|
||||
}
|
||||
|
||||
drm_surface_make_current(&plane->surf, NULL);
|
||||
if (!drm_surface_make_current(&plane->surf, NULL)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct wlr_renderer *rend = plane->surf.renderer->wlr_rend;
|
||||
|
||||
|
|
|
|||
|
|
@ -127,8 +127,8 @@ static void finish_drm_surface(struct wlr_drm_surface *surf) {
|
|||
}
|
||||
|
||||
bool drm_surface_make_current(struct wlr_drm_surface *surf,
|
||||
int *buffer_damage) {
|
||||
return wlr_egl_make_current(&surf->renderer->egl, surf->egl, buffer_damage);
|
||||
int *buffer_age) {
|
||||
return wlr_egl_make_current(&surf->renderer->egl, surf->egl, buffer_age);
|
||||
}
|
||||
|
||||
bool export_drm_bo(struct gbm_bo *bo, struct wlr_dmabuf_attributes *attribs) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue