a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync/*
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Copyright © 2008 Red Hat, Inc
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * Permission to use, copy, modify, distribute, and sell this software
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and its documentation for any purpose is hereby granted without
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * fee, provided that the above copyright notice appear in all copies
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * and that both that copyright notice and this permission notice
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * appear in supporting documentation, and that the name of the
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * copyright holders not be used in advertising or publicity
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * pertaining to distribution of the software without specific,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * written prior permission. The copyright holders make no
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * representations about the suitability of this software for any
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * purpose. It is provided "as is" without express or implied
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * warranty.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync *
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync * SOFTWARE.
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync */
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#ifndef _GLX_dri_common_h
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#define _GLX_dri_common_h
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsynctypedef struct __GLXDRIconfig __GLXDRIconfig;
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncstruct __GLXDRIconfig {
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync __GLXconfig config;
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync const __DRIconfig *driConfig;
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync};
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync__GLXconfig *glxConvertConfigs(const __DRIcoreExtension * core,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync const __DRIconfig ** configs,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync unsigned int drawableType);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncextern const __DRIsystemTimeExtension systemTimeExtension;
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsyncvoid *glxProbeDriver(const char *name,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync void **coreExt, const char *coreName, int coreVersion,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync void **renderExt, const char *renderName,
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync int renderVersion);
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync
a5e7ae69e440f6816420fc99599f044e79e716b6vboxsync#endif