mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-03-31 09:17:04 +09:00
Switch to EGL
This commit is contained in:
2
TODO
2
TODO
@@ -15,3 +15,5 @@ Colorscheme should follow graphics card in use. On nvidia use nvidia green, on i
|
||||
Optimize list/page when having a few items in it (dont use vector<unique_ptr<Widget>>).
|
||||
|
||||
Only redraw ui if changed (dirty state, propagate upward. Set dirty when adding widget or changing any visible properly on a widget or when event updates how the widget should be displayed).
|
||||
|
||||
Use _NET_WM_ALLOWED_ACTIONS. Same for notifications.
|
||||
Submodule depends/mglpp updated: 5d5a88afbc...73757cb816
@@ -410,6 +410,7 @@ int main(int argc, char **argv) {
|
||||
window_create_params.background_color = bg_color;
|
||||
window_create_params.support_alpha = true;
|
||||
window_create_params.window_type = MGL_WINDOW_TYPE_NOTIFICATION;
|
||||
window_create_params.render_api = MGL_RENDER_API_EGL;
|
||||
|
||||
mgl::Window window;
|
||||
if(!window.create("gsr overlay", window_create_params))
|
||||
|
||||
Reference in New Issue
Block a user