JDK-6679840 : provide a way to choose v-synced BufferStrategy
Type:Bug
Component:client-libs
Sub-Component:javax.swing
Affected Version:7
Priority:P3
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2008-03-25
Updated:2011-05-18
Resolved:2011-05-18
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.
We need to provide a way to choose v-synced BufferStrategy enabled by the fix for 6678218 [D3D: provide a way to create a v-synced BufferStrategy]
This is required for smooth animation for FX.
Comments
EVALUATION
We want to mark top level components with vsynced requested bit and
then create vsynced BufferStrategy for them in BufferStrategyPaintManager.
Two things to note here:
First swing does not always use BufferStrategyPaintManager.
Second java2d can not guarantee vsynced BufferStrategy even if we request one.
That means that even if vsynced painting is requested for a top level
we might not get one.