[client] all: unify the LG splash screen into an overlay

This commit is contained in:
Geoffrey McRae
2022-05-27 02:07:20 +10:00
parent 8974ae4fb5
commit 5de175c1f3
13 changed files with 200 additions and 427 deletions

View File

@@ -25,6 +25,8 @@
#include "common/types.h"
#define TICK_RATE 25
struct LG_OverlayOps
{
/* internal name of the overlay for debugging */
@@ -63,7 +65,7 @@ struct LG_OverlayOps
int (*render)(void * udata, bool interactive, struct Rect * windowRects,
int maxRects);
/* called 25 times a second by the application
/* called TICK_RATE times a second by the application
*
* Note: This may not run in the same context as `render`!
*