[OpenJDK 2D-Dev] Rotation per-pixel accuracy

2008-06-05 Thread Clemens Eisserer
Hi, The last two days I worked on text-rendering, and although major parts are missing (caching, optimizations, ...), it works already for no-AA and grayscale-AA'ed glyphs (I will look at subpixel-rgb later, frightens me somehow ;) ). I was able to solve the problem with the corrupted

Re: [OpenJDK 2D-Dev] Why does the OpenGL pipeline not use setupBlitVector?

2008-06-05 Thread Jim Graham
This is often a problem that can happen if you don't have a prototype for the function. The default passing semantics for floating point is to pass them as doubles unless there is a prototype that says that they are floats. Did you get the prototype correct, and did you make sure it was

Re: [OpenJDK 2D-Dev] Why does the OpenGL pipeline not use setupBlitVector?

2008-06-05 Thread Clemens Eisserer
Hi Jim, This is often a problem that can happen if you don't have a prototype for the function. The default passing semantics for floating point is to pass them as doubles unless there is a prototype that says that they are floats. Did you get the prototype correct, and did you make sure it

Re: [OpenJDK 2D-Dev] Rotation per-pixel accuracy

2008-06-05 Thread Clemens Eisserer
Hi again, Are there rules that rendering has to be per-pixel consistent, with what should I compare to see wether my implementation works correct? Sorry about the traffic ... it seems different rounding errors were the cause for the different results, the rotated text was drawn to the BI at the