1706f2543Smrg/*
2706f2543Smrg * Copyright © 2008 Red Hat, Inc
3706f2543Smrg *
4706f2543Smrg * Permission to use, copy, modify, distribute, and sell this software
5706f2543Smrg * and its documentation for any purpose is hereby granted without
6706f2543Smrg * fee, provided that the above copyright notice appear in all copies
7706f2543Smrg * and that both that copyright notice and this permission notice
8706f2543Smrg * appear in supporting documentation, and that the name of the
9706f2543Smrg * copyright holders not be used in advertising or publicity
10706f2543Smrg * pertaining to distribution of the software without specific,
11706f2543Smrg * written prior permission.  The copyright holders make no
12706f2543Smrg * representations about the suitability of this software for any
13706f2543Smrg * purpose.  It is provided "as is" without express or implied
14706f2543Smrg * warranty.
15706f2543Smrg *
16706f2543Smrg * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS
17706f2543Smrg * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
18706f2543Smrg * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY
19706f2543Smrg * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
20706f2543Smrg * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
21706f2543Smrg * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
22706f2543Smrg * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
23706f2543Smrg * SOFTWARE.
24706f2543Smrg */
25706f2543Smrg
26706f2543Smrg#ifndef _GLX_dri_common_h
27706f2543Smrg#define _GLX_dri_common_h
28706f2543Smrg
29706f2543Smrgtypedef struct __GLXDRIconfig	__GLXDRIconfig;
30706f2543Smrgstruct __GLXDRIconfig {
31706f2543Smrg    __GLXconfig config;
32706f2543Smrg    const __DRIconfig *driConfig;
33706f2543Smrg};
34706f2543Smrg
35706f2543Smrg__GLXconfig *
36706f2543SmrgglxConvertConfigs(const __DRIcoreExtension *core,
37706f2543Smrg		  const __DRIconfig **configs, unsigned int drawableType);
38706f2543Smrg
39706f2543Smrgextern const __DRIsystemTimeExtension systemTimeExtension;
40706f2543Smrg
41706f2543Smrg#endif
42