[OpenJDK 2D-Dev] [9] request for review: 8036022: D3D: rendering with XOR composite causes InternalError.

Andrew Brygin andrew.brygin at oracle.com
Thu Mar 13 11:54:04 UTC 2014


could you please review a fix for CR 8036022?

Bug: http://bugs.sun.com/view_bug.do?bug_id=8036022
Webrev: http://cr.openjdk.java.net/~bae/8036022/9/webrev.00/

In case of XOR composite, rendering pipeline falls back from
d3d to gdi. However, gdi surface data does not re-set rendering
loops during validation, that leads to usage of the software
loops (due to dst type mismatch), and results in observed internal

Suggested fix forces the re-set of the rendering loops,
at least for the case of XOR composite.
This change does not trigger any existing regression test.

Supplied regression test demonstrates the problem.

Please take a look.


More information about the 2d-dev mailing list