mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
Remove excessive logging in wayland backend
This commit is contained in:
parent
ce471f3371
commit
97f6e9b69a
1 changed files with 0 additions and 3 deletions
|
@ -15,7 +15,6 @@ static void surface_frame_callback(void *data, struct wl_callback *cb, uint32_t
|
||||||
struct wlr_output_state *output = data;
|
struct wlr_output_state *output = data;
|
||||||
assert(output);
|
assert(output);
|
||||||
|
|
||||||
wlr_log(L_DEBUG, "frame_callback");
|
|
||||||
struct wlr_output *wlr_output = output->wlr_output;
|
struct wlr_output *wlr_output = output->wlr_output;
|
||||||
wl_signal_emit(&wlr_output->events.frame, wlr_output);
|
wl_signal_emit(&wlr_output->events.frame, wlr_output);
|
||||||
wl_callback_destroy(cb);
|
wl_callback_destroy(cb);
|
||||||
|
@ -26,7 +25,6 @@ static struct wl_callback_listener frame_listener = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static void wlr_wl_output_make_current(struct wlr_output_state *output) {
|
static void wlr_wl_output_make_current(struct wlr_output_state *output) {
|
||||||
wlr_log(L_DEBUG, "make_current");
|
|
||||||
if (!eglMakeCurrent(output->backend->egl.display,
|
if (!eglMakeCurrent(output->backend->egl.display,
|
||||||
output->egl_surface, output->egl_surface,
|
output->egl_surface, output->egl_surface,
|
||||||
output->backend->egl.context)) {
|
output->backend->egl.context)) {
|
||||||
|
@ -35,7 +33,6 @@ static void wlr_wl_output_make_current(struct wlr_output_state *output) {
|
||||||
}
|
}
|
||||||
|
|
||||||
static void wlr_wl_output_swap_buffers(struct wlr_output_state *output) {
|
static void wlr_wl_output_swap_buffers(struct wlr_output_state *output) {
|
||||||
wlr_log(L_DEBUG, "swap_buffers");
|
|
||||||
output->frame_callback = wl_surface_frame(output->surface);
|
output->frame_callback = wl_surface_frame(output->surface);
|
||||||
wl_callback_add_listener(output->frame_callback, &frame_listener, output);
|
wl_callback_add_listener(output->frame_callback, &frame_listener, output);
|
||||||
if (!eglSwapBuffers(output->backend->egl.display, output->egl_surface)) {
|
if (!eglSwapBuffers(output->backend->egl.display, output->egl_surface)) {
|
||||||
|
|
Loading…
Reference in a new issue