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

@@ -30,6 +30,9 @@
#endif
#include <driver/framebuffer.h>
#ifdef USE_OPENGL
#include "glthread.h"
#endif
#include <stdio.h>
#include <fcntl.h>
@@ -821,6 +824,10 @@ void CFbAccel::blit()
/* not azbox and not spark -> no blit() needed */
void CFbAccel::blit()
{
#ifdef USE_OPENGL
if (fb->mpGLThreadObj)
fb->mpGLThreadObj->blit();
#endif
}
#endif