Go to the documentation of this file.
5 #ifndef BALL_VIEW_RENDERING_GLOFFSCREENTARGET_H
6 #define BALL_VIEW_RENDERING_GLOFFSCREENTARGET_H
8 #ifndef BALL_COMMON_GLOBAL_H
12 #ifndef BALL_VIEW_RENDERING_RENDERWINDOW_H
16 #ifndef BALL_VIEW_RENDERING_GLRENDERWINDOW_H
21 #include <QtGui/QPaintDevice>
23 #include <boost/shared_ptr.hpp>
48 virtual bool resize(
const unsigned int width,
const unsigned int height);
57 virtual int metric(PaintDeviceMetric metric)
const;
73 #endif // BALL_VIEW_RENDERING_GLOFFSCREENTARGET_H
virtual void prepareUpscaling(Size final_width, Size final_height)
boost::shared_ptr< QGLPixelBuffer > pixel_buffer_
virtual QPaintEngine * paintEngine() const
virtual bool resize(const unsigned int width, const unsigned int height)
virtual void prepareRendering()
GLRenderWindow * share_from_
GLOffscreenTarget(GLRenderWindow *share_from, const String &filename)
void updateImageTile(Size x_lower, Size y_lower, Size x_upper, Size y_upper)
void tryUsePixelBuffer(bool use_pbo=true)
virtual int metric(PaintDeviceMetric metric) const