Re: [OpenJDK 2D-Dev] [9] Review request for 8163854 Add ToolkitImage.getImage() method which loads an image with schema variant

2016-09-21 Thread Jim Graham
I think this is a good point. The only gotcha would appear to be handling the ImageObserver notifications and the prepareImage() calls. The ImageObserver should get the variant's dimensions as one of the first notifications, though if they trigger an image load and then add an observer later,

Re: [OpenJDK 2D-Dev] [9] Review request for 8163854 Add ToolkitImage.getImage() method which loads an image with schema variant

2016-09-21 Thread Philip Race
Hi, When the application is specifying the set of images from which to build the MRI you ask the app to specify a "schema" (probably not the right name given that it is per-file), and a floating point scale. I don't see why we need to ask the app to name the files in accordance with our schema