20 #ifndef SDLTK_VIDEOGL_H 21 #define SDLTK_VIDEOGL_H 47 virtual void update() {SDL_GL_SwapBuffers();}
68 #endif // SDLTK_VIDEOGL_H GLuint mTexWidth
Definition: videogl.h:54
virtual void lock()
Locks the screen-surface.
Definition: videogl.h:50
virtual Canvas * getCanvas()
Definition: videogl.h:44
VideoGL(cpcx::Cpc *cpc)
Definition: videogl.cpp:29
uint depth()
Returns the bytes per pixel inbetween (1 to 4)
Definition: video.h:66
virtual void unlock()
Unlocks the screen-surface.
Definition: videogl.h:51
GLuint mTexHeight
Definition: videogl.h:55
Definition: canvasgl.h:30
static volatile bool mIsLoaded
Definition: videogl.h:61
CanvasGL mCanvas
Definition: videogl.h:63
virtual ~VideoGL()
Definition: videogl.cpp:42
uint * calcScreenStart()
Definition: videogl.cpp:285
GLuint mTexnum
Definition: videogl.h:56
unsigned int uint
Definition: types.h:121
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLint GLint GLsizei GLsizei height
Definition: glfunclist.h:21
virtual void quit()
Free all resources.
Definition: videogl.cpp:47
uint * calcScreenEnd()
Definition: videogl.cpp:297
virtual void setup()
Things that needs to be done before update.
Definition: videogl.cpp:251
Baseclass for all SDL Video drivers.
Definition: video.h:35
virtual int init()
Definition: videogl.cpp:73
sdltk::Audio audio & cpc
Definition: roland.cpp:76
GLuint GLfloat GLenum cap GLsizei GLuint *textures GLenum GLint *params void GLdouble GLdouble GLdouble GLdouble GLdouble GLdouble zFar GLenum GLint GLint GLsizei width
Definition: glfunclist.h:21
the SDL based Stuff
Definition: audio.cpp:22
virtual void update()
Updates the Screen (flip or something)
Definition: videogl.h:47