1 /* cairo - a vector graphics library with display and print output 2 * 3 * Copyright © 2010 Linaro Limited 4 * 5 * This library is free software; you can redistribute it and/or 6 * modify it either under the terms of the GNU Lesser General Public 7 * License version 2.1 as published by the Free Software Foundation 8 * (the "LGPL") or, at your option, under the terms of the Mozilla 9 * Public License Version 1.1 (the "MPL"). If you do not alter this 10 * notice, a recipient may use your version of this file under either 11 * the MPL or the LGPL. 12 * 13 * You should have received a copy of the LGPL along with this library 14 * in the file COPYING-LGPL-2.1; if not, write to the Free Software 15 * Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA 16 * You should have received a copy of the MPL along with this library 17 * in the file COPYING-MPL-1.1 18 * 19 * The contents of this file are subject to the Mozilla Public License 20 * Version 1.1 (the "License"); you may not use this file except in 21 * compliance with the License. You may obtain a copy of the License at 22 * http://www.mozilla.org/MPL/ 23 * 24 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY 25 * OF ANY KIND, either express or implied. See the LGPL or the MPL for 26 * the specific language governing rights and limitations. 27 * 28 * Contributor(s): 29 * Alexandros Frantzis <alexandros.frantzis@linaro.org> 30 */ 31 32 #ifndef CAIRO_GL_EXT_DEF_PRIVATE_H 33 #define CAIRO_GL_EXT_DEF_PRIVATE_H 34 35 #ifndef GL_TEXTURE_RECTANGLE 36 #define GL_TEXTURE_RECTANGLE 0x84F5 37 #endif 38 39 #ifndef GL_ARRAY_BUFFER 40 #define GL_ARRAY_BUFFER 0x8892 41 #endif 42 43 #ifndef GL_STREAM_DRAW 44 #define GL_STREAM_DRAW 0x88E0 45 #endif 46 47 #ifndef GL_WRITE_ONLY 48 #define GL_WRITE_ONLY 0x88B9 49 #endif 50 51 #ifndef GL_PIXEL_UNPACK_BUFFER 52 #define GL_PIXEL_UNPACK_BUFFER 0x88EC 53 #endif 54 55 #ifndef GL_FRAMEBUFFER 56 #define GL_FRAMEBUFFER 0x8D40 57 #endif 58 59 #ifndef GL_COLOR_ATTACHMENT0 60 #define GL_COLOR_ATTACHMENT0 0x8CE0 61 #endif 62 63 #ifndef GL_FRAMEBUFFER_COMPLETE 64 #define GL_FRAMEBUFFER_COMPLETE 0x8CD5 65 #endif 66 67 #ifndef GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 68 #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6 69 #endif 70 71 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 72 #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7 73 #endif 74 75 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 76 #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9 77 #endif 78 79 #ifndef GL_FRAMEBUFFER_INCOMPLETE_FORMATS 80 #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS 0x8CDA 81 #endif 82 83 #ifndef GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 84 #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB 85 #endif 86 87 #ifndef GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 88 #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC 89 #endif 90 91 #ifndef GL_FRAMEBUFFER_UNSUPPORTED 92 #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD 93 #endif 94 95 #ifndef GL_PACK_INVERT_MESA 96 #define GL_PACK_INVERT_MESA 0x8758 97 #endif 98 99 #ifndef GL_CLAMP_TO_BORDER 100 #define GL_CLAMP_TO_BORDER 0x812D 101 #endif 102 103 #ifndef GL_BGR 104 #define GL_BGR 0x80E0 105 #endif 106 107 #ifndef GL_BGRA 108 #define GL_BGRA 0x80E1 109 #endif 110 111 #ifndef GL_RGBA8 112 #define GL_RGBA8 0x8058 113 #endif 114 115 #ifndef GL_UNSIGNED_INT_8_8_8_8 116 #define GL_UNSIGNED_INT_8_8_8_8 0x8035 117 #endif 118 119 #ifndef GL_UNSIGNED_SHORT_5_6_5_REV 120 #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364 121 #endif 122 123 #ifndef GL_UNSIGNED_SHORT_1_5_5_5_REV 124 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 125 #endif 126 127 #ifndef GL_UNSIGNED_INT_8_8_8_8_REV 128 #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367 129 #endif 130 131 #ifndef GL_PACK_ROW_LENGTH 132 #define GL_PACK_ROW_LENGTH 0x0D02 133 #endif 134 135 #ifndef GL_UNPACK_ROW_LENGTH 136 #define GL_UNPACK_ROW_LENGTH 0x0CF2 137 #endif 138 139 #ifndef GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 140 #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56 141 #endif 142 143 #endif /* CAIRO_GL_EXT_DEF_PRIVATE_H */ 144