gamescope/src/main.hpp

32 lines
550 B
C++
Raw Normal View History

#ifndef C_SIDE
extern "C" {
#endif
extern struct waffle_window *window;
#include "wlr/render/dmabuf.h"
void initOutput(void);
void startSteamCompMgr(void);
struct ResListEntry_t {
struct wlr_surface *surf;
struct wlr_dmabuf_attributes attribs;
};
void wayland_PushSurface(struct wlr_surface *surf, struct wlr_dmabuf_attributes *attribs);
int steamCompMgr_PullSurface( struct ResListEntry_t *pResEntry );
extern int g_nNestedWidth;
extern int g_nNestedHeight;
extern int g_nNestedRefresh;
int BIsNested( void );
#ifndef C_SIDE
}
#endif