Re: Canvas Clip performance

2016-02-05 Thread Elric Morgenstern
Hi Chien, Kevin, this is the result of verbose=true: Prism pipeline init order: d3d sw Using native-based Pisces rasterizer Using dirty region optimizations Not using texture mask for primitives Not forcing power of 2 sizes for textures Using hardware CLAMP_TO_ZERO mode Opting in for HiDPI pixel

Re: Canvas Clip performance

2016-02-05 Thread Chien Yang
It will be great if you can include in your bug report the following 2 piece of information: 1) Run your program with -Dprism.verbose=true. This will give us the graphics hardware information of your system. 2) Run your program with -Dprism.order=sw. This will force JavaFX to use its

Re: Canvas Clip performance

2016-02-05 Thread Elric Morgenstern
Ok. Maybe the problems I am experiencing now with JavaFX are the reason why D3D is not enabled for J2D? I think Intel Graphics are rather widespread among laptops, so I'm a bit surprised at the huge performance drop (from solid 60 FPS to 8 once I use a spherical clip shape). I'd think Intel

Re: Canvas Clip performance

2016-02-05 Thread Chien Yang
Hi Elric, Thanks for the extra information. This seems to rule out that the drop in performance might have to do with Intel HD: > D3D no clipping: very comfortable 60 FPS > D3D clipping: 10 FPS > Software no clipping: 30 FPS > Software clipping: 8 FPS It will still be useful to us if you

Re: Canvas Clip performance

2016-02-04 Thread Elric Morgenstern
I see. Interesting. Isn't there a switch to toggle it on JDK8? Assuming you are talking about JavaFX, right? Because you were referring to Java2D in your reply. On Thu, Feb 4, 2016 at 11:52 PM, Philip Race wrote: > Java 2D does not (generally) enable D3D on Intel. > We

Re: Canvas Clip performance

2016-02-04 Thread Philip Race
Java 2D does not (generally) enable D3D on Intel. We tried for JDK 8 but there were problems and it was disabled again in 8u40 I think. JDK 9 EA builds (currently) still have it enabled to help get some testing so if you are running an 8ux release you might want to switch to 9 to get a fairer

Re: Canvas Clip performance

2016-02-04 Thread Philip Race
On 2/4/16, 2:59 PM, Elric Morgenstern wrote: I see. Interesting. Isn't there a switch to toggle it on JDK8? There is no switch that can enable it if it is disabled by 'default'. Assuming you are talking about JavaFX, right? Because you were referring to Java2D in your reply. No I am