JeVois
1.22
JeVois Smart Embedded Machine Vision Toolkit
|
|
#include <jevois/GPU/VideoDisplayBackendMALI.H>
Backend for VideoDisplay on JeVois-Pro host using MALI.
This class provides an interface used by VideoDisplayGL using Mali framebuffer + OpenGL-ES 3.2 (to be used on JeVois-Pro platform).
Definition at line 29 of file VideoDisplayBackendMALI.H.
Public Member Functions | |
VideoDisplayBackendMALI () | |
Constructor. | |
virtual | ~VideoDisplayBackendMALI () |
Virtual destructor for safe inheritance, free resources. | |
virtual void | init (unsigned short w, unsigned short h, bool fullscreen=false) override |
Initialize the underlying engine that will process events, create windows, etc. | |
virtual bool | pollEvents (bool &shouldclose) override |
Poll events such as mouse movements, buttons, keyboard, joystick, and pass to VideoDisplay. | |
Public Member Functions inherited from jevois::VideoDisplayBackend | |
VideoDisplayBackend () | |
Constructor. | |
virtual | ~VideoDisplayBackend () |
Virtual destructor for safe inheritance, free resources. | |
virtual void | newFrame () |
Start a new frame and clear the window/framebuffer. | |
virtual void | render () |
Render the VideoDisplay graphics. | |
virtual void | getWindowSize (unsigned short &w, unsigned short &h) const |
EGLDisplay | getDisplay () const |
Access our display. | |
Protected Attributes | |
fbdev_window | itsWindow |
Protected Attributes inherited from jevois::VideoDisplayBackend | |
std::string const | itsName |
EGLDisplay | itsDisplay = EGL_NO_DISPLAY |
EGLConfig | itsConfig = 0 |
EGLContext | itsContext = EGL_NO_CONTEXT |
EGLSurface | itsSurface = 0 |
Additional Inherited Members | |
Protected Member Functions inherited from jevois::VideoDisplayBackend | |
virtual void | init (unsigned short w, unsigned short h, EGLNativeWindowType win) |
Initialize the underlying engine that will process events, create windows, etc. | |
virtual void | uninit () |
Un-initialize the underlying engine, close windows, etc. | |
jevois::VideoDisplayBackendMALI::VideoDisplayBackendMALI | ( | ) |
Constructor.
Definition at line 23 of file VideoDisplayBackendMALI.C.
|
virtual |
Virtual destructor for safe inheritance, free resources.
Definition at line 28 of file VideoDisplayBackendMALI.C.
|
overridevirtual |
Initialize the underlying engine that will process events, create windows, etc.
The init starts with the given initial framebuffer size. Note that on MALI, size and fullscreen parameters are ignored and we always run full-screen at the native resolution of the framebuffer.
Implements jevois::VideoDisplayBackend.
Reimplemented in jevois::ImGuiBackendMALI.
Definition at line 35 of file VideoDisplayBackendMALI.C.
Referenced by jevois::ImGuiBackendMALI::init().
|
overridevirtual |
Poll events such as mouse movements, buttons, keyboard, joystick, and pass to VideoDisplay.
Returns true if some events were received, which can be used to turn on mouse pointer and GUI. On MALI, there is no support for events at this level, and hence no support for a test to close.
Implements jevois::VideoDisplayBackend.
Reimplemented in jevois::ImGuiBackendMALI.
Definition at line 46 of file VideoDisplayBackendMALI.C.
|
protected |
Definition at line 50 of file VideoDisplayBackendMALI.H.