|
|
@ -945,15 +945,15 @@ gl_renderer_repaint_output(struct weston_output *output, |
|
|
|
pixman_region32_t buffer_damage, total_damage; |
|
|
|
pixman_region32_t buffer_damage, total_damage; |
|
|
|
enum gl_border_status border_damage = BORDER_STATUS_CLEAN; |
|
|
|
enum gl_border_status border_damage = BORDER_STATUS_CLEAN; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (use_output(output) < 0) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
/* Calculate the viewport */ |
|
|
|
/* Calculate the viewport */ |
|
|
|
glViewport(go->borders[GL_RENDERER_BORDER_LEFT].width, |
|
|
|
glViewport(go->borders[GL_RENDERER_BORDER_LEFT].width, |
|
|
|
go->borders[GL_RENDERER_BORDER_BOTTOM].height, |
|
|
|
go->borders[GL_RENDERER_BORDER_BOTTOM].height, |
|
|
|
output->current_mode->width, |
|
|
|
output->current_mode->width, |
|
|
|
output->current_mode->height); |
|
|
|
output->current_mode->height); |
|
|
|
|
|
|
|
|
|
|
|
if (use_output(output) < 0) |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* if debugging, redraw everything outside the damage to clean up
|
|
|
|
/* if debugging, redraw everything outside the damage to clean up
|
|
|
|
* debug lines from the previous draw on this buffer: |
|
|
|
* debug lines from the previous draw on this buffer: |
|
|
|
*/ |
|
|
|
*/ |
|
|
|