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

Clemens Eisserer linuxhippy at gmail.com
Fri Jul 25 18:40:34 UTC 2008


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



More information about the 2d-dev mailing list