hg: openjfx/8/graphics/rt: 2 new changesets

hang.vo at oracle.com hang.vo at oracle.com
Thu Aug 29 15:03:17 PDT 2013


Changeset: 4cf6e02ce489
Author:    rbair
Date:      2013-08-29 14:45 -0700
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/4cf6e02ce489

RT-32589: Add better diagnostic and debug tools for dirty regions, culling, and overdraw
Reviewed-By: Steve Northover, Martin Sladecek

Added a new dirty bit for debug information that needs to be sent down. Also completely changed the way we draw in ViewPainter, specifically when dirty regions are used and even more specifically when show dirty and show overdraw are turned on. Added some new prism settings for showing overdraw, and printing the render graph to the pulse logger. Also replaced the drawCullBits to instead draw overdraw boxes. You can get a better sense of cull bits by looking at the output of the render graph being printed to the pulse logger.

! modules/graphics/src/main/java/com/sun/javafx/scene/DirtyBits.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGGroup.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGNode.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGRegion.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NGShape3D.java
! modules/graphics/src/main/java/com/sun/javafx/sg/prism/NodePath.java
! modules/graphics/src/main/java/com/sun/javafx/tk/quantum/ViewPainter.java
! modules/graphics/src/main/java/com/sun/prism/Graphics.java
! modules/graphics/src/main/java/com/sun/prism/impl/BaseGraphics.java
! modules/graphics/src/main/java/com/sun/prism/impl/PrismSettings.java
! modules/graphics/src/main/java/com/sun/prism/j2d/J2DPrismGraphics.java
! modules/graphics/src/main/java/com/sun/prism/sw/SWGraphics.java
! modules/graphics/src/main/java/javafx/scene/Node.java
! modules/graphics/src/test/java/com/sun/javafx/sg/prism/OcclusionCullingTest.java
! modules/graphics/src/test/java/com/sun/javafx/sg/prism/RenderRootTest.java

Changeset: d7de1fc065a0
Author:    rbair
Date:      2013-08-29 14:57 -0700
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/d7de1fc065a0

Added Hello app for showing overdraw.

+ apps/toys/Hello/src/main/java/hello/HelloOverdraw.java



More information about the openjfx-dev mailing list