- Started setting up a thread safe window manager
- Created thread & atomic structures
This commit is contained in:
@@ -29,14 +29,20 @@
|
||||
///
|
||||
|
||||
#include <fennec/platform/interface/window.h>
|
||||
#include <fennec/platform/interface/display_server.h>
|
||||
#include <fennec/renderers/interface/gfxsurface.h>
|
||||
#include <fennec/platform/interface/display_server.h>
|
||||
|
||||
namespace fennec
|
||||
{
|
||||
|
||||
window* window::get_parent() const {
|
||||
return server->get_window(cfg.parent);
|
||||
window::window(display_server* server, const config& conf, window* parent)
|
||||
: server(server), parent(parent)
|
||||
, cfg(conf), state(), root(nullptr) {
|
||||
state.mode = conf.mode;
|
||||
}
|
||||
|
||||
window::~window() {
|
||||
|
||||
}
|
||||
|
||||
void window::begin_frame() {
|
||||
|
||||
Reference in New Issue
Block a user