A bunch more changes to get the whole system properly booted
This commit is contained in:
parent
3222551702
commit
720b71f1e8
58 changed files with 1835 additions and 532 deletions
|
|
@ -20,10 +20,21 @@
|
|||
|
||||
#include <EGL/egl.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
class SubWindowHandler {
|
||||
public:
|
||||
virtual ~SubWindowHandler() { }
|
||||
virtual EGLNativeWindowType create_window(int x, int y, int width, int height) = 0;
|
||||
virtual void destroy_window(EGLNativeWindowType win) = 0;
|
||||
};
|
||||
|
||||
void registerSubWindowHandler(const std::shared_ptr<SubWindowHandler> &handler);
|
||||
|
||||
typedef void (*SubWindowRepaintCallback)(void*);
|
||||
|
||||
// Create a new sub-window that will be used to display the content of the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue