blob: 33314e0bbe6f2edfe3db09970cf6b2082f91dc70 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// Copyright (C) 2018 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
#ifndef CONTENT_GPU_CLIENT_QT_H
#define CONTENT_GPU_CLIENT_QT_H
#include "content/public/gpu/content_gpu_client.h"
namespace gl {
class GLShareGroup;
}
namespace QtWebEngineCore {
class ShareGroupQt;
class ContentGpuClientQt : public content::ContentGpuClient {
public:
explicit ContentGpuClientQt();
~ContentGpuClientQt() override;
// content::ContentGpuClient implementation.
gl::GLShareGroup *GetInProcessGpuShareGroup() override;
private:
scoped_refptr<ShareGroupQt> m_shareGroupQt;
};
}
#endif // CONTENT_GPU_CLIENT_QT_H
|