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] Why does the OpenGL pipeline not use setupBlitVector?

2008-06-03 Thread Clemens Eisserer
Hi again, I now inserted printf-statements to see the value of the parameters before and after passing them: In X11TextRenderer: numGlpyhs:10, usePositions:0, subpixPos:0, rgbOrder:0, lcdc:140, glypx:100.50, glyphy:400.50, Images: -1376605040, NULL In X11TextRenderer_md:

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

2008-06-02 Thread Clemens Eisserer
Hi Carl, You are right, I misunderstood the approach. As far as I understand now, I just have to adjust the width of the line-rectangle accoring to the pen-strcuture which is approproate for the choosen line-width, is this right? I'll read through the paper tomorrow. Thanks, Clemens You are

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

2008-05-30 Thread Phil Race
Chris Campbell wrote: Hi Clemens, On May 30, 2008, at 1:13 AM, Clemens Eisserer wrote: Hi, I've had a look at the doDrawGlyphList implementations of both the X11 and the OpenGL pipeline, however I have (as always) some questions: - Why does the OpenGL pipeline not use setupBlitVector, but

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

2008-05-30 Thread Dmitri Trembovetski
Phil Race wrote: I'm not sure at which level you (or rather XRender) are caching the glyphs. You can certainly cache the glyph images, as we do for OGL/D3D (see AccelGlyphCache.c), but I don't see how you could (or would want to) cache position information, etc. It makes sense to do the