Re: 8u40 review (and test) request for RT-37945: NPEs for Canvas apps on SW pipeline

2014-07-24 Thread David Hill

On 7/23/14, 7:12 PM, Jim Graham wrote:

webrev: http://cr.openjdk.java.net/~flar/RT-37945/webrev.00/
Jira: https://javafx-jira.kenai.com/browse/RT-37945

I tested with toys/CanvasTest/run-bitmap and run-vector modifying the build.xml to run 
them with the SW pipeline.  I also ran "gradle test" and it completed, but it 
wouldn't have run any tests under the SW pipeline by default.  Is there an easy way to 
test the SW pipeline without having to universally modify run-* script variables?

...jim

Jim,
  there is also:

export EXTRA_JFX_OPTS='-Dprism.order=sw'

This env var is added to the command line in jfxrun.
I put this in a while back because I needed global command line additions too.

Dave

--
David Hill
Java Embedded Development

"A man's feet should be planted in his country, but his eyes should survey the 
world."
-- George Santayana (1863 - 1952)



Re: 8u40 review (and test) request for RT-37945: NPEs for Canvas apps on SW pipeline

2014-07-23 Thread Kevin Rushforth

I'll review it shortly.

> Is there an easy way to test the SW pipeline without having to 
universally modify run-* script variables?


You can remove or rename prism-d3d.dll from both your JRE and your FX 
runtime so it won't find it and will fall back to SW. Or you can go into 
PrismSettings.java and change the "tryOrder" for your platform to remove 
"es2" or "d3d" as a default option.


-- Kevin


Jim Graham wrote:

webrev: http://cr.openjdk.java.net/~flar/RT-37945/webrev.00/
Jira: https://javafx-jira.kenai.com/browse/RT-37945

I tested with toys/CanvasTest/run-bitmap and run-vector modifying the 
build.xml to run them with the SW pipeline.  I also ran "gradle test" 
and it completed, but it wouldn't have run any tests under the SW 
pipeline by default.  Is there an easy way to test the SW pipeline 
without having to universally modify run-* script variables?


...jim