Dienstag, 16. Dezember 2008

Almost Pure Java(2D)

The last few days I ported (almost) all the XRender specific C code to Java, and although there are still some bugs left (e.g. it deadlocks from time to time) it works quite well:


All the functionality/features of the C based pipeline have been ported, except text rendering which is a dirty hack for now because I would need some data only available in native data structures by now.
So all the rendering is now done without JNI calls, resulting in ultra-low per-primitive overhead :)

Once all the stuff is working I guess its time for another cleanup ... however without structural changes ;)

Kommentare:

Dmitri hat gesagt…

that is awesome!

Vinod Singh hat gesagt…

It will give a much desired performance boost to graphics heavy Java applications.

Linuxhippy hat gesagt…

> It will give a much desired performance boost
> to graphics heavy Java applications.
at least I hope so ;)

However, the pipeline is only as good as the software it depends on like xserver and drivers.