[OpenJDK 2D-Dev] How are transformations done and some other questions
Clemens Eisserer
linuxhippy at gmail.com
Mon May 19 09:21:30 UTC 2008
Sorry, seems I've mixed some things up.
After stepping through with a debugger things are much clearer now :)
Sorry for the traffic, lg Clemens
2008/5/16 Clemens Eisserer <linuxhippy at gmail.com>:
> Hello,
>
> 1.) I am currently investigating how AffineTransformations are done by
> Java2D, and for the X11 Pipeline it seems for anything but
> translations the PixelToShapeConverter is called and the general
> path/fill algorythmns are used.
> In the case of a simply Line, it is rotated and then sent to the
> X11Renderer which continues processing as nothing would have
> happended.
>
> Does the OpenGL pipeline work the same way?
> I saw that it registers some TransformBlits, so is the tranformation
> of everything exctept images handled by Java2D?
> I wonder because this would mean that for images I would have to
> adjust the context to rotate, but for everything else I would have to
> reset it.
> Seems I mess things somehow up :-/
>
> 2.) The X11-Pipeline does clipping itself (took me some time to
> understand why the validation code always passed without re-seting the
> current clip^^) for drawImage. Why was this done?
>
> Thanks, lg Clemens
>
More information about the 2d-dev
mailing list