[OpenJDK 2D-Dev] X11 uniform scaled wide lines and dashed lines; STROKE_CONTROL in Pisces

Jim Graham james.graham at oracle.com
Fri Dec 10 23:16:36 UTC 2010


On 12/10/2010 8:27 AM, Denis Lila wrote:
> Hi Jim.
>
> Yes. The improvement shown by the bench marks is substantial.
>
>> Then this is great news!
>
> Indeed :-)

Woohoo!

>> How often do we end up needing getTCloseTo in practice?
>
> It depends on the ratios of the lengths of the sides of the control
> polygon. The closer they are to 1, the less we need it. I'm not sure
> how to answer more precisely - for that I would need a representative
> sample of curves drawn in practice.

I was thinking of, say, when applied to a circle.  Does that get by 
without needing getTCloseTo?

> However, I did run dashing and stroking benchmarks. Stroking shows
> 25% speedup (because of the refinements to the transform pipeline)
> and cubic dashing has improved by 80%. Of course, all this is useless
> if I've done something to make things look horrible, so I'm going to
> run the gfx tests again.

Good job!

			...jim



More information about the 2d-dev mailing list