glthread: blit OSD manually

to help debugging of framebuffer issues, only blit the openGL
framebuffer after an explicit blit() call


Origin commit data
------------------
Commit: 843e9f395a
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-04-06 (Sat, 06 Apr 2013)
This commit is contained in:
Stefan Seyfried
2013-04-06 12:06:18 +02:00
parent b620a0b9e1
commit 33edabc16f
3 changed files with 16 additions and 1 deletions

View File

@@ -29,6 +29,7 @@
#include <GL/glew.h>
#include <GL/freeglut.h>
#include <GL/gl.h>
#include "rcinput.h"
//class SWDecoder;
@@ -51,6 +52,7 @@ public:
int getOSDWidth() { return mState.width; }
int getOSDHeight() { return mState.height; }
void blit() { mState.blit = true; }
void clear();
@@ -92,6 +94,7 @@ private:
// GLuint displaytex; /* holds the display texture */
// GLuint displaypbo;
int go3d;
bool blit;
} mState;
// boost::shared_ptr<SWDecoder>mpSWDecoder; /* our Decoder-Object that runs in its own thread */