mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +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:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user