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