hg: openjfx/8/graphics/rt: Fix for RT-25178: Background of controls becomes black after waking from sleep

hang.vo at oracle.com hang.vo at oracle.com
Wed Dec 19 15:03:19 PST 2012


Changeset: e96046ceeeca
Author:    Richard Bair <richard.bair at oracle.com>
Date:      2012-12-19 14:49 -0800
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/e96046ceeeca

Fix for RT-25178: Background of controls becomes black after waking from sleep

Specifically this is a bug on windows due to images who's backing surface is lost (XP and Vista, or when D3DEx9 is disabled). The RegionImageCache takes care of making sure images are only returned for the right Screen, and that images who's surface is lost are thrown away. I also added PulseLogger instrumentation to know how often that happens, and how often we are creating new images and reusing images.

! javafx-sg-prism/src/com/sun/javafx/sg/prism/NGRegion.java
! javafx-sg-prism/src/com/sun/javafx/sg/prism/RegionImageCache.java



More information about the openjfx-dev mailing list