changeset 4670:18f4fc982d14 8.0-b103

RT-32313: SW Rendering broken for FXML-LoginDemo and Ensemble
author kcr
date Tue, 13 Aug 2013 12:38:50 -0700
parents ed8fb94e4c0d
children df6829bc1116 f1a56514c56d 326328b398fa 65d6afd00f90
files modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java	Tue Aug 13 09:35:57 2013 -0700
+++ b/modules/graphics/src/main/java/com/sun/scenario/effect/impl/ImagePool.java	Tue Aug 13 12:38:50 2013 -0700
@@ -150,8 +150,12 @@
                         chosenImage.unlock();
                     }
                     chosenEntry = entry;
-                    eimg.setContentWidth(w);
-                    eimg.setContentHeight(h);
+                    // The following calls to setContentWidth / setContentHeight
+                    // should be uncommented only after the rest of the imagepool
+                    // is fixed to handle a change in content size, and when both the
+                    // SW pipeline and J2D pipeline are able to handle the change.
+//                    eimg.setContentWidth(w);
+//                    eimg.setContentHeight(h);
                     chosenImage = eimg;
                     mindiff = diff;
                 }