186c93d9c46415cf7746351c502a3513f637e77e4root/*
286c93d9c46415cf7746351c502a3513f637e77e4root * Copyright (c) 2008 NVIDIA, Corporation
386c93d9c46415cf7746351c502a3513f637e77e4root *
486c93d9c46415cf7746351c502a3513f637e77e4root * Permission is hereby granted, free of charge, to any person obtaining a copy
586c93d9c46415cf7746351c502a3513f637e77e4root * of this software and associated documentation files (the "Software"), to deal
686c93d9c46415cf7746351c502a3513f637e77e4root * in the Software without restriction, including without limitation the rights
786c93d9c46415cf7746351c502a3513f637e77e4root * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
886c93d9c46415cf7746351c502a3513f637e77e4root * copies of the Software, and to permit persons to whom the Software is
986c93d9c46415cf7746351c502a3513f637e77e4root * furnished to do so, subject to the following conditions:
1086c93d9c46415cf7746351c502a3513f637e77e4root *
1186c93d9c46415cf7746351c502a3513f637e77e4root * The above copyright notice and this permission notice (including the next
1286c93d9c46415cf7746351c502a3513f637e77e4root * paragraph) shall be included in all copies or substantial portions of the
1386c93d9c46415cf7746351c502a3513f637e77e4root * Software.
1486c93d9c46415cf7746351c502a3513f637e77e4root *
1586c93d9c46415cf7746351c502a3513f637e77e4root * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1686c93d9c46415cf7746351c502a3513f637e77e4root * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1786c93d9c46415cf7746351c502a3513f637e77e4root * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
1886c93d9c46415cf7746351c502a3513f637e77e4root * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1986c93d9c46415cf7746351c502a3513f637e77e4root * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2086c93d9c46415cf7746351c502a3513f637e77e4root * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2186c93d9c46415cf7746351c502a3513f637e77e4root * SOFTWARE.
2286c93d9c46415cf7746351c502a3513f637e77e4root */
2386c93d9c46415cf7746351c502a3513f637e77e4root
2486c93d9c46415cf7746351c502a3513f637e77e4root#ifndef VA_NVCTRLLIB_H
2586c93d9c46415cf7746351c502a3513f637e77e4root#define VA_NVCTRLLIB_H
2686c93d9c46415cf7746351c502a3513f637e77e4root
2786c93d9c46415cf7746351c502a3513f637e77e4root#include <X11/Xlib.h>
2886c93d9c46415cf7746351c502a3513f637e77e4root
2986c93d9c46415cf7746351c502a3513f637e77e4rootBool VA_NVCTRLQueryDirectRenderingCapable( Display *dpy, int screen,
3086c93d9c46415cf7746351c502a3513f637e77e4root    Bool *isCapable );
3186c93d9c46415cf7746351c502a3513f637e77e4root
3286c93d9c46415cf7746351c502a3513f637e77e4rootBool VA_NVCTRLGetClientDriverName( Display *dpy, int screen,
3386c93d9c46415cf7746351c502a3513f637e77e4root    int *ddxDriverMajorVersion, int *ddxDriverMinorVersion,
3486c93d9c46415cf7746351c502a3513f637e77e4root    int *ddxDriverPatchVersion, char **clientDriverName );
3586c93d9c46415cf7746351c502a3513f637e77e4root
3686c93d9c46415cf7746351c502a3513f637e77e4root#endif /* VA_NVCTRLLIB_H */
37