Add a way to query for global handles in QPlatformNativeInterface
Change-Id: I4f29f40a3d6d4237f7da092bb34b8e596321b47d Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
parent
d1a5bb55d9
commit
d29d4c2afa
@ -43,6 +43,11 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
void *QPlatformNativeInterface::nativeResourceForIntegration(const QByteArray &resource)
|
||||
{
|
||||
Q_UNUSED(resource);
|
||||
return 0;
|
||||
}
|
||||
void *QPlatformNativeInterface::nativeResourceForWindow(const QByteArray &resource, QWindow *window)
|
||||
{
|
||||
Q_UNUSED(resource);
|
||||
|
@ -60,6 +60,7 @@ class Q_GUI_EXPORT QPlatformNativeInterface : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
virtual void *nativeResourceForIntegration(const QByteArray &resource);
|
||||
virtual void *nativeResourceForContext(const QByteArray &resource, QOpenGLContext *context);
|
||||
virtual void *nativeResourceForWindow(const QByteArray &resource, QWindow *window);
|
||||
virtual void *nativeResourceForBackingStore(const QByteArray &resource, QBackingStore *backingStore);
|
||||
|
Loading…
Reference in New Issue
Block a user