openMSX
video
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
12
class
SDLGLOffScreenSurface
final :
public
OutputSurface
13
{
14
public
:
15
explicit
SDLGLOffScreenSurface
(
const
OutputSurface
& output);
16
17
private
:
18
// OutputSurface
19
void
saveScreenshot(
const
std::string& filename)
override
;
20
21
private
:
22
gl::Texture
fboTex;
23
gl::FrameBufferObject
fbo;
24
};
25
26
}
// namespace openmsx
27
28
#endif
GLUtil.hh
OutputSurface.hh
gl::FrameBufferObject
Definition:
GLUtil.hh:119
gl::Texture
Most basic/generic texture: only contains a texture ID.
Definition:
GLUtil.hh:40
openmsx::OutputSurface
A frame buffer where pixels can be written to.
Definition:
OutputSurface.hh:21
openmsx::SDLGLOffScreenSurface
This class installs a FrameBufferObject (FBO).
Definition:
SDLGLOffScreenSurface.hh:13
openmsx::SDLGLOffScreenSurface::SDLGLOffScreenSurface
SDLGLOffScreenSurface(const OutputSurface &output)
Definition:
SDLGLOffScreenSurface.cc:7
openmsx
This file implemented 3 utility functions:
Definition:
Autofire.cc:9
Generated on Wed Oct 4 2023 23:13:13 for openMSX by
1.9.4