[OpenJDK 2D-Dev] Merging marlin & pisces rendering engines

Clemens Eisserer linuxhippy at gmail.com
Thu May 29 09:22:29 UTC 2014


I would like to add that, beside higher performance for rasterization,
Marlin's capability to produce tiles larger than 32x32px also improves
the performance with the XRender pipeline für larger antialiased
shapes a lot.
For modern drivers uploading 32x32 small coverage masks is more
expensive than uploading the additional "empty" areas caused by larger

Marlin could help to improve the XRender pipeline's weakest spot - in
this case the results of the diagonal line (worst case for larger
coverage masks) test of J2Bench are shown:

mask256: 3202.226720 (var=33.64%) (100.0%)
mask32: 477.4535809 (var=3.01%) (14.91%)
stock: 479.0772966 (var=5.82%) (14.96%)

At least on this machine the optimal mask size is somewhere between
64^2 and 128^2 pixels.

Regards, Clemens

More information about the 2d-dev mailing list