new glx: implement fill for monitor-repaint
Refine the API of fill_rectangle and rename it to fill. Extras: Keep GL_BLEND enabled; Fixed some texture/fbo leaks Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@@ -468,6 +468,7 @@ struct backend_operations glx_ops = {
|
||||
.present = glx_present,
|
||||
.buffer_age = glx_buffer_age,
|
||||
.render_shadow = default_backend_render_shadow,
|
||||
.fill = gl_fill,
|
||||
.max_buffer_age = 5, // Why?
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user