diff options
Diffstat (limited to 'include/backend/drm-util.h')
-rw-r--r-- | include/backend/drm-util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/backend/drm-util.h b/include/backend/drm-util.h index 759bdb48..9abee6ea 100644 --- a/include/backend/drm-util.h +++ b/include/backend/drm-util.h @@ -12,6 +12,8 @@ int32_t calculate_refresh_rate(drmModeModeInfo *mode); void parse_edid(struct wlr_output *restrict output, size_t len, const uint8_t *data); // Returns the string representation of a DRM output type const char *conn_get_name(uint32_t type_id); +// Returns the DRM framebuffer id for a gbm_bo +uint32_t get_fb_for_bo(struct gbm_bo *bo); // Part of match_obj enum { |