[OpenJDK 2D-Dev] Initial implementation for batched AA-mask upload for xrender

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Mar 6 03:41:27 UTC 2018

Hi, Clemens.
On 21/02/2018 23:41, Clemens Eisserer wrote:
> It is still in prototype state with a few rough edges and a few
> corner-cases unimplemented (e.g. extra alpha with antialiasing),
> but should be able to run most workloads:
> https://sourceforge.net/p/xrender-deferred/code/ref/default/
> It is disabled by default, and can be enabled with -Dsun.java2d.xr.deferred=true
> Shm upload is enabled with deferred and can be disabled with:
> -Dsun.java2d.xr.shm=false
> What would be the best way forward?
> Would this have a chance to get into OpenJDK11 for platforms eith
> XCB-based Xlib implementations?
> Keeping in mind the dramatic performance increase,
> even outperforming the current OpenGL pipeline, I really hope so.

Thank you for contribution! If there is a chance to implement it soon(at 
an early test stage) then it is possible to push this to jdk11 and 
enable it by default to expose all possible issues. If no issues will be 
found, then we can release it as-is, otherwise we can disable it by 
default via property.

Best regards, Sergey.

More information about the 2d-dev mailing list