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> 45 virtual void prepareRendering();
46 virtual void prepareUpscaling(
Size final_width,
Size final_height);
48 virtual bool resize(
const unsigned int width,
const unsigned int height);
49 virtual void refresh();
51 void tryUsePixelBuffer(
bool use_pbo =
true);
54 void updateImageTile(
Size x_lower,
Size y_lower,
Size x_upper,
Size y_upper);
56 virtual QPaintEngine* paintEngine()
const;
57 virtual int metric(PaintDeviceMetric metric)
const;
73 #endif // BALL_VIEW_RENDERING_GLOFFSCREENTARGET_H
GLRenderWindow * share_from_
boost::shared_ptr< QGLPixelBuffer > pixel_buffer_
-*- Mode: C++; tab-width: 2; -*-