1*54e60f84SAndroid Build Coastguard Worker /* 2*54e60f84SAndroid Build Coastguard Worker * va_wayland_private.h - Wayland private API 3*54e60f84SAndroid Build Coastguard Worker * 4*54e60f84SAndroid Build Coastguard Worker * Copyright (c) 2012 Intel Corporation. All Rights Reserved. 5*54e60f84SAndroid Build Coastguard Worker * 6*54e60f84SAndroid Build Coastguard Worker * Permission is hereby granted, free of charge, to any person obtaining a 7*54e60f84SAndroid Build Coastguard Worker * copy of this software and associated documentation files (the 8*54e60f84SAndroid Build Coastguard Worker * "Software"), to deal in the Software without restriction, including 9*54e60f84SAndroid Build Coastguard Worker * without limitation the rights to use, copy, modify, merge, publish, 10*54e60f84SAndroid Build Coastguard Worker * distribute, sub license, and/or sell copies of the Software, and to 11*54e60f84SAndroid Build Coastguard Worker * permit persons to whom the Software is furnished to do so, subject to 12*54e60f84SAndroid Build Coastguard Worker * the following conditions: 13*54e60f84SAndroid Build Coastguard Worker * 14*54e60f84SAndroid Build Coastguard Worker * The above copyright notice and this permission notice (including the 15*54e60f84SAndroid Build Coastguard Worker * next paragraph) shall be included in all copies or substantial portions 16*54e60f84SAndroid Build Coastguard Worker * of the Software. 17*54e60f84SAndroid Build Coastguard Worker * 18*54e60f84SAndroid Build Coastguard Worker * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 19*54e60f84SAndroid Build Coastguard Worker * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 20*54e60f84SAndroid Build Coastguard Worker * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 21*54e60f84SAndroid Build Coastguard Worker * IN NO EVENT SHALL INTEL AND/OR ITS SUPPLIERS BE LIABLE FOR 22*54e60f84SAndroid Build Coastguard Worker * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 23*54e60f84SAndroid Build Coastguard Worker * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 24*54e60f84SAndroid Build Coastguard Worker * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 25*54e60f84SAndroid Build Coastguard Worker */ 26*54e60f84SAndroid Build Coastguard Worker 27*54e60f84SAndroid Build Coastguard Worker #ifndef VA_WAYLAND_PRIVATE_H 28*54e60f84SAndroid Build Coastguard Worker #define VA_WAYLAND_PRIVATE_H 29*54e60f84SAndroid Build Coastguard Worker 30*54e60f84SAndroid Build Coastguard Worker struct va_wayland_context; 31*54e60f84SAndroid Build Coastguard Worker 32*54e60f84SAndroid Build Coastguard Worker typedef bool (*VADisplayContextCreateFunc)(VADisplayContextP pDisplayContext); 33*54e60f84SAndroid Build Coastguard Worker typedef void (*VADisplayContextDestroyFunc)(VADisplayContextP pDisplayContext); 34*54e60f84SAndroid Build Coastguard Worker 35*54e60f84SAndroid Build Coastguard Worker /* VA/Wayland base display context */ 36*54e60f84SAndroid Build Coastguard Worker typedef struct va_wayland_context { 37*54e60f84SAndroid Build Coastguard Worker VADisplayContextDestroyFunc destroy; 38*54e60f84SAndroid Build Coastguard Worker } VADisplayContextWayland, *VADisplayContextWaylandP; 39*54e60f84SAndroid Build Coastguard Worker 40*54e60f84SAndroid Build Coastguard Worker DLL_HIDDEN 41*54e60f84SAndroid Build Coastguard Worker void 42*54e60f84SAndroid Build Coastguard Worker va_wayland_error(const char *format, ...); 43*54e60f84SAndroid Build Coastguard Worker 44*54e60f84SAndroid Build Coastguard Worker #endif /* VA_WAYLAND_PRIVATE_H */ 45