tcuPlatform.cpp revision 3c827367444ee418f129b2c238299f49d3264554
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 26namespace tcu 27{ 28 29Platform::Platform (void) 30{ 31} 32 33Platform::~Platform (void) 34{ 35} 36 37bool Platform::processEvents (void) 38{ 39 return true; 40} 41 42const glu::Platform& Platform::getGLPlatform (void) const 43{ 44 throw tcu::NotSupportedError("OpenGL (ES) is not supported", DE_NULL, __FILE__, __LINE__); 45} 46 47const eglu::Platform& Platform::getEGLPlatform (void) const 48{ 49 throw tcu::NotSupportedError("EGL is not supported", DE_NULL, __FILE__, __LINE__); 50} 51 52} // tcu 53