11b5d61b8Smrg/* 21b5d61b8Smrg * Copyright © 2014 Jon Turney 31b5d61b8Smrg * 41b5d61b8Smrg * Permission is hereby granted, free of charge, to any person obtaining a 51b5d61b8Smrg * copy of this software and associated documentation files (the "Software"), 61b5d61b8Smrg * to deal in the Software without restriction, including without limitation 71b5d61b8Smrg * the rights to use, copy, modify, merge, publish, distribute, sublicense, 81b5d61b8Smrg * and/or sell copies of the Software, and to permit persons to whom the 91b5d61b8Smrg * Software is furnished to do so, subject to the following conditions: 101b5d61b8Smrg * 111b5d61b8Smrg * The above copyright notice and this permission notice (including the next 121b5d61b8Smrg * paragraph) shall be included in all copies or substantial portions of the 131b5d61b8Smrg * Software. 141b5d61b8Smrg * 151b5d61b8Smrg * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 161b5d61b8Smrg * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 171b5d61b8Smrg * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL 181b5d61b8Smrg * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 191b5d61b8Smrg * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 201b5d61b8Smrg * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS 211b5d61b8Smrg * IN THE SOFTWARE. 221b5d61b8Smrg */ 231b5d61b8Smrg 241b5d61b8Smrg#ifndef dri_helpers_h 251b5d61b8Smrg#define dri_helpers_h 261b5d61b8Smrg 271b5d61b8Smrg#include "dixstruct.h" 281b5d61b8Smrg 291b5d61b8Smrgint 301b5d61b8SmrgglxWinQueryDrawable(ClientPtr client, XID drawId, unsigned int *type, unsigned int *handle); 311b5d61b8Smrg 321b5d61b8Smrgint 331b5d61b8SmrgglxWinFBConfigIDToPixelFormatIndex(int scr, int fbConfigID); 341b5d61b8Smrg 351b5d61b8SmrgBool 361b5d61b8SmrgglxWinGetScreenAiglxIsActive(ScreenPtr pScreen); 371b5d61b8Smrg 381b5d61b8Smrg#endif /* dri_helpers_h */ 39