--- old/modules/graphics/src/main/java/com/sun/prism/impl/QueuedPixelSource.java 2016-04-05 16:33:56.000000000 -0700 +++ new/modules/graphics/src/main/java/com/sun/prism/impl/QueuedPixelSource.java 2016-04-05 16:33:56.000000000 -0700 @@ -113,10 +113,11 @@ * * @param w the width of the desired Pixels object * @param h the height of the desired Pixels object - * @param scale the scale of the desired Pixels object + * @param scalex the horizontal scale of the desired Pixels object + * @param scaley the vertical scale of the desired Pixels object * @return an unused {@code Pixels} object */ - public synchronized Pixels getUnusedPixels(int w, int h, float scale) { + public synchronized Pixels getUnusedPixels(int w, int h, float scalex, float scaley) { int i = 0; IntBuffer reuseBuffer = null; while (i < saved.size()) { @@ -132,7 +133,8 @@ } if (p.getWidthUnsafe() == w && p.getHeightUnsafe() == h && - p.getScaleUnsafe() == scale) + p.getScaleXUnsafe() == scalex && + p.getScaleYUnsafe() == scaley) { return p; } @@ -155,7 +157,7 @@ reuseBuffer = IntBuffer.allocate(bufsize); } } - Pixels p = Application.GetApplication().createPixels(w, h, reuseBuffer, scale); + Pixels p = Application.GetApplication().createPixels(w, h, reuseBuffer, scalex, scaley); saved.add(new WeakReference<>(p)); return p; }