neutrino: remove glthread, use GLFramebuffer instead

now that libstb-hal provides an easy to use virtual framebuffer,
use it instead of the glthread implementation.
This commit is contained in:
Stefan Seyfried
2013-05-04 13:07:52 +02:00
parent a7e587e3cb
commit e388b08dfe
9 changed files with 29 additions and 703 deletions

View File

@@ -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