42 virtual void init(
unsigned short w,
unsigned short h,
bool fullscreen =
false) = 0;
56 virtual void getWindowSize(
unsigned short & w,
unsigned short &
h)
const;
66 virtual void init(
unsigned short w,
unsigned short h, EGLNativeWindowType win);
Backend for VideoDisplay on JeVois-Pro.
virtual void newFrame()
Start a new frame and clear the window/framebuffer.
std::string const itsName
virtual void uninit()
Un-initialize the underlying engine, close windows, etc.
virtual void render()
Render the VideoDisplay graphics.
EGLDisplay getDisplay() const
Access our display.
virtual ~VideoDisplayBackend()
Virtual destructor for safe inheritance, free resources.
virtual bool pollEvents(bool &shouldclose)=0
Poll events such as mouse movements, buttons, keyboard, joystick, and pass to VideoDisplay.
VideoDisplayBackend()
Constructor.
virtual void init(unsigned short w, unsigned short h, bool fullscreen=false)=0
Initialize the underlying engine that will process events, create windows, etc.
virtual void getWindowSize(unsigned short &w, unsigned short &h) const
Main namespace for all JeVois classes and functions.