gamescope/src/main.hpp
Pierre-Loup A. Griffais bc7207c69d More DRM flipping/importing, getting half of glxgears on screen.
Lower half is getting eaten by something, presumably underflow as it's black.

Make EGL and DRM coexist; make ensure_win_resources safe to call regardless
of what resources we want, so outer code doesn't have to care.
2020-01-01 15:30:37 +09:00

31 lines
550 B
C++

#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