From: Caspian Rychlik-P. <ci...@us...> - 2002-08-16 21:50:09
|
Update of /cvsroot/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl In directory usw-pr-cvs1:/tmp/cvs-serv11055/src/java/org/lwjgl/opengl/wgl Added Files: WGLPixelFormat.java WGLMultisample.java WGLRenderTexture.java WGLBufferRegion.java WGLMakeCurrentRead.java WGLPBuffer.java Log Message: Initial commit --- NEW FILE: WGLPixelFormat.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLPixelFormat.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:07:42 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLPixelFormat { public static final int WNUMBER_PIXEL_FORMATS_ARB = 0x2000; public static final int WDRAW_TO_WINDOW_ARB = 0x2001; public static final int WDRAW_TO_BITMAP_ARB = 0x2002; public static final int WACCELERATION_ARB = 0x2003; public static final int WNEED_PALETTE_ARB = 0x2004; public static final int WNEED_SYSTEM_PALETTE_ARB = 0x2005; public static final int WSWAP_LAYER_BUFFERS_ARB = 0x2006; public static final int WSWAP_METHOD_ARB = 0x2007; public static final int WNUMBER_OVERLAYS_ARB = 0x2008; public static final int WNUMBER_UNDERLAYS_ARB = 0x2009; public static final int WTRANSPARENT_ARB = 0x200A; public static final int WTRANSPARENT_RED_VALUE_ARB = 0x2037; public static final int WTRANSPARENT_GREEN_VALUE_ARB = 0x2038; public static final int WTRANSPARENT_BLUE_VALUE_ARB = 0x2039; public static final int WTRANSPARENT_ALPHA_VALUE_ARB = 0x203A; public static final int WTRANSPARENT_INDEX_VALUE_ARB = 0x203B; public static final int WSHARE_DEPTH_ARB = 0x200C; public static final int WSHARE_STENCIL_ARB = 0x200D; public static final int WSHARE_ACCUM_ARB = 0x200E; public static final int WSUPPORT_GDI_ARB = 0x200F; public static final int WSUPPORT_OPENARB = 0x2010; public static final int WDOUBLE_BUFFER_ARB = 0x2011; public static final int WSTEREO_ARB = 0x2012; public static final int WPIXEL_TYPE_ARB = 0x2013; public static final int WCOLOR_BITS_ARB = 0x2014; public static final int WRED_BITS_ARB = 0x2015; public static final int WRED_SHIFT_ARB = 0x2016; public static final int WGREEN_BITS_ARB = 0x2017; public static final int WGREEN_SHIFT_ARB = 0x2018; public static final int WBLUE_BITS_ARB = 0x2019; public static final int WBLUE_SHIFT_ARB = 0x201A; public static final int WALPHA_BITS_ARB = 0x201B; public static final int WALPHA_SHIFT_ARB = 0x201C; public static final int WACCUM_BITS_ARB = 0x201D; public static final int WACCUM_RED_BITS_ARB = 0x201E; public static final int WACCUM_GREEN_BITS_ARB = 0x201F; public static final int WACCUM_BLUE_BITS_ARB = 0x2020; public static final int WACCUM_ALPHA_BITS_ARB = 0x2021; public static final int WDEPTH_BITS_ARB = 0x2022; public static final int WSTENCIL_BITS_ARB = 0x2023; public static final int WAUX_BUFFERS_ARB = 0x2024; public static final int WNO_ACCELERATION_ARB = 0x2025; public static final int WGENERIC_ACCELERATION_ARB = 0x2026; public static final int WFULL_ACCELERATION_ARB = 0x2027; public static final int WSWAP_EXCHANGE_ARB = 0x2028; public static final int WSWAP_COPY_ARB = 0x2029; public static final int WSWAP_UNDEFINED_ARB = 0x202A; public static final int WTYPE_RGBA_ARB = 0x202B; public static final int WTYPE_COLORINDEX_ARB = 0x202C; } --- NEW FILE: WGLMultisample.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLMultisample.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:10:06 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLMultisample { public static final int WSAMPLE_BUFFERS_ARB = 0x2041; public static final int WSAMPLES_ARB = 0x2042; } --- NEW FILE: WGLRenderTexture.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLRenderTexture.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:08:41 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLRenderTexture { public static final int WBIND_TO_TEXTURE_RGB_ARB = 0x2070; public static final int WBIND_TO_TEXTURE_RGBA_ARB = 0x2071; public static final int WTEXTURE_FORMAT_ARB = 0x2072; public static final int WTEXTURE_TARGET_ARB = 0x2073; public static final int WMIPMAP_TEXTURE_ARB = 0x2074; public static final int WTEXTURE_RGB_ARB = 0x2075; public static final int WTEXTURE_RGBA_ARB = 0x2076; public static final int WNO_TEXTURE_ARB = 0x2077; public static final int WTEXTURE_CUBE_MAP_ARB = 0x2078; public static final int WTEXTURE_1D_ARB = 0x2079; public static final int WTEXTURE_2D_ARB = 0x207A; public static final int WMIPMAP_LEVEL_ARB = 0x207B; public static final int WCUBE_MAP_FACE_ARB = 0x207C; public static final int WTEXTURE_CUBE_MAP_POSITIVE_X_ARB = 0x207D; public static final int WTEXTURE_CUBE_MAP_NEGATIVE_X_ARB = 0x207E; public static final int WTEXTURE_CUBE_MAP_POSITIVE_Y_ARB = 0x207F; public static final int WTEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = 0x2080; public static final int WTEXTURE_CUBE_MAP_POSITIVE_Z_ARB = 0x2081; public static final int WTEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = 0x2082; public static final int WFRONT_LEFT_ARB = 0x2083; public static final int WFRONT_RIGHT_ARB = 0x2084; public static final int WBACK_LEFT_ARB = 0x2085; public static final int WBACK_RIGHT_ARB = 0x2086; public static final int WAUX0_ARB = 0x2087; public static final int WAUX1_ARB = 0x2088; public static final int WAUX2_ARB = 0x2089; public static final int WAUX3_ARB = 0x208A; public static final int WAUX4_ARB = 0x208B; public static final int WAUX5_ARB = 0x208C; public static final int WAUX6_ARB = 0x208D; public static final int WAUX7_ARB = 0x208E; public static final int WAUX8_ARB = 0x208F; public static final int WAUX9_ARB = 0x2090; } --- NEW FILE: WGLBufferRegion.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLBufferRegion.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:06:10 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLBufferRegion { public static final int WFRONT_COLOR_BUFFER_BIT_ARB = 0x00000001; public static final int WBACK_COLOR_BUFFER_BIT_ARB = 0x00000002; public static final int WDEPTH_BUFFER_BIT_ARB = 0x00000004; public static final int WSTENCIL_BUFFER_BIT_ARB = 0x00000008; } --- NEW FILE: WGLMakeCurrentRead.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLMakeCurrentRead.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:09:29 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLMakeCurrentRead { public static final int ERROR_INVALID_PIXEL_TYPE_ARB = 0x2043; public static final int ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = 0x2054; } --- NEW FILE: WGLPBuffer.java --- CVS Browser: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/java-game-lib/LWJGL/src/java/org/lwjgl/opengl/wgl/WGLPBuffer.java /* * Copyright (c) 2002 Light Weight Java Game Library Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are * met: * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * * Neither the name of 'Light Weight Java Game Library' nor the names of * its contributors may be used to endorse or promote products derived * from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ /* * Created by IntelliJ IDEA. * User: nj * Date: 12-08-2002 * Time: 16:06:59 * To change template for new interface use * Code Style | Class Templates options (Tools | IDE Options). */ package org.lwjgl.opengl.wgl; public interface WGLPBuffer { public static final int WDRAW_TO_PBUFFER_ARB = 0x202D; public static final int WMAX_PBUFFER_PIXELS_ARB = 0x202E; public static final int WMAX_PBUFFER_WIDTH_ARB = 0x202F; public static final int WMAX_PBUFFER_HEIGHT_ARB = 0x2030; public static final int WPBUFFER_LARGEST_ARB = 0x2033; public static final int WPBUFFER_WIDTH_ARB = 0x2034; public static final int WPBUFFER_HEIGHT_ARB = 0x2035; public static final int WPBUFFER_LOST_ARB = 0x2036; } |