Re: [OpenJDK 2D-Dev] [9] Review request for 8023794: [macosx] LCD Rendering hints seems not working without FRACTIONALMETRICS=ON

2015-03-25 Thread Chris Campbell
Hi Andrew, That's a good find re: pow(). In the comment at lines 277-283 I mentioned that there was only a scalar variant of pow(). I wonder if that was a limitation in some early version of GLSL I was using or perhaps some driver bug/restriction. According to all the docs I can find the v

Re: [OpenJDK 2D-Dev] Handling of premultication in the D3D & OGL pipelines

2013-10-02 Thread Chris Campbell
Hi guys, I haven't looked at the code in question in quite a while, but my recollection is that the OGL (and D3D) pipelines treated all surfaces -- including opaque ones -- as premultiplied because the OpenGL blend modes weren't flexible enough to replicate the equations used in our software lo

Re: [OpenJDK 2D-Dev] [8] Review request for 7181438: [OGL] Incorrect alpha used, during blit from SW to the texture.

2012-07-10 Thread Chris Campbell
removed and GL_ALPHA_BIAS > changed to 1.0f. > > I'll create additional CR to track changes from 7125723&7181438. > > 10.07.2012 03:16, Chris Campbell wrote: >> Hi Sergey, >> >>> Probably OGLBlitSwToTexture assumes that both of sw and textur

Re: [OpenJDK 2D-Dev] [8] Review request for 7181438: [OGL] Incorrect alpha used, during blit from SW to the texture.

2012-07-09 Thread Chris Campbell
> the same code, I'll get incorrect image, because of incorrect alpha in > OGLBlitSwToTexture. Probably OGLBlitSwToTexture assumes that both of sw and > texture should be opaque or non opaque. Not sure that this is correct. > > > 09.07.2012 21:40, Chris Campbell wrote: &g

Re: [OpenJDK 2D-Dev] [8] Review request for 7181438: [OGL] Incorrect alpha used, during blit from SW to the texture.

2012-07-09 Thread Chris Campbell
Hi Sergey, Do you happen to know the intent behind this original change from macosx-port? http://hg.openjdk.java.net/macosx-port/macosx-port/jdk/rev/50b8fef5df7d The commit message for that changeset didn't have much information; it just said: "Fixing AWT components painted over in white" Perha

Re: [OpenJDK 2D-Dev] OGLGraphicsConfig

2009-10-07 Thread Chris Campbell
It's package-private because it's only accessed within the sun.java2d.opengl package, and in general we strive to reduce the visibility of classes/interfaces. The concrete GLX/WGL implementations also live in that package, so there was no reason to make it public. There's probably no har

Re: [OpenJDK 2D-Dev] Status of com.sun.image.codec.jpeg

2008-08-14 Thread Chris Campbell
Hi Martin, The history (and fate) of those classes is documented here: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6527962 Chris On Aug 14, 2008, at 9:32 AM, Martin Buchholz wrote: Hi 2d guys, We're testing different flavors of OpenJDK, and noticing uses of classes in com.sun.image.co

Re: [OpenJDK 2D-Dev] FINAL PROJECT: Portable GUI backends

2008-08-05 Thread Chris Campbell
On Aug 5, 2008, at 12:25 PM, Dmitri Trembovetski wrote: Hi Roman, Roman Kennke wrote: In your case it'd be a webrev between a repo with your changes vs jdk7 master (assuming your repo is synced with master so that the webrev doesn't show any changes other than ones you made). Actually

Re: [OpenJDK 2D-Dev] [OGL] validatePipe and antialiasing

2008-07-25 Thread Chris Campbell
Hi Clemens, The antialiased case is handled in super.validatePipe() (in the SurfaceData base class), which in turn calls getMaskFill(). We override getMaskFill() in OGLSurfaceData so that it calls OGLPaints.isValid() to determine whether the given paint can be accelerated in the antialia

Re: [OpenJDK 2D-Dev] Reporitory, Accalerating blits with EA

2008-07-15 Thread Chris Campbell
Hi Clemens, On Jul 15, 2008, at 3:28 PM, Clemens Eisserer wrote: Hi again, - The Xrender-pipeline now is almost able to run common swing applications, copyArea and some bugs are still waiting to be killed, but more or less it should work after. Its only the "hack" release where I tried all the

Re: [OpenJDK 2D-Dev] CFV: Doug Felt to Membership in the 2D group

2008-06-24 Thread Chris Campbell
Vote: yes On Jun 24, 2008, at 11:53 AM, Phil Race wrote: I hereby nominate Doug Felt as a member of the OpenJDK 2D group. Doug has made significant contributions to the Java 2D text APIs and their implementation starting in 1997 and in every release from JDK 1.2 up to and including JDK 6. As

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

2008-05-30 Thread Chris Campbell
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 instead does the work itse

Re: [OpenJDK 2D-Dev] CFV: Project sponsorship: XRender Java2D Pipeline

2008-04-10 Thread Chris Campbell
Vote: yes Phil Race wrote: Question: Should the 2D Group sponsor the new XRender Java2D Pipeline Project? Please cast your vote by replying, publicly, to this message with either Vote: yes or Vote: no as the first line of the message body. You may, at your option, indicate the reason for

Re: [OpenJDK 2D-Dev] Thread-Private RenderBuffers for RenderQueue?

2008-03-24 Thread Chris Campbell
On Mar 24, 2008, at 2:44 PM, Dmitri Trembovetski wrote: Hi Clemens. Clemens Eisserer wrote: Hello, Since most applications do render from one thread (either the Event Queue like Swing apps, or some kind of dedicated rendering thread like games), the lock is indeed very fast, given bi

Re: [OpenJDK 2D-Dev] OpenJDK: SIMD and 3DNOW

2007-08-24 Thread Chris Campbell
Alexander, The HotSpot VM takes advantage of SIMD instruction sets (e.g. VIS on SPARC processors, MMX/SSE2 on Intel/AMD processors) to accelerate certain common calls, such as various methods in the java.lang.Math class for example. Also, Java2D takes advantage of SIMD instructions in ce