
EXT_packed_float
Posted Tuesday, 16 December, 2008 - 15:55 by Inertia| Project: | The Open Toolkit library |
| Version: | 0.9.x-dev |
| Component: | Code |
| Category: | task |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed |
Jump to:
http://www.opengl.org/registry/specs/EXT/packed_float.txt
Tokens:
Add to enums:
OpenTK.Graphics.PixelInternalFormat
OpenTK.Graphics.RenderbufferStorage
R11F_G11F_B10F_EXT 0x8C3A
Add to OpenTK.Graphics.PixelType
UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
Add to OpenTK.Graphics.GetPName
RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
----------------------------
WGL/GLX related:
Accepted as a value in the and
parameter arrays of wglChoosePixelFormatARB, and returned in the
parameter array of wglGetPixelFormatAttribivARB, and the
parameter array of wglGetPixelFormatAttribfvARB:
WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT 0x20A8
Accepted as values of the arguments in the
glXCreateNewContext and glXCreateContext functions
GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT 0x20B1
Returned by glXGetFBConfigAttrib (when is set to
GLX_RENDER_TYPE) and accepted by the parameter of
glXChooseFBConfig (following the GLX_RENDER_TYPE token):
GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT 0x00000008


Comments
#1
Added the GL tokens. Did not add RGBA_SIGNED_COMPONENTS (can't find it in the official spec).
WGL/GLX additions in progress.
#2