JDK-8097739 : enable discard of D3D ZBuffer values after Present might increase performance
Type:Sub-task
Component:javafx
Sub-Component:graphics
Affected Version:fx2.1
Priority:P4
Status:Resolved
Resolution:Fixed
Submitted:2011-11-03
Updated:2015-06-12
Resolved:2011-11-28
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
after some investigations I found that this optimization will not affect performance in any measureble way
we will not be diong this
28-11-2011
after some mesurements, I have not found any performance changes with or without this flag :
The most z-buffer switch intensive task is RenderToImage test.
Bitmaptest
z-preserve : 51.80 FPS
z-discard: 51.65 FPS
RenderToImage test
z-preserve : 105.60 FPS
z-discard: 105,65 PFS
As a conclution I do not think this optimization is valuable.