Misc fixes

This commit is contained in:
Ioannis Tsakpinis 2005-02-15 19:26:21 +00:00
parent 2ddd363cad
commit 2a20c669a4
4 changed files with 31 additions and 11 deletions

View File

@ -107,8 +107,8 @@ public interface ARB_buffer_object {
* <p/>
* ByteBuffer mapped_buffer; mapped_buffer = glMapBufferARB(..., ..., ..., null); ... // Another map on the same buffer mapped_buffer = glMapBufferARB(..., ..., ..., mapped_buffer);
*
* @param size The size of the buffer area.
* @param oldBuffer A ByteBuffer. If this argument points to the same address as the new mapping, it will be returned and no new buffer will be created. In that case, size is ignored.
* @param result_size The size of the buffer area.
* @param old_buffer A ByteBuffer. If this argument points to the same address as the new mapping, it will be returned and no new buffer will be created. In that case, size is ignored.
*
* @return A ByteBuffer representing the mapped buffer memory.
*/

View File

@ -32,4 +32,17 @@
package org.lwjgl.opengl;
public interface HP_occlusion_test {
/**
* Accepted by the <cap> parameter of Enable, Disable, and IsEnabled, by
* the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and GetDoublev :
*/
int GL_OCCLUSION_TEST_HP = 0x8165;
/**
* Accepted by the <pname> of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev :
*/
int GL_OCCLUSION_TEST_RESULT_HP = 0x8166;
}

View File

@ -32,4 +32,11 @@
package org.lwjgl.opengl;
public interface IBM_rasterpos_clip {
/**
* Accepted by the <target> parameter of Enable and Disable and the <value>
* parameter of IsEnabled, GetBooleanv, GetIntegerv, GetFloatv, GetDoublev:
*/
int GL_RASTER_POSITION_UNCLIPPED_IBM = 103010;
}

View File

@ -67,19 +67,19 @@ public interface NV_float_buffer {
* wglGetPixelFormatAttribfvARB and in the <piAttribIList> and
* <pfAttribFList> arrays of wglChoosePixelFormatARB:
*/
int GL_WGL_FLOAT_COMPONENTS_NV = 0x20B0;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
int GL_WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
int WGL_FLOAT_COMPONENTS_NV = 0x20B0;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = 0x20B1;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = 0x20B2;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = 0x20B3;
int WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = 0x20B4;
/*
* Accepted in the <piAttribIList> array of wglCreatePbufferARB and returned
* in the <value> parameter of wglQueryPbufferARB when <iAttribute> is
* WGL_TEXTURE_FORMAT_ARB:
*/
int GL_WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
int GL_WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
int GL_WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
int GL_WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
int WGL_TEXTURE_FLOAT_R_NV = 0x20B5;
int WGL_TEXTURE_FLOAT_RG_NV = 0x20B6;
int WGL_TEXTURE_FLOAT_RGB_NV = 0x20B7;
int WGL_TEXTURE_FLOAT_RGBA_NV = 0x20B8;
}