20 #ifndef _WINMAN_UTIL_H 21 #define _WINMAN_UTIL_H 29 #include <cairo/cairo.h> 53 int enterMode(
size_t desiredW,
size_t desiredH,
size_t desiredBpp);
58 return m_pFramebuffer;
62 void flush(
size_t x,
size_t y,
size_t w,
size_t h);
75 size_t getHeight()
const 82 size_t m_FramebufferSize;
84 cairo_format_t m_Format;
90 SDL_Surface *m_pScreen;
91 SDL_Surface *m_pBackbuffer;
int enterMode(size_t desiredW, size_t desiredH, size_t desiredBpp)
cairo_format_t getFormat() const
void flush(size_t x, size_t y, size_t w, size_t h)
void * getFramebuffer() const
Abstracts the system's framebuffer offering.