mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 10:51:05 +02:00
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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user