[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    [OpenJDK 2D-Dev] [OGL] validatePipe and antialiasing
From:       linuxhippy () gmail ! com (Clemens Eisserer)
Date:       2008-07-25 18:40:34
Message-ID: 194f62550807251140p6ca73ad2uf1ce05b3ff576b05 () mail ! gmail ! com
[Download RAW message or body]

Hi Chris,

> 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 antialiased case.  If the paint
> can't be accelerated by OGL, we return null to indicate that validatePipe()
> should use a more general/slower path for rendering the paint via MaskBlit.
Ah yes there it is. Somehow I overlooked that.

>  Does this help?
Yes, thanks a lot - it works now as intended :)

Thanks a lot, Clemens


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic