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-2009 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 00123 typedef VdpStatus VdpDeviceCreateX11( 00124 Display * display, 00125 int screen, 00126 /* output parameters follow */ 00127 VdpDevice * device, 00128 VdpGetProcAddress * * get_proc_address 00129 ); 00130 00136 VdpDeviceCreateX11 vdp_device_create_x11; 00137 00158 typedef VdpStatus VdpPresentationQueueTargetCreateX11( 00159 VdpDevice device, 00160 Drawable drawable, 00161 /* output parameters follow */ 00162 VdpPresentationQueueTarget * target 00163 ); 00164 00166 #define VDP_FUNC_ID_PRESENTATION_QUEUE_TARGET_CREATE_X11 (VdpFuncId)(VDP_FUNC_ID_BASE_WINSYS + 0) 00167 00170 00171 #ifdef __cplusplus 00172 } 00173 #endif 00174 00175 #endif 00176