14#ifndef EGLGRAPHICSWINDOW_H
15#define EGLGRAPHICSWINDOW_H
29 eglGraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,
30 const std::string &name,
31 const FrameBufferProperties &fb_prop,
32 const WindowProperties &win_prop,
34 GraphicsStateGuardian *gsg,
35 GraphicsOutput *host);
36 virtual ~eglGraphicsWindow();
38 virtual bool begin_frame(FrameMode mode, Thread *current_thread);
39 virtual void end_frame(FrameMode mode, Thread *current_thread);
43 virtual void close_window();
44 virtual bool open_window();
47 EGLDisplay _egl_display;
48 EGLSurface _egl_surface;
51 static TypeHandle get_class_type() {
54 static void init_type() {
55 x11GraphicsWindow::init_type();
57 x11GraphicsWindow::get_class_type());
59 virtual TypeHandle get_type()
const {
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
65 static TypeHandle _type_handle;
virtual void end_flip()
This function will be called within the draw thread after begin_flip() has been called on all windows...
Interfaces to the X11 window system.
virtual bool begin_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread before beginning rendering for a given frame.
virtual void end_frame(FrameMode mode, Thread *current_thread)
This function will be called within the draw thread after rendering is completed for a given frame.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.