mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 21:15:59 +01:00
Merge pull request #881 from emersion/prefixed-unexported-symbols
Remove a few local prefixed symbols
This commit is contained in:
commit
5e16bc96b1
2 changed files with 46 additions and 50 deletions
|
@ -241,7 +241,7 @@ EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window) {
|
|||
return surf;
|
||||
}
|
||||
|
||||
int wlr_egl_get_buffer_age(struct wlr_egl *egl, EGLSurface surface) {
|
||||
static int egl_get_buffer_age(struct wlr_egl *egl, EGLSurface surface) {
|
||||
if (!egl->egl_exts.buffer_age) {
|
||||
return -1;
|
||||
}
|
||||
|
@ -265,7 +265,7 @@ bool wlr_egl_make_current(struct wlr_egl *egl, EGLSurface surface,
|
|||
}
|
||||
|
||||
if (buffer_age != NULL) {
|
||||
*buffer_age = wlr_egl_get_buffer_age(egl, surface);
|
||||
*buffer_age = egl_get_buffer_age(egl, surface);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
92
wlroots.syms
92
wlroots.syms
|
@ -1,50 +1,46 @@
|
|||
WLROOTS_0_0_0 {
|
||||
global:
|
||||
wlr_*;
|
||||
_wlr_log;
|
||||
_wlr_vlog;
|
||||
local:
|
||||
wlr_data_device_keyboard_drag_interface;
|
||||
wlr_data_device_pointer_drag_interface;
|
||||
wlr_data_device_touch_drag_interface;
|
||||
wlr_drm_backend_get_session;
|
||||
wlr_drm_check_features;
|
||||
wlr_drm_connector_cleanup;
|
||||
wlr_drm_connector_start_renderer;
|
||||
wlr_drm_event;
|
||||
wlr_drm_get_connector_props;
|
||||
wlr_drm_get_crtc_props;
|
||||
wlr_drm_get_plane_props;
|
||||
wlr_drm_get_prop_blob;
|
||||
wlr_drm_get_prop;
|
||||
wlr_drm_plane_surfaces_init;
|
||||
wlr_drm_renderer_finish;
|
||||
wlr_drm_renderer_init;
|
||||
wlr_drm_resources_free;
|
||||
wlr_drm_resources_init;
|
||||
wlr_drm_restore_outputs;
|
||||
wlr_drm_scan_connectors;
|
||||
wlr_drm_surface_finish;
|
||||
wlr_drm_surface_get_front;
|
||||
wlr_drm_surface_init;
|
||||
wlr_drm_surface_make_current;
|
||||
wlr_drm_surface_mgpu_copy;
|
||||
wlr_drm_surface_post;
|
||||
wlr_drm_surface_swap_buffers;
|
||||
wlr_egl_get_buffer_age;
|
||||
wlr_libinput_event;
|
||||
wlr_libinput_keyboard_create;
|
||||
wlr_libinput_pointer_create;
|
||||
wlr_libinput_tablet_pad_create;
|
||||
wlr_libinput_tablet_tool_create;
|
||||
wlr_libinput_touch_create;
|
||||
wlr_log_stderr;
|
||||
wlr_signal_emit_safe;
|
||||
wlr_subsurface_destroy;
|
||||
wlr_wl_output_for_surface;
|
||||
wlr_wl_output_layout_get_box;
|
||||
wlr_wl_output_move_cursor;
|
||||
wlr_wl_output_update_cursor;
|
||||
wlr_wl_registry_poll;
|
||||
*;
|
||||
global:
|
||||
wlr_*;
|
||||
_wlr_log;
|
||||
_wlr_vlog;
|
||||
local:
|
||||
wlr_drm_backend_get_session;
|
||||
wlr_drm_check_features;
|
||||
wlr_drm_connector_cleanup;
|
||||
wlr_drm_connector_start_renderer;
|
||||
wlr_drm_event;
|
||||
wlr_drm_get_connector_props;
|
||||
wlr_drm_get_crtc_props;
|
||||
wlr_drm_get_plane_props;
|
||||
wlr_drm_get_prop_blob;
|
||||
wlr_drm_get_prop;
|
||||
wlr_drm_plane_surfaces_init;
|
||||
wlr_drm_renderer_finish;
|
||||
wlr_drm_renderer_init;
|
||||
wlr_drm_resources_free;
|
||||
wlr_drm_resources_init;
|
||||
wlr_drm_restore_outputs;
|
||||
wlr_drm_scan_connectors;
|
||||
wlr_drm_surface_finish;
|
||||
wlr_drm_surface_get_front;
|
||||
wlr_drm_surface_init;
|
||||
wlr_drm_surface_make_current;
|
||||
wlr_drm_surface_mgpu_copy;
|
||||
wlr_drm_surface_post;
|
||||
wlr_drm_surface_swap_buffers;
|
||||
wlr_libinput_event;
|
||||
wlr_libinput_keyboard_create;
|
||||
wlr_libinput_pointer_create;
|
||||
wlr_libinput_tablet_pad_create;
|
||||
wlr_libinput_tablet_tool_create;
|
||||
wlr_libinput_touch_create;
|
||||
wlr_log_stderr;
|
||||
wlr_signal_emit_safe;
|
||||
wlr_subsurface_destroy;
|
||||
wlr_wl_output_for_surface;
|
||||
wlr_wl_output_layout_get_box;
|
||||
wlr_wl_output_move_cursor;
|
||||
wlr_wl_output_update_cursor;
|
||||
wlr_wl_registry_poll;
|
||||
*;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue