1 /* 2 * Copyright (c) 2002-2011 LWJGL Project 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: 8 * 9 * * Redistributions of source code must retain the above copyright 10 * notice, this list of conditions and the following disclaimer. 11 * 12 * * Redistributions in binary form must reproduce the above copyright 13 * notice, this list of conditions and the following disclaimer in the 14 * documentation and/or other materials provided with the distribution. 15 * 16 * * Neither the name of 'LWJGL' nor the names of 17 * its contributors may be used to endorse or promote products derived 18 * from this software without specific prior written permission. 19 * 20 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 21 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 22 * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 23 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 24 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 25 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 26 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 27 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 28 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 29 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 30 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 31 */ 32 package org.lwjgl.opengles; 33 34 import org.lwjgl.util.generator.opengl.GLbitfield; 35 import org.lwjgl.util.generator.opengl.GLuint; 36 37 public interface QCOM_tiled_rendering { 38 39 /** 40 * Accepted by the <preserveMask> parameter of StartTilingQCOM and 41 * EndTilingQCOM 42 */ 43 int GL_COLOR_BUFFER_BIT0_QCOM = 0x00000001, 44 GL_COLOR_BUFFER_BIT1_QCOM = 0x00000002, 45 GL_COLOR_BUFFER_BIT2_QCOM = 0x00000004, 46 GL_COLOR_BUFFER_BIT3_QCOM = 0x00000008, 47 GL_COLOR_BUFFER_BIT4_QCOM = 0x00000010, 48 GL_COLOR_BUFFER_BIT5_QCOM = 0x00000020, 49 GL_COLOR_BUFFER_BIT6_QCOM = 0x00000040, 50 GL_COLOR_BUFFER_BIT7_QCOM = 0x00000080, 51 GL_DEPTH_BUFFER_BIT0_QCOM = 0x00000100, 52 GL_DEPTH_BUFFER_BIT1_QCOM = 0x00000200, 53 GL_DEPTH_BUFFER_BIT2_QCOM = 0x00000400, 54 GL_DEPTH_BUFFER_BIT3_QCOM = 0x00000800, 55 GL_DEPTH_BUFFER_BIT4_QCOM = 0x00001000, 56 GL_DEPTH_BUFFER_BIT5_QCOM = 0x00002000, 57 GL_DEPTH_BUFFER_BIT6_QCOM = 0x00004000, 58 GL_DEPTH_BUFFER_BIT7_QCOM = 0x00008000, 59 GL_STENCIL_BUFFER_BIT0_QCOM = 0x00010000, 60 GL_STENCIL_BUFFER_BIT1_QCOM = 0x00020000, 61 GL_STENCIL_BUFFER_BIT2_QCOM = 0x00040000, 62 GL_STENCIL_BUFFER_BIT3_QCOM = 0x00080000, 63 GL_STENCIL_BUFFER_BIT4_QCOM = 0x00100000, 64 GL_STENCIL_BUFFER_BIT5_QCOM = 0x00200000, 65 GL_STENCIL_BUFFER_BIT6_QCOM = 0x00400000, 66 GL_STENCIL_BUFFER_BIT7_QCOM = 0x00800000, 67 GL_MULTISAMPLE_BUFFER_BIT0_QCOM = 0x01000000, 68 GL_MULTISAMPLE_BUFFER_BIT1_QCOM = 0x02000000, 69 GL_MULTISAMPLE_BUFFER_BIT2_QCOM = 0x04000000, 70 GL_MULTISAMPLE_BUFFER_BIT3_QCOM = 0x08000000, 71 GL_MULTISAMPLE_BUFFER_BIT4_QCOM = 0x10000000, 72 GL_MULTISAMPLE_BUFFER_BIT5_QCOM = 0x20000000, 73 GL_MULTISAMPLE_BUFFER_BIT6_QCOM = 0x40000000, 74 GL_MULTISAMPLE_BUFFER_BIT7_QCOM = 0x80000000; 75 glStartTilingQCOM(@Luint int x, @GLuint int y, @GLuint int width, @GLuint int height, @GLbitfield int preserveMask)76 void glStartTilingQCOM(@GLuint int x, @GLuint int y, @GLuint int width, @GLuint int height, 77 @GLbitfield int preserveMask); 78 glEndTilingQCOM(@Lbitfield int preserveMask)79 void glEndTilingQCOM(@GLbitfield int preserveMask); 80 81 }