-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0
-
Component/s: client-libs
-
b43
-
generic
-
generic
Run any demo application (SwingSet2, Notepad, Java2Demo, etc) with the
-Dsun.java2d.opengl=true system property. When XAWT is used (by default on
Linux), top-level windows can be resized and everything looks fine. When
MAWT is used (by default on Solaris), top-level windows do not repaint properly
when resized.
It appears that with XAWT, GLXSurfaceData objects are recreated when the
window is resized, which causes the OGLSDOps width/height fields to be
properly reinitialized. In the MAWT case, it looks like the GLXSurfaceData
object for the window is not recreated, and therefore the width/height fields
are not reinitialized.
-Dsun.java2d.opengl=true system property. When XAWT is used (by default on
Linux), top-level windows can be resized and everything looks fine. When
MAWT is used (by default on Solaris), top-level windows do not repaint properly
when resized.
It appears that with XAWT, GLXSurfaceData objects are recreated when the
window is resized, which causes the OGLSDOps width/height fields to be
properly reinitialized. In the MAWT case, it looks like the GLXSurfaceData
object for the window is not recreated, and therefore the width/height fields
are not reinitialized.