You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Marc Doerflinger <ma...@diligent-it.com> on 2007/05/30 15:47:21 UTC

flickering in JSVGCanvas

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello everybody!

im using a JSVGCanvas embedded inside a SWT Container. the jsvgcanvas
state is set to ALWAYS_DYNAMIC  since i update some svg components via
dom to move them around in the picture. when i move them fast (input via
mouselisteners), im getting bad flickering in the svgcanvs around the
moved object, also sometimes the update just stops and the picture
update seems to hang. im using jdk 1.6.01 and 1.5.11.
enabling double buffering does not help at all, the result is unchanged.
what else could i do to improve the performance?

thanks,
marc doerflinger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXYBp6mRZxtk0FrcRAp19AJ9tBlzw8gKmqg3nuMOD/hm7gsOaSwCggC6D
sBb9SPpyOEhIaH8DXfxtdvk=
=tRkL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: flickering in JSVGCanvas

Posted by Marc Doerflinger <ma...@diligent-it.com>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

how do i do that? do you have any tutorials or examples for that?

marc

Paul L. Bogen wrote:
> I've known people who have had similar issues in Java2D and manually
> implemented an additional buffer (triple buffering) to solve the
> problem.
> plb 
> 
> -----Original Message-----
> From: Marc Doerflinger [mailto:marc.doerflinger@diligent-it.com] 
> Sent: Wednesday, May 30, 2007 8:47 AM
> To: batik-users@xmlgraphics.apache.org
> Subject: flickering in JSVGCanvas
> 
> hello everybody!
> 
> im using a JSVGCanvas embedded inside a SWT Container. the jsvgcanvas
> state is set to ALWAYS_DYNAMIC  since i update some svg components via
> dom to move them around in the picture. when i move them fast (input via
> mouselisteners), im getting bad flickering in the svgcanvs around the
> moved object, also sometimes the update just stops and the picture
> update seems to hang. im using jdk 1.6.01 and 1.5.11.
> enabling double buffering does not help at all, the result is unchanged.
> what else could i do to improve the performance?
> 
> thanks,
> marc doerflinger

- ---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


- ---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXn556mRZxtk0FrcRArUXAJ9+LE4iptbd3E5YAY+DbPDl5N2Y0ACfY+yC
lifnnA5MHlWqZuEl/qm6X0Q=
=I8j0
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


RE: flickering in JSVGCanvas

Posted by "Paul L. Bogen" <pl...@kbsi.com>.
I've known people who have had similar issues in Java2D and manually
implemented an additional buffer (triple buffering) to solve the
problem.
plb 

-----Original Message-----
From: Marc Doerflinger [mailto:marc.doerflinger@diligent-it.com] 
Sent: Wednesday, May 30, 2007 8:47 AM
To: batik-users@xmlgraphics.apache.org
Subject: flickering in JSVGCanvas

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello everybody!

im using a JSVGCanvas embedded inside a SWT Container. the jsvgcanvas
state is set to ALWAYS_DYNAMIC  since i update some svg components via
dom to move them around in the picture. when i move them fast (input via
mouselisteners), im getting bad flickering in the svgcanvs around the
moved object, also sometimes the update just stops and the picture
update seems to hang. im using jdk 1.6.01 and 1.5.11.
enabling double buffering does not help at all, the result is unchanged.
what else could i do to improve the performance?

thanks,
marc doerflinger
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXYBp6mRZxtk0FrcRAp19AJ9tBlzw8gKmqg3nuMOD/hm7gsOaSwCggC6D
sBb9SPpyOEhIaH8DXfxtdvk=
=tRkL
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: flickering in JSVGCanvas

Posted by th...@kodak.com.
Hi Marc,

Marc Doerflinger <ma...@diligent-it.com> wrote on 05/30/2007 
09:47:21 AM:

> im using a JSVGCanvas embedded inside a SWT Container. the jsvgcanvas
> state is set to ALWAYS_DYNAMIC  since i update some svg components via
> dom to move them around in the picture. when i move them fast (input via
> mouselisteners), im getting bad flickering in the svgcanvs around the
> moved object, also sometimes the update just stops and the picture
> update seems to hang. im using jdk 1.6.01 and 1.5.11.
> enabling double buffering does not help at all, the result is unchanged.
> what else could i do to improve the performance?

   Stop using SWT?  Since this never happens with Swing/AWT I suspect it's
an issue with how SWT supports Swing.  Unfortunately I don't know anything
about SWT so I can't help much.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org