15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/*
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Copyright (c) 2008 NVIDIA, Corporation
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) *
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Permission is hereby granted, free of charge, to any person obtaining a copy
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * of this software and associated documentation files (the "Software"), to deal
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * in the Software without restriction, including without limitation the rights
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * copies of the Software, and to permit persons to whom the Software is
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * furnished to do so, subject to the following conditions:
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) *
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * The above copyright notice and this permission notice (including the next
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * paragraph) shall be included in all copies or substantial portions of the
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Software.
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) *
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * SOFTWARE.
225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) */
235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef VA_NVCTRLLIB_H
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define VA_NVCTRLLIB_H
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include <X11/Xlib.h>
285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Bool VA_NVCTRLQueryDirectRenderingCapable( Display *dpy, int screen,
305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    Bool *isCapable );
315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)Bool VA_NVCTRLGetClientDriverName( Display *dpy, int screen,
335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    int *ddxDriverMajorVersion, int *ddxDriverMinorVersion,
345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)    int *ddxDriverPatchVersion, char **clientDriverName );
355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif /* VA_NVCTRLLIB_H */
37