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

2008-06-02 Thread Dmitri Trembovetski
Hi Clemens, Clemens Eisserer wrote: 3.) I have an awkward problem: The strange thing is that the GetPrimitiveArrayCritical call crashes, but if I copy exactly the same call into the trampoline-function, Did you try to run it with -Xcheck:jni (preferably on a fastdebug build)? What does

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

2008-06-02 Thread Carl Worth
On Mon, 2 Jun 2008 23:04:51 +0200, "Clemens Eisserer" wrote: > 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? ... an

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 a

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

2008-06-02 Thread Carl Worth
On Mon, 2 Jun 2008 22:36:46 +0200, "Clemens Eisserer" wrote: > 2.) Currently I've implemented lines the same way as Cairo does > (generating three trapezoids), which gives the same result as with > XDrawLine when line_width is set to 1.0, it looks to some degree ugly > :-/ > I created some screensh

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

2008-06-02 Thread Clemens Eisserer
Hi Phil, Dmitri and Chris, Thank you very much for the detailed explanations, it made things much clearer for me. 1.) >The setupBlitVector() method does a bunch of JNI field fetches > from the native level, mallocs a GlyphBlitVector structure each time, fills >it by doing a JNI Get/ReleasePrimiti