diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-06-19 15:16:40 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-19 15:16:40 -0400 |
commit | fa4a04da223aadcc1feba7fe133b0f44ac01e95a (patch) | |
tree | c5b5a57ddf085993a16a5c9f29076b90f3baccf1 /include/backend/drm.h | |
parent | 325a331425c1771d16fa90d099fa33f3ab8772f3 (diff) | |
parent | 632a04f1b7dea35f46a2fa478bf53869854a1b5e (diff) |
Merge pull request #11 from SirCmpwn/libinput
[WIP] libinput backend
Diffstat (limited to 'include/backend/drm.h')
-rw-r--r-- | include/backend/drm.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/backend/drm.h b/include/backend/drm.h index e001186d..10850d1f 100644 --- a/include/backend/drm.h +++ b/include/backend/drm.h @@ -73,10 +73,12 @@ struct wlr_output_state { drmModeCrtc *old_crtc; struct wlr_drm_renderer *renderer; - struct gbm_surface *gbm; - struct gbm_bo *bo_last; - struct gbm_bo *bo_current; EGLSurface *egl; + struct gbm_surface *gbm; + struct gbm_bo *bo[2]; + struct gbm_bo *cursor_bo[2]; + int current_cursor; + uint32_t cursor_width, cursor_height; bool pageflip_pending; bool cleanup; |