15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)/* 25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Copyright © 2008 Red Hat, Inc. 35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * 45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Permission is hereby granted, free of charge, to any person obtaining a 55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * copy of this software and associated documentation files (the "Soft- 65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * ware"), to deal in the Software without restriction, including without 75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * limitation the rights to use, copy, modify, merge, publish, distribute, 85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * and/or sell copies of the Software, and to permit persons to whom the 95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Software is furnished to do so, provided that the above copyright 105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * notice(s) and this permission notice appear in all copies of the Soft- 115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * ware and that both the above copyright notice(s) and this permission 125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * notice appear in supporting documentation. 135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * 145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS 155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABIL- 165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * ITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF THIRD PARTY 175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN 185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL INDIRECT OR CONSE- 195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * QUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFOR- 225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * MANCE OF THIS SOFTWARE. 235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * 245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Except as contained in this notice, the name of a copyright holder shall 255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * not be used in advertising or otherwise to promote the sale, use or 265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * other dealings in this Software without prior written authorization of 275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * the copyright holder. 285821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * 295821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Authors: 305821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) * Kristian Høgsberg (krh@redhat.com) 315821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) */ 325821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 335821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef _DRI2_TOKENS_H_ 345821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define _DRI2_TOKENS_H_ 355821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 365821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferFrontLeft 0 375821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferBackLeft 1 385821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferFrontRight 2 395821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferBackRight 3 405821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferDepth 4 415821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferStencil 5 425821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferAccum 6 435821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferFakeFrontLeft 7 445821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2BufferFakeFrontRight 8 455821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 465821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define DRI2DriverDRI 0 475821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles) 485821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif 49