13464ebd5Sriastradh/* 23464ebd5Sriastradh Copyright (c) 2011 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_XGL_API_H 313464ebd5Sriastradh 323464ebd5Sriastradhvoid __applegl_glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, 333464ebd5Sriastradh GLenum format, GLenum type, void *pixels); 343464ebd5Sriastradhvoid __applegl_glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); 353464ebd5Sriastradhvoid __applegl_glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, 363464ebd5Sriastradh GLsizei width); 373464ebd5Sriastradh 383464ebd5Sriastradhvoid __applegl_glDrawBuffer(GLenum mode); 39af69d88dSmrgvoid __applegl_glDrawBuffers(GLsizei n, const GLenum * bufs); 403464ebd5Sriastradh 413464ebd5Sriastradhvoid __applegl_glViewport(GLint x, GLint y, GLsizei width, GLsizei height); 423464ebd5Sriastradh 433464ebd5Sriastradh#endif 44