directfb: Move the macro to the qdirectfbconvenience header file
We will need to have logging outside of the blitter code, make the macro available to everyone. Change-Id: I811ecb98a870a818630276b5daa788790db71ccd Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
This commit is contained in:
parent
f0942bd8cb
commit
3d07ef1d0c
@ -50,11 +50,6 @@
|
||||
#include <directfb.h>
|
||||
|
||||
|
||||
#define QDFB_STRINGIFY(x) #x
|
||||
#define QDFB_TOSTRING(x) QDFB_STRINGIFY(x)
|
||||
#define QDFB_PRETTY \
|
||||
(__FILE__ ":" QDFB_TOSTRING(__LINE__))
|
||||
|
||||
static QBlittable::Capabilities dfb_blitter_capabilities()
|
||||
{
|
||||
return QBlittable::Capabilities(QBlittable::SolidRectCapability
|
||||
|
@ -114,4 +114,10 @@ public:
|
||||
QDirectFbScreen *toDfbScreen(QWindow *window);
|
||||
IDirectFBDisplayLayer *toDfbLayer(QPlatformScreen *screen);
|
||||
|
||||
#define QDFB_STRINGIFY(x) #x
|
||||
#define QDFB_TOSTRING(x) QDFB_STRINGIFY(x)
|
||||
#define QDFB_PRETTY \
|
||||
(__FILE__ ":" QDFB_TOSTRING(__LINE__))
|
||||
|
||||
|
||||
#endif // QDIRECTFBCONVENIENCE_H
|
||||
|
Loading…
Reference in New Issue
Block a user