Fix negative CompressedTexImage2D tests am: 9de005f035 am: 958ab8f9cb am: b42217f8ce
[platform/upstream/VK-GL-CTS.git] / framework / platform / nullws / tcuNullWSPlatform.hpp
1 #ifndef _TCUNULLWSPLATFORM_HPP
2 #define _TCUNULLWSPLATFORM_HPP
3 /*-------------------------------------------------------------------------
4  * OpenGL Conformance Test Suite
5  * -----------------------------
6  *
7  * Copyright (c) 2016 Google Inc.
8  * Copyright (c) 2016 The Khronos Group Inc.
9  *
10  * Licensed under the Apache License, Version 2.0 (the "License");
11  * you may not use this file except in compliance with the License.
12  * You may obtain a copy of the License at
13  *
14  *      http://www.apache.org/licenses/LICENSE-2.0
15  *
16  * Unless required by applicable law or agreed to in writing, software
17  * distributed under the License is distributed on an "AS IS" BASIS,
18  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  * See the License for the specific language governing permissions and
20  * limitations under the License.
21  *
22  *//*!
23  * \file
24  * \brief
25  *//*--------------------------------------------------------------------*/
26
27 #include "tcuDefs.hpp"
28 #include "tcuPlatform.hpp"
29 #include "gluPlatform.hpp"
30 #include "egluPlatform.hpp"
31
32 namespace tcu
33 {
34 namespace nullws
35 {
36
37 class Platform: public tcu::Platform, private glu::Platform, private eglu::Platform
38 {
39 public:
40                                                                         Platform                ();
41         virtual                                                 ~Platform               ();
42
43         virtual const glu::Platform&    getGLPlatform   ()      const { return static_cast<const glu::Platform&>(*this); }
44         virtual const eglu::Platform&   getEGLPlatform  ()      const { return static_cast<const eglu::Platform&>(*this); }
45 };
46
47 } // nullws
48 } // tcu
49
50 #endif // _TCUNULLWSPLATFORM_HPP