BTW, we don't want  full-screen mode application

At 2011-04-11 04:15:46,ximalaya <[email protected]> wrote:
Hi there,
We are implementing a swing application which is required to display images of 
moving object at about 30 fps(frames per second).  But now we are facing image 
tearing problem(parts of multiple frames displayed on the screen at the same 
time).  Does anyone know the solution to resolve it in Java?

We found there is already an opened bug 6378181 for this issue,  however it is 
still in state "Accepted". Can swing developers share the fix plan/dev roadmap 
for this bug?
http://bugs.sun.com/view_bug.do?bug_id=6378181

From the bug report,  it is said vsync is required to fix image tearing. Before 
6378181 is closed, at current stage, is there a way to support vsync?

We've tried JOGL(java over openGL, support vsync, GLCanvas is used), it can fix 
image tearing issue. Howerver, there is issues to mix lightweight(text as 
overlay on the image) and heavyweight(GLCanvas) components. Latest openJDK ! 
6/7 was used in our test.

See more information regarding tearing here,
http://en.wikipedia.org/wiki/Screen_tearing

Thanks and Best Regards,
Lin










Reply via email to