[vtkusers] Re: VTK/Java/Swing - components flickering - direct draw problem?
Mathieu Malaterre
mathieu.malaterre at gmail.com
Mon Aug 6 04:55:52 EDT 2007
David,
Could you please take a minute to add that trick to the FAQ:
http://www.vtk.org/Wiki/VTK_FAQ
Thanks
-Mathieu
On 8/3/07, David Marshburn <marshbur at cs.unc.edu> wrote:
>
>
> ------------------------------
>
> > Date: Thu, 02 Aug 2007 13:21:01 -0700
> > From: Eran Guendelman <erang at stanford.edu>
> > Subject: [vtkusers] VTK/Java/Swing - components flickering - direct
> > draw problem?
> >
> > Sometimes our application gets into a state where our slider jumps back
> > and forth as we're dragging on it... essentially every redraw it
> > alternates from being under the mouse (where it should be) and in some
> > other random location (which seems to be a stale back buffer or
> > something).
> >
> > So I was just wondering, have other people experienced this? And is it
> > possible to fix this without requiring hardware acceleration to be
> > turned off for the whole computer?
>
>
> yes, we've seen this, too. you can use the following two command-line
> parameters to the jre to make the behavior stop:
>
> -Dsun.java2d.ddoffscreen=false -Dsun.java2d.gdiblit=false
>
> -david
>
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at: http://www.vtk.org/Wiki/VTK_FAQ
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
--
Mathieu
More information about the vtkusers
mailing list