mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +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.
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