Make eglfs hooks functionality namespace cognisant
Change-Id: Ie9f86bd0494c0423f50d0f405922ab169b2431e3 Reviewed-by: Girish Ramakrishnan <girish.1.ramakrishnan@nokia.com>
This commit is contained in:
parent
2929b920af
commit
6102ab8d64
@ -48,6 +48,8 @@
|
||||
#include <fcntl.h>
|
||||
#include <linux/fb.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QEglFS8726MHooks : public QEglFSHooks
|
||||
{
|
||||
public:
|
||||
@ -90,3 +92,4 @@ void QEglFS8726MHooks::destroyNativeWindow(EGLNativeWindowType window)
|
||||
QEglFS8726MHooks eglFS8726MHooks;
|
||||
QEglFSHooks *platformHooks = &eglFS8726MHooks;
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
@ -44,6 +44,8 @@
|
||||
|
||||
#include "default_directfb.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
// Exported to the directfb plugin
|
||||
QDirectFBEGLHooks platform_hook;
|
||||
static void *dbpl_handle;
|
||||
@ -69,3 +71,4 @@ bool QDirectFBEGLHooks::hasCapability(QPlatformIntegration::Capability cap) cons
|
||||
}
|
||||
}
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
@ -52,6 +52,8 @@
|
||||
#include <linux/fb.h>
|
||||
#endif
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
static DISPMANX_DISPLAY_HANDLE_T dispman_display = 0;
|
||||
static DISPMANX_UPDATE_HANDLE_T dispman_update = 0;
|
||||
|
||||
@ -167,3 +169,5 @@ bool QEglFSPiHooks::hasCapability(QPlatformIntegration::Capability cap) const
|
||||
|
||||
QEglFSPiHooks eglFSPiHooks;
|
||||
QEglFSHooks *platformHooks = &eglFSPiHooks;
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
@ -41,6 +41,8 @@
|
||||
|
||||
#include "qeglfshooks.h"
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
void QEglFSHooks::platformInit()
|
||||
{
|
||||
}
|
||||
@ -79,3 +81,5 @@ bool QEglFSHooks::hasCapability(QPlatformIntegration::Capability cap) const
|
||||
#ifndef EGLFS_PLATFORM_HOOKS
|
||||
QEglFSHooks stubHooks;
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
@ -43,6 +43,8 @@
|
||||
|
||||
#include <X11/Xlib.h>
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
class QEglFSX11Hooks : public QEglFSHooks
|
||||
{
|
||||
public:
|
||||
@ -108,3 +110,4 @@ bool QEglFSX11Hooks::hasCapability(QPlatformIntegration::Capability cap) const
|
||||
static QEglFSX11Hooks eglFSX11Hooks;
|
||||
QEglFSHooks *platformHooks = &eglFSX11Hooks;
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
Loading…
Reference in New Issue
Block a user