13464ebd5Sriastradh/* 23464ebd5Sriastradh Copyright (c) 2008 Apple Inc. 33464ebd5Sriastradh 43464ebd5Sriastradh Permission is hereby granted, free of charge, to any person 53464ebd5Sriastradh obtaining a copy of this software and associated documentation files 63464ebd5Sriastradh (the "Software"), to deal in the Software without restriction, 73464ebd5Sriastradh including without limitation the rights to use, copy, modify, merge, 83464ebd5Sriastradh publish, distribute, sublicense, and/or sell copies of the Software, 93464ebd5Sriastradh and to permit persons to whom the Software is furnished to do so, 103464ebd5Sriastradh subject to the following conditions: 113464ebd5Sriastradh 123464ebd5Sriastradh The above copyright notice and this permission notice shall be 133464ebd5Sriastradh included in all copies or substantial portions of the Software. 143464ebd5Sriastradh 153464ebd5Sriastradh THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 163464ebd5Sriastradh EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 173464ebd5Sriastradh MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 183464ebd5Sriastradh NONINFRINGEMENT. IN NO EVENT SHALL THE ABOVE LISTED COPYRIGHT 193464ebd5Sriastradh HOLDER(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 203464ebd5Sriastradh WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 213464ebd5Sriastradh OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 223464ebd5Sriastradh DEALINGS IN THE SOFTWARE. 233464ebd5Sriastradh 243464ebd5Sriastradh Except as contained in this notice, the name(s) of the above 253464ebd5Sriastradh copyright holders shall not be used in advertising or otherwise to 263464ebd5Sriastradh promote the sale, use or other dealings in this Software without 273464ebd5Sriastradh prior written authorization. 283464ebd5Sriastradh*/ 293464ebd5Sriastradh 303464ebd5Sriastradh#ifndef APPLE_VISUAL_H 313464ebd5Sriastradh#define APPLE_VISUAL_H 323464ebd5Sriastradh 333464ebd5Sriastradh#include <stdbool.h> 343464ebd5Sriastradh#include <OpenGL/CGLTypes.h> 353464ebd5Sriastradh#include "glxconfig.h" 363464ebd5Sriastradh 373464ebd5Sriastradhvoid apple_visual_create_pfobj(CGLPixelFormatObj * pfobj, const struct glx_config * mode, 383464ebd5Sriastradh bool * double_buffered, bool * uses_stereo, 393464ebd5Sriastradh bool offscreen); 403464ebd5Sriastradh 413464ebd5Sriastradh#endif 42