libtriple/framebuffer: use DirectFB acceleration

Use a hack, almost as ugly as the original Coolstream code ;),
to accelerate drawing of boxes and blitting with DirectFB functions.


Origin commit data
------------------
Commit: 9fc1d89563
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2010-08-20 (Fri, 20 Aug 2010)
This commit is contained in:
Stefan Seyfried
2010-08-20 00:48:25 +02:00
parent 68e34c89cf
commit 725e9cbfb8
4 changed files with 137 additions and 6 deletions

View File

@@ -214,8 +214,12 @@ class CFrameBuffer
#ifdef USE_NEVIS_GXA
void add_gxa_sync_marker(void);
void waitForIdle(void);
#else
#if HAVE_TRIPLEDRAGON
void waitForIdle(void);
#else
inline void waitForIdle(void) {};
#endif
#endif
void* convertRGB2FB(unsigned char *rgbbuff, unsigned long x, unsigned long y, int transp = 0xFF);
void* convertRGBA2FB(unsigned char *rgbbuff, unsigned long x, unsigned long y);