openMSX
SDLGLOffScreenSurface.hh
Go to the documentation of this file.
1 #ifndef SDLGLOFFSCREENSURFACE_HH
2 #define SDLGLOFFSCREENSURFACE_HH
3 
4 #include "OutputSurface.hh"
5 #include "GLUtil.hh"
6 
7 namespace openmsx {
8 
9 class SDLGLVisibleSurface;
10 
15 {
16 public:
17  explicit SDLGLOffScreenSurface(const OutputSurface& output);
18 
19 private:
20  // OutputSurface
21  void saveScreenshot(const std::string& filename) override;
22 
23  gl::Texture fboTex;
25 };
26 
27 } // namespace openmsx
28 
29 #endif
gl::Texture
Most basic/generic texture: only contains a texture ID.
Definition: GLUtil.hh:41
openmsx::SDLGLOffScreenSurface
This class installs a FrameBufferObject (FBO).
Definition: SDLGLOffScreenSurface.hh:15
gl::FrameBufferObject
Definition: GLUtil.hh:120
openmsx::filename
constexpr const char *const filename
Definition: FirmwareSwitch.cc:10
OutputSurface.hh
openmsx::SDLGLOffScreenSurface::SDLGLOffScreenSurface
SDLGLOffScreenSurface(const OutputSurface &output)
Definition: SDLGLOffScreenSurface.cc:7
openmsx::OutputSurface
A frame buffer where pixels can be written to.
Definition: OutputSurface.hh:20
GLUtil.hh
openmsx
This file implemented 3 utility functions:
Definition: Autofire.cc:5