mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Remove wlr_ prefix from local symbols
This commit is contained in:
parent
097561d6bf
commit
b0d99f5c67
26 changed files with 163 additions and 199 deletions
|
|
@ -136,17 +136,12 @@ struct wlr_drm_connector {
|
|||
struct wl_list link;
|
||||
};
|
||||
|
||||
bool wlr_drm_check_features(struct wlr_drm_backend *drm);
|
||||
bool wlr_drm_resources_init(struct wlr_drm_backend *drm);
|
||||
void wlr_drm_resources_free(struct wlr_drm_backend *drm);
|
||||
void wlr_drm_restore_outputs(struct wlr_drm_backend *drm);
|
||||
void wlr_drm_connector_cleanup(struct wlr_drm_connector *conn);
|
||||
void wlr_drm_scan_connectors(struct wlr_drm_backend *state);
|
||||
int wlr_drm_event(int fd, uint32_t mask, void *data);
|
||||
void wlr_drm_connector_enable(struct wlr_output *output, bool enable);
|
||||
|
||||
void wlr_drm_connector_start_renderer(struct wlr_drm_connector *conn);
|
||||
|
||||
struct wlr_session *wlr_drm_backend_get_session(struct wlr_backend *backend);
|
||||
bool drm_check_features(struct wlr_drm_backend *drm);
|
||||
bool drm_resources_init(struct wlr_drm_backend *drm);
|
||||
void drm_resources_finish(struct wlr_drm_backend *drm);
|
||||
void drm_restore_outputs(struct wlr_drm_backend *drm);
|
||||
void drm_scan_connectors(struct wlr_drm_backend *state);
|
||||
int drm_event(int fd, uint32_t mask, void *data);
|
||||
void drm_connector_enable(struct wlr_output *output, bool enable);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -59,11 +59,12 @@ union wlr_drm_plane_props {
|
|||
uint32_t props[12];
|
||||
};
|
||||
|
||||
bool wlr_drm_get_connector_props(int fd, uint32_t id, union wlr_drm_connector_props *out);
|
||||
bool wlr_drm_get_crtc_props(int fd, uint32_t id, union wlr_drm_crtc_props *out);
|
||||
bool wlr_drm_get_plane_props(int fd, uint32_t id, union wlr_drm_plane_props *out);
|
||||
bool drm_get_connector_props(int fd, uint32_t id,
|
||||
union wlr_drm_connector_props *out);
|
||||
bool drm_get_crtc_props(int fd, uint32_t id, union wlr_drm_crtc_props *out);
|
||||
bool drm_get_plane_props(int fd, uint32_t id, union wlr_drm_plane_props *out);
|
||||
|
||||
bool wlr_drm_get_prop(int fd, uint32_t obj, uint32_t prop, uint64_t *ret);
|
||||
void *wlr_drm_get_prop_blob(int fd, uint32_t obj, uint32_t prop, size_t *ret_len);
|
||||
bool drm_get_prop(int fd, uint32_t obj, uint32_t prop, uint64_t *ret);
|
||||
void *drm_get_prop_blob(int fd, uint32_t obj, uint32_t prop, size_t *ret_len);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -31,25 +31,25 @@ struct wlr_drm_surface {
|
|||
struct gbm_bo *back;
|
||||
};
|
||||
|
||||
bool wlr_drm_renderer_init(struct wlr_drm_backend *drm,
|
||||
bool drm_renderer_init(struct wlr_drm_backend *drm,
|
||||
struct wlr_drm_renderer *renderer);
|
||||
void wlr_drm_renderer_finish(struct wlr_drm_renderer *renderer);
|
||||
void drm_renderer_finish(struct wlr_drm_renderer *renderer);
|
||||
|
||||
bool wlr_drm_surface_init(struct wlr_drm_surface *surf,
|
||||
bool drm_surface_init(struct wlr_drm_surface *surf,
|
||||
struct wlr_drm_renderer *renderer, uint32_t width, uint32_t height,
|
||||
uint32_t format, uint32_t flags);
|
||||
|
||||
bool wlr_drm_plane_surfaces_init(struct wlr_drm_plane *plane,
|
||||
bool drm_plane_surfaces_init(struct wlr_drm_plane *plane,
|
||||
struct wlr_drm_backend *drm, int32_t width, uint32_t height,
|
||||
uint32_t format);
|
||||
|
||||
void wlr_drm_surface_finish(struct wlr_drm_surface *surf);
|
||||
bool wlr_drm_surface_make_current(struct wlr_drm_surface *surf, int *buffer_age);
|
||||
struct gbm_bo *wlr_drm_surface_swap_buffers(struct wlr_drm_surface *surf,
|
||||
void drm_surface_finish(struct wlr_drm_surface *surf);
|
||||
bool drm_surface_make_current(struct wlr_drm_surface *surf, int *buffer_age);
|
||||
struct gbm_bo *drm_surface_swap_buffers(struct wlr_drm_surface *surf,
|
||||
pixman_region32_t *damage);
|
||||
struct gbm_bo *wlr_drm_surface_get_front(struct wlr_drm_surface *surf);
|
||||
void wlr_drm_surface_post(struct wlr_drm_surface *surf);
|
||||
struct gbm_bo *wlr_drm_surface_mgpu_copy(struct wlr_drm_surface *dest,
|
||||
struct gbm_bo *drm_surface_get_front(struct wlr_drm_surface *surf);
|
||||
void drm_surface_post(struct wlr_drm_surface *surf);
|
||||
struct gbm_bo *drm_surface_mgpu_copy(struct wlr_drm_surface *dest,
|
||||
struct gbm_bo *src);
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue