Update GL wrapper to newest API.
[platform/upstream/VK-GL-CTS.git] / framework / platform / wayland / tcuWaylandEglPlatform.hpp
1 #ifndef _TCUWAYLANDEGLPLATFORM_HPP
2 #define _TCUWAYLANDEGLPLATFORM_HPP
3 /*-------------------------------------------------------------------------
4  * drawElements Quality Program Tester Core
5  * ----------------------------------------
6  *
7  * Copyright (c) 2014 The Android Open Source Project
8  * Copyright (c) 2016 The Khronos Group Inc.
9  * Copyright (c) 2016 Mun Gwan-gyeong <elongbug@gmail.com>
10  *
11  * Licensed under the Apache License, Version 2.0 (the "License");
12  * you may not use this file except in compliance with the License.
13  * You may obtain a copy of the License at
14  *
15  *      http://www.apache.org/licenses/LICENSE-2.0
16  *
17  * Unless required by applicable law or agreed to in writing, software
18  * distributed under the License is distributed on an "AS IS" BASIS,
19  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20  * See the License for the specific language governing permissions and
21  * limitations under the License.
22  *
23  *//*!
24  * \file
25  * \brief wayland Egl Platform.
26  *//*--------------------------------------------------------------------*/
27
28 #include "deUniquePtr.hpp"
29 #include "egluPlatform.hpp"
30 #include "gluContextFactory.hpp"
31 #include "tcuWayland.hpp"
32
33 namespace tcu
34 {
35 namespace wayland
36 {
37 namespace egl
38 {
39
40 class Platform : public eglu::Platform
41 {
42 public:
43                                                                                 Platform                                (EventState& eventState);
44                                                                                 ~Platform                               (void) {}
45
46         de::MovePtr<glu::ContextFactory>        createContextFactory    (void);
47 };
48
49 }
50 } // wayland
51 } // tcu
52
53 #endif // _TCUWAYLANDEGLPLATFORM_HPP