Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 5008032
Votes 0
Synopsis OGL: clean up function loading code
Category java:classes_2d
Reported Against tiger-beta2
Release Fixed 1.5(tiger-b45)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs 5008045
Submit Date 04-MAR-2004
Description
There are a number of problems with the current OGL function loading code.  We
dynamically load all necessary function symbols from libGL.so at startup, but
the code that performs this operation is rather verbose (it was autogenerated
originally, but since then it has been updated manually, which is error prone).
We can use macros to help simplify the function declarations and
initializations.  This code currently sits in the GLXFuncs.c file, but we could
easily reorganize this code to sit in a shared OGLFuncs.c file, so that it
will be easier to add the WGL pipeline.

Also, there are a number of (related) minor porting issues that should be
cleaned up as well with this fix, so that the current shared OGL native code
builds properly on Windows.  Mostly this involves adding a few explicit casts
in some places so that the Windows compiler doesn't complain.
Work Around
N/A
Evaluation
Fix as described.  This code should be changed in parallel with work on the
new WGL pipeline, to ensure that these changes work well with WGL.  Once this
has been verified, we can putback these fixes and finish work on the WGL
pipeline.
  xxxxx@xxxxx   2004-03-04
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang