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.
This commit is contained in:
Stefan Seyfried
2010-08-20 00:48:25 +02:00
parent 000fbfe74b
commit 9fc1d89563
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);