8 #ifndef META_OCEAN_RENDERING_GLES_QT_GLES_WINDOW_FRAMEBUFFER_H
9 #define META_OCEAN_RENDERING_GLES_QT_GLES_WINDOW_FRAMEBUFFER_H
18 #include <QtWidgets/QOpenGLWidget>
26 namespace GLESceneGraph
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
This class implements the engine for QT platforms.
Definition: GLESEngineQT.h:31
This class is the base class for all GLESceneGraph window framebuffers for Qt-enabled platforms.
Definition: qt/GLESWindowFramebuffer.h:40
bool initializeById(const size_t id, const FramebufferRef &shareFramebuffer) override
Sets the platform dependent framebuffer base id or handle and initializes the framebuffer.
int previousDevicePixelRatio_
The previous devicePixelRatio, e.g., is > 1 on Apple's retina desplays.
Definition: qt/GLESWindowFramebuffer.h:111
void resizeGL(int width, int height) override
This virtual function is called whenever the widget has been resized.
HomogenousMatrix4 device_T_display() const override
Returns the transformation between display and device.
HomogenousMatrix4 device_T_display_
The transformation between display and device.
Definition: qt/GLESWindowFramebuffer.h:108
bool initializeContext() override
Initialize the OpenGL ES dispaly and context.
void initializeGL() override
This virtual function is called once before the first call to paintGL() or resizeGL().
~GLESWindowFramebuffer() override
Destructs a window framebuffer.
bool setDevice_T_display(const HomogenousMatrix4 &device_T_display) override
Sets the transformation between display and device.
void paintGL() override
This virtual function is called whenever the widget needs to be painted.
void render() override
Renders the next frame into the framebuffer.
GLESWindowFramebuffer()
Creates a new window framebuffer.
This class is the base class for all window framebuffers.
Definition: rendering/WindowFramebuffer.h:55
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition: HomogenousMatrix4.h:37
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15