13ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill#ifndef _TCUNULLCONTEXTFACTORY_HPP
23ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill#define _TCUNULLCONTEXTFACTORY_HPP
33ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill/*-------------------------------------------------------------------------
43ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * drawElements Quality Program Tester Core
53ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * ----------------------------------------
63ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *
73ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * Copyright 2014 The Android Open Source Project
83ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *
93ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * Licensed under the Apache License, Version 2.0 (the "License");
103ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * you may not use this file except in compliance with the License.
113ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * You may obtain a copy of the License at
123ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *
133ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *      http://www.apache.org/licenses/LICENSE-2.0
143ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *
153ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * Unless required by applicable law or agreed to in writing, software
163ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * distributed under the License is distributed on an "AS IS" BASIS,
173ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
183ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * See the License for the specific language governing permissions and
193ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * limitations under the License.
203ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *
213ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *//*!
223ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * \file
233ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill * \brief Null GL Context Factory.
243ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill *//*--------------------------------------------------------------------*/
253ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill
263ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill#include "tcuDefs.hpp"
273ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill#include "gluContextFactory.hpp"
283ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill
293ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madillnamespace tcu
303ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill{
313ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madillnamespace null
323ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill{
333ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill
343ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madillclass NullGLContextFactory : public glu::ContextFactory
353ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill{
363ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madillpublic:
373ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill						NullGLContextFactory	(void);
383ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill	glu::RenderContext*	createContext			(const glu::RenderConfig& config, const tcu::CommandLine&) const;
393ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill};
403ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill
413ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill} // null
423ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill} // tcu
433ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill
443ff8f3de14f6eabfaad479b480f7433459a63365Jamie Madill#endif // _TCUNULLCONTEXTFACTORY_HPP
45