mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
neutrino: remove glthread, use GLFramebuffer instead
now that libstb-hal provides an easy to use virtual framebuffer,
use it instead of the glthread implementation.
Origin commit data
------------------
Commit: e388b08dfe
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-05-04 (Sat, 04 May 2013)
This commit is contained in:
@@ -29,10 +29,7 @@
|
||||
#include <config.h>
|
||||
#endif
|
||||
|
||||
#include <driver/framebuffer.h>
|
||||
#ifdef USE_OPENGL
|
||||
#include "glthread.h"
|
||||
#endif
|
||||
#include <driver/framebuffer_ng.h>
|
||||
|
||||
#include <stdio.h>
|
||||
#include <fcntl.h>
|
||||
@@ -54,6 +51,10 @@
|
||||
#include <linux/stmfb.h>
|
||||
#include <bpamem.h>
|
||||
#endif
|
||||
#ifdef USE_OPENGL
|
||||
#include <glfb.h>
|
||||
extern GLFramebuffer *glfb;
|
||||
#endif
|
||||
|
||||
//#undef USE_NEVIS_GXA //FIXME
|
||||
/*******************************************************************************/
|
||||
@@ -825,8 +826,8 @@ void CFbAccel::blit()
|
||||
void CFbAccel::blit()
|
||||
{
|
||||
#ifdef USE_OPENGL
|
||||
if (fb->mpGLThreadObj)
|
||||
fb->mpGLThreadObj->blit();
|
||||
if (glfb)
|
||||
glfb->blit();
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user