Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup and updated style of drOpenGL. Re-jigged things slightly unde…
…r win32. TODO: Under WIN32, OpenGL extension function pointers are only valid for the pixel format in effect for the rendering context (inherited from the device context) at the time of query. If we create additional windows and/or change the pixel format at any time the function ptrs must be re-acquired. This is the direct opposite of what happens under X11 where extension ptrs are pixel format independent. So under WIN32, we need to keep a set of ptrs for each rendering context and make sure we update when the rendering context changes, through wglMakeCurrent().
- Loading branch information
danij
committed
Jul 2, 2007
1 parent
87086b1
commit f4257ba
Showing
6 changed files
with
269 additions
and
438 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,70 @@ | ||
LIBRARY DROPENGL | ||
LIBRARY DROPENGL | ||
|
||
; All exports should be prefixed DG_. | ||
|
||
EXPORTS | ||
DG_Init | ||
DG_Shutdown | ||
DG_ChangeVideoMode | ||
DG_CreateContext | ||
DG_DestroyContext | ||
DG_Clear | ||
DG_Show | ||
DG_Viewport | ||
DG_Scissor | ||
DG_GetInteger | ||
DG_GetIntegerv | ||
DG_SetInteger | ||
DG_SetFloatv | ||
DG_GetString | ||
DG_Enable | ||
DG_Disable | ||
DG_EnableArrays | ||
DG_DisableArrays | ||
DG_Arrays | ||
DG_UnlockArrays | ||
DG_Func | ||
DG_NewTexture | ||
DG_DeleteTextures | ||
DG_TexImage | ||
DG_TexParameter | ||
DG_GetTexParameterv | ||
DG_Palette | ||
DG_Bind | ||
DG_MatrixMode | ||
DG_PushMatrix | ||
DG_PopMatrix | ||
DG_LoadIdentity | ||
DG_Translatef | ||
DG_Rotatef | ||
DG_Scalef | ||
DG_Ortho | ||
DG_Perspective | ||
DG_Color3ub | ||
DG_Color3ubv | ||
DG_Color4ub | ||
DG_Color4ubv | ||
DG_Color3f | ||
DG_Color3fv | ||
DG_Color4f | ||
DG_Color4fv | ||
DG_Begin | ||
DG_End | ||
DG_Vertex2f | ||
DG_Vertex2fv | ||
DG_Vertex3f | ||
DG_Vertex3fv | ||
DG_TexCoord2f | ||
DG_TexCoord2fv | ||
DG_MultiTexCoord2f | ||
DG_MultiTexCoord2fv | ||
DG_Vertices2ftv | ||
DG_Vertices3ftv | ||
DG_Vertices3fctv | ||
DG_ArrayElement | ||
DG_DrawElements | ||
DG_Grab | ||
DG_Fog | ||
DG_Fogv | ||
DG_Project | ||
DG_ReadPixels | ||
DG_Init | ||
DG_Shutdown | ||
DG_ChangeVideoMode | ||
DG_CreateContext | ||
DG_DestroyContext | ||
DG_Clear | ||
DG_Show | ||
DG_Viewport | ||
DG_Scissor | ||
DG_GetInteger | ||
DG_GetIntegerv | ||
DG_SetInteger | ||
DG_SetFloatv | ||
DG_GetString | ||
DG_Enable | ||
DG_Disable | ||
DG_EnableArrays | ||
DG_DisableArrays | ||
DG_Arrays | ||
DG_UnlockArrays | ||
DG_Func | ||
DG_NewTexture | ||
DG_DeleteTextures | ||
DG_TexImage | ||
DG_TexParameter | ||
DG_GetTexParameterv | ||
DG_Palette | ||
DG_Bind | ||
DG_MatrixMode | ||
DG_PushMatrix | ||
DG_PopMatrix | ||
DG_LoadIdentity | ||
DG_Translatef | ||
DG_Rotatef | ||
DG_Scalef | ||
DG_Ortho | ||
DG_Perspective | ||
DG_Color3ub | ||
DG_Color3ubv | ||
DG_Color4ub | ||
DG_Color4ubv | ||
DG_Color3f | ||
DG_Color3fv | ||
DG_Color4f | ||
DG_Color4fv | ||
DG_Begin | ||
DG_End | ||
DG_Vertex2f | ||
DG_Vertex2fv | ||
DG_Vertex3f | ||
DG_Vertex3fv | ||
DG_TexCoord2f | ||
DG_TexCoord2fv | ||
DG_MultiTexCoord2f | ||
DG_MultiTexCoord2fv | ||
DG_Vertices2ftv | ||
DG_Vertices3ftv | ||
DG_Vertices3fctv | ||
DG_ArrayElement | ||
DG_DrawElements | ||
DG_Grab | ||
DG_Fog | ||
DG_Fogv | ||
DG_Project | ||
; DG_ReadPixels |
Oops, something went wrong.