1// Copyright (C) 2017 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QXCBVULKANWINDOW_H
5#define QXCBVULKANWINDOW_H
6
7#include "qxcbwindow.h"
8#include "qxcbvulkaninstance.h"
9
10QT_BEGIN_NAMESPACE
11
12class QXcbVulkanWindow : public QXcbWindow
13{
14public:
15 QXcbVulkanWindow(QWindow *window);
16 ~QXcbVulkanWindow();
17
18 VkSurfaceKHR *surface();
19
20protected:
21 void resolveFormat(const QSurfaceFormat &format) override;
22
23private:
24 VkSurfaceKHR m_surface;
25};
26
27QT_END_NAMESPACE
28
29#endif // QXCBVULKANWINDOW_H
30

source code of qtbase/src/plugins/platforms/xcb/qxcbvulkanwindow.h