mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 10:51:12 +02:00
add openGL based framebuffer implementation for testing on PC
this is based on Carsten Juttner's previous work, but without any video decoding.
This commit is contained in:
@@ -53,6 +53,13 @@ typedef struct fb_var_screeninfo t_fb_var_screeninfo;
|
||||
#define FADE_STEP 5
|
||||
#define FADE_RESET 0xFFFF
|
||||
|
||||
#if HAVE_GENERIC_HARDWARE
|
||||
#define USE_OPENGL 1
|
||||
#endif
|
||||
#ifdef USE_OPENGL
|
||||
class GLThreadObj;
|
||||
#endif
|
||||
|
||||
/** Ausfuehrung als Singleton */
|
||||
class CFrameBuffer
|
||||
{
|
||||
@@ -121,6 +128,10 @@ class CFrameBuffer
|
||||
void blitIcon(int src_width, int src_height, int fb_x, int fb_y, int width, int height);
|
||||
#endif
|
||||
int m_transparent_default, m_transparent;
|
||||
#ifdef USE_OPENGL
|
||||
GLThreadObj *mpGLThreadObj; /* the thread object */
|
||||
#endif
|
||||
|
||||
|
||||
public:
|
||||
fb_pixel_t realcolor[256];
|
||||
|
Reference in New Issue
Block a user