-
Bug
-
Resolution: Fixed
-
P2
-
1.3.0, 1.4.0
-
beta3
-
x86, sparc
-
solaris_8, windows_2000
This can be reproduced easily if Canvas3D is place inside
a swing interface and all the swing interface is created
before java3d initialize the underyling native library.
There is no such problem under previous version of JDK
It indicate there is some conflict between the directx
swing implementation with Java3D.
Under J3D OGL version.
wglCreateContext Failed: The handle is invalid
wglMakeCurrent Failed: The handle is invalid
extensionStr == null
Under J3D using D3D 7.0
Fail to create back buffer - DDERR_INVALIDPARAMS
Under J3D using D3D 8.0
Nothing shown, no error message
-----------------
It is not always reproduce before, but I do find a case which can
be reproduced very time.
--------------------------
To reproduce
install Java3D from:
/net/java3d/export/java3d/builds/release/1.2.1_01/build/win32/release
Then
(1) cd /net/java3d/export/java3d/apps/jmvs
(2) java JMVS
At this time swing is initialize compeletely
(3)
Select File->Open, pdb/2bna.pdb
This will initialize the underlying Java3D library and
try to get the pixelFormat (for OGL) and fail.
- duplicates
-
JDK-4498246 JAWT_DrawingSurface lock/unlock() have memory leak and performance problem
-
- Closed
-