[OpenJDK 2D-Dev] How to fall back to a software-primitive manually?

Clemens Eisserer linuxhippy at gmail.com
Sat Sep 28 16:26:23 UTC 2013


There are some cases in the xrender pipeline which can only be
accelerated under certain conditions, for example XRPMTransformedBlit
will not work correctly with composite-operator=SRC.
For text-rendering or maskfill I can control wether to fallback in
validatePipe, however blits are registered at GraphicsPrimitiveMgr and
there is no way I can specify condistions.
When I try to call the super-method
sun.java2d.loops.TransformBlit.Transform(...) an UnsatisfiedLinkError
is thrown.

What is the proper way of falling back to the software-implementation
of TransformedBlit that late in the pipeline?

Thank you in advance, Clemens

More information about the 2d-dev mailing list