Remove excess logging

master
Drew DeVault 7 years ago
parent 7da43ff8b0
commit 888986b038

@ -107,7 +107,6 @@ static bool gles2_texture_update_shm(struct wlr_texture_state *texture,
GL_CALL(glPixelStorei(GL_UNPACK_ROW_LENGTH_EXT, pitch)); GL_CALL(glPixelStorei(GL_UNPACK_ROW_LENGTH_EXT, pitch));
GL_CALL(glPixelStorei(GL_UNPACK_SKIP_PIXELS_EXT, x)); GL_CALL(glPixelStorei(GL_UNPACK_SKIP_PIXELS_EXT, x));
GL_CALL(glPixelStorei(GL_UNPACK_SKIP_ROWS_EXT, y)); GL_CALL(glPixelStorei(GL_UNPACK_SKIP_ROWS_EXT, y));
wlr_log(L_DEBUG, "%dx%d@%d,%d", width, height, x, y);
GL_CALL(glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height, GL_CALL(glTexSubImage2D(GL_TEXTURE_2D, 0, x, y, width, height,
fmt->gl_format, fmt->gl_type, pixels)); fmt->gl_format, fmt->gl_type, pixels));
GL_CALL(glPixelStorei(GL_UNPACK_SKIP_PIXELS_EXT, 0)); GL_CALL(glPixelStorei(GL_UNPACK_SKIP_PIXELS_EXT, 0));

@ -135,7 +135,6 @@ void wlr_surface_flush_damage(struct wlr_surface *surface) {
uint32_t format = wl_shm_buffer_get_format(buffer); uint32_t format = wl_shm_buffer_get_format(buffer);
for (int i = 0; i < n; ++i) { for (int i = 0; i < n; ++i) {
pixman_box32_t rect = rects[i]; pixman_box32_t rect = rects[i];
wlr_log(L_DEBUG, "%d,%d:%d,%d", rect.x1, rect.y1, rect.x2, rect.y2);
if (!wlr_texture_update_shm(surface->texture, format, if (!wlr_texture_update_shm(surface->texture, format,
rect.x1, rect.y1, rect.x1, rect.y1,
rect.x2 - rect.x1, rect.x2 - rect.x1,

Loading…
Cancel
Save