8u40 review request: RT-37793 performance problems in Canvas temp and clip buffers

Jim Graham james.graham at oracle.com
Thu Jul 10 22:43:55 UTC 2014

Hi Herve,

This particular bug has nothing to do with rectangular clipping, this is 
improving shape clipping instead.

Also, the fix involved actually isn't really any change to the clipping. 
  It just so happens that the clipping code in Canvas was the heaviest 
user of the code that clears the temp buffer (isolated to Canvas) that 
was not using the fastest clear method.

The node clipping code uses an entirely different implementation that 
relies on the Decora effect code which already does the clears in the 
optimal way...


On 7/10/14 12:34 PM, Hervé Girod wrote:
> Hello, I have a question about this (sorry if you explained it before): does rectangular clipping on regular Nodes has / had the same performance problems than with the Canvas?
> Hervé
> Sent from my iPhone
>> On Jul 10, 2014, at 21:19, Jim Graham <james.graham at oracle.com> wrote:
>> Jira: http://cr.openjdk.java.net/~flar/RT-37793/webrev.00/
>> webrev: http://cr.openjdk.java.net/~flar/RT-37793/webrev.00/
>>             ...jim

More information about the openjfx-dev mailing list