[OpenJDK 2D-Dev] request for review: JDK-7082809 : xrender artifacts caused by different interpretation of SRC operator
andrew.brygin at oracle.com
Fri Oct 18 10:06:54 UTC 2013
a copyright header is missed in the new file XRSolidSrcPict.java.
Could you please add it?
On 10/18/2013 12:21 PM, Clemens Eisserer wrote:
> Please review my fix for bug "JDK-7082809 : xrender artifacts caused
> by different interpretation of SRC operator" located at:
> A manual test-case is available at:
> Problem description:
> There are a few differences between the composition operators of
> Java2D and xrender.
> One difference is e.g. that for SRC the destination is never read
> inside the composition rectangle, which affects MaskFills and text
> rendering (where the glyph geometry is stored inside small
> The xrender pipeline ignored most of those differences for now and
> focussed on correctness and performance with SRC_OVER.
> Beside 7082809, this patch also fixes the "TranTest2" and
> "AlphaCompositeTest" JCK tests as well as a issue with older versions
> of IntelliJ.
> Fix description:
> This patch tries to correct this sloppiness by either falling back to
> software-loops for uncommon operations which haven't been implemented
> in a correct way, or to implement work-arrounds for common-cases which
> do not map 1:1 to xrender.
> Thanks, Clemens
More information about the 2d-dev