genode/repos/libports/src/lib/egl/select_driver.h

26 lines
623 B
C
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Probe GPU device to select the proper Gallium3D driver
* \author Norman Feske
* \date 2010-09-23
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2010-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef _SELECT_DRIVER_H_
#define _SELECT_DRIVER_H_
/**
* Probe GPU and determine the shared object name of the Gallium3D driver
*
* \return ASCII string with the name of the Gallium3D driver, or
* 0 if detection failed
*/
const char *probe_gpu_and_select_driver();
#endif /* _SELECT_DRIVER_H_ */