12345678910111213141516171819202122232425262728 |
- #ifndef SDLOFFSCREENSURFACE_HH
- #define SDLOFFSCREENSURFACE_HH
- #include "SDLOutputSurface.hh"
- #include "SDLSurfacePtr.hh"
- #include "MemBuffer.hh"
- namespace openmsx {
- class SDLOffScreenSurface final : public SDLOutputSurface
- {
- public:
- explicit SDLOffScreenSurface(const SDL_Surface& prototype);
- private:
- // OutputSurface
- void saveScreenshot(const std::string& filename) override;
- void clearScreen() override;
- MemBuffer<char, SSE2_ALIGNMENT> buffer;
- SDLSurfacePtr surface;
- SDLRendererPtr renderer;
- };
- } // namespace openmsx
- #endif
|