openMSX
|
This is a common base class for SDLGLVisibleSurface and SDLGLOffScreenSurface. More...
#include <SDLGLOutputSurface.hh>
Public Types | |
enum | FrameBuffer { FB_NONE, FB_16BPP, FB_32BPP } |
These correspond respectively with the renderers: SDLGL-PP, SDLGL-FB16, SDLGL-FB32. More... | |
Public Member Functions | |
FrameBuffer | getFrameBufferType () const |
Protected Member Functions | |
SDLGLOutputSurface (FrameBuffer frameBuffer=FB_NONE) | |
~SDLGLOutputSurface ()=default | |
void | init (OutputSurface &output) |
void | flushFrameBuffer (unsigned width, unsigned height) |
void | clearScreen () |
void | saveScreenshot (const std::string &filename, const OutputSurface &output) const |
This is a common base class for SDLGLVisibleSurface and SDLGLOffScreenSurface.
Its only purpose is to have a place to put common code.
Definition at line 16 of file SDLGLOutputSurface.hh.
These correspond respectively with the renderers: SDLGL-PP, SDLGL-FB16, SDLGL-FB32.
Enumerator | |
---|---|
FB_NONE | |
FB_16BPP | |
FB_32BPP |
Definition at line 22 of file SDLGLOutputSurface.hh.
|
explicitprotected |
Definition at line 15 of file SDLGLOutputSurface.cc.
References openmsx::EnumSetting< T >::getEnum().
|
protecteddefault |
|
protected |
Definition at line 100 of file SDLGLOutputSurface.cc.
References openmsx::EnumSetting< T >::getEnum().
|
protected |
Definition at line 62 of file SDLGLOutputSurface.cc.
References openmsx::EnumSetting< T >::getEnum().
|
inline |
Definition at line 24 of file SDLGLOutputSurface.hh.
|
protected |
Definition at line 21 of file SDLGLOutputSurface.cc.
References openmsx::EnumSetting< T >::getEnum().
|
protected |
Definition at line 106 of file SDLGLOutputSurface.cc.
References openmsx::EnumSetting< T >::getEnum().