1 /*------------------------------------------------------------------------- 2 * drawElements Quality Program Tester Core 3 * ---------------------------------------- 4 * 5 * Copyright 2014 The Android Open Source Project 6 * 7 * Licensed under the Apache License, Version 2.0 (the "License"); 8 * you may not use this file except in compliance with the License. 9 * You may obtain a copy of the License at 10 * 11 * http://www.apache.org/licenses/LICENSE-2.0 12 * 13 * Unless required by applicable law or agreed to in writing, software 14 * distributed under the License is distributed on an "AS IS" BASIS, 15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 * See the License for the specific language governing permissions and 17 * limitations under the License. 18 * 19 *//*! 20 * \file 21 * \brief Platform (OS) specific services. 22 *//*--------------------------------------------------------------------*/ 23 24 #include "tcuPlatform.hpp" 25 26 namespace tcu 27 { 28 29 Platform::Platform (void) 30 { 31 } 32 33 Platform::~Platform (void) 34 { 35 } 36 37 bool Platform::processEvents (void) 38 { 39 return true; 40 } 41 42 const glu::Platform& Platform::getGLPlatform (void) const 43 { 44 TCU_THROW(NotSupportedError, "OpenGL (ES) is not supported"); 45 } 46 47 const eglu::Platform& Platform::getEGLPlatform (void) const 48 { 49 TCU_THROW(NotSupportedError, "EGL is not supported"); 50 } 51 52 const vk::Platform& Platform::getVulkanPlatform (void) const 53 { 54 TCU_THROW(NotSupportedError, "Vulkan is not supported"); 55 } 56 57 } // tcu 58