ManaPlus
|
#include <mobileopenglscreenshothelper.h>
Public Member Functions | |
MobileOpenGLScreenshotHelper () | |
~MobileOpenGLScreenshotHelper () | |
void | prepare () |
SDL_Surface * | getScreenshot () |
Public Member Functions inherited from ScreenshotHelper | |
ScreenshotHelper () | |
virtual | ~ScreenshotHelper () |
Private Attributes | |
FBOInfo | mFbo |
Definition at line 35 of file mobileopenglscreenshothelper.h.
MobileOpenGLScreenshotHelper::MobileOpenGLScreenshotHelper | ( | ) |
Definition at line 40 of file mobileopenglscreenshothelper.cpp.
MobileOpenGLScreenshotHelper::~MobileOpenGLScreenshotHelper | ( | ) |
Definition at line 46 of file mobileopenglscreenshothelper.cpp.
|
virtual |
< Surface is in system memory
< Surface is in system memory
< Surface is in video memory
< Use asynchronous blits if possible
< Surface is RLE encoded
< Surface is in video memory
< Use asynchronous blits if possible
< Surface is RLE encoded
Implements ScreenshotHelper.
Definition at line 58 of file mobileopenglscreenshothelper.cpp.
References config, GraphicsManager::deleteFBO(), Configuration::getBoolValue(), graphicsManager, mainGraphics, mFbo, mglGetIntegerv, mglPixelStorei, mglReadPixels, Graphics::mHeight, MSDL_CreateRGBSurface, MSDL_FreeSurface, Graphics::mWidth, Actions::screenshot(), and top.
|
virtual |
Implements ScreenshotHelper.
Definition at line 50 of file mobileopenglscreenshothelper.cpp.
References config, GraphicsManager::createFBO(), Configuration::getBoolValue(), graphicsManager, mainGraphics, mFbo, Graphics::mHeight, and Graphics::mWidth.
|
private |
Definition at line 49 of file mobileopenglscreenshothelper.h.
Referenced by getScreenshot(), and prepare().