2019-10-24 01:31:18 +00:00
|
|
|
#ifndef C_SIDE
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2019-12-09 10:06:44 +00:00
|
|
|
#include <SDL.h>
|
|
|
|
#include <SDL_vulkan.h>
|
|
|
|
|
|
|
|
extern SDL_Window *window;
|
2019-10-27 03:57:54 +00:00
|
|
|
|
|
|
|
#include "wlr/render/dmabuf.h"
|
|
|
|
|
|
|
|
void initOutput(void);
|
2019-10-24 01:31:18 +00:00
|
|
|
|
2019-10-27 03:57:54 +00:00
|
|
|
void startSteamCompMgr(void);
|
|
|
|
|
2019-12-31 09:52:32 +00:00
|
|
|
void register_signal(void);
|
2019-10-27 03:57:54 +00:00
|
|
|
|
|
|
|
struct ResListEntry_t {
|
2019-11-21 05:36:54 +00:00
|
|
|
struct wlr_surface *surf;
|
2019-10-27 03:57:54 +00:00
|
|
|
struct wlr_dmabuf_attributes attribs;
|
|
|
|
};
|
|
|
|
|
2019-11-21 05:36:54 +00:00
|
|
|
void wayland_PushSurface(struct wlr_surface *surf, struct wlr_dmabuf_attributes *attribs);
|
2019-10-27 03:57:54 +00:00
|
|
|
|
|
|
|
int steamCompMgr_PullSurface( struct ResListEntry_t *pResEntry );
|
|
|
|
|
2019-11-21 07:41:54 +00:00
|
|
|
extern int g_nNestedWidth;
|
|
|
|
extern int g_nNestedHeight;
|
|
|
|
extern int g_nNestedRefresh;
|
|
|
|
|
2019-12-09 10:06:44 +00:00
|
|
|
extern uint32_t g_nOutputWidth;
|
|
|
|
extern uint32_t g_nOutputHeight;
|
2019-12-07 09:11:33 +00:00
|
|
|
|
2019-12-03 07:58:14 +00:00
|
|
|
int BIsNested( void );
|
|
|
|
|
2019-10-24 01:31:18 +00:00
|
|
|
#ifndef C_SIDE
|
|
|
|
}
|
|
|
|
#endif
|