00001 /* 00002 * This source file is documented using Doxygen markup. 00003 * See http://www.stack.nl/~dimitri/doxygen/ 00004 */ 00005 00006 /* 00007 * This copyright notice applies to this header file: 00008 * 00009 * Copyright (c) 2008 NVIDIA Corporation 00010 * 00011 * Permission is hereby granted, free of charge, to any person 00012 * obtaining a copy of this software and associated documentation 00013 * files (the "Software"), to deal in the Software without 00014 * restriction, including without limitation the rights to use, 00015 * copy, modify, merge, publish, distribute, sublicense, and/or sell 00016 * copies of the Software, and to permit persons to whom the 00017 * Software is furnished to do so, subject to the following 00018 * conditions: 00019 * 00020 * The above copyright notice and this permission notice shall be 00021 * included in all copies or substantial portions of the Software. 00022 * 00023 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00024 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 00025 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 00026 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 00027 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 00028 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 00029 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00030 * OTHER DEALINGS IN THE SOFTWARE. 00031 */ 00032 00041 #ifndef _VDPAU_X11_H 00042 #define _VDPAU_X11_H 00043 00044 #include <X11/Xlib.h> 00045 #include "vdpau.h" 00046 00047 #ifdef __cplusplus 00048 extern "C" { 00049 #endif 00050 00121 typedef VdpStatus VdpDeviceCreateX11( 00122 Display * display, 00123 int screen, 00124 /* output parameters follow */ 00125 VdpDevice * device, 00126 VdpGetProcAddress * * get_proc_address 00127 ); 00128 00134 VdpDeviceCreateX11 vdp_device_create_x11; 00135 00156 typedef VdpStatus VdpPresentationQueueTargetCreateX11( 00157 VdpDevice device, 00158 Drawable drawable, 00159 /* output parameters follow */ 00160 VdpPresentationQueueTarget * target 00161 ); 00162 00164 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11 (VdpFuncId)(VDP_FUNC_ID_BASE_WINSYS + 0) 00165 00168 00169 #ifdef __cplusplus 00170 } 00171 #endif 00172 00173 #endif 00174