JDK-6678218 : D3D: provide a way to create a v-synced BufferStrategy
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2008-03-20
  • Updated: 2010-10-14
  • Resolved: 2008-04-12
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.

To download the current JDK release, click here.
JDK 6
6u10 b22Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
We need to provide a way to create v-synch-ed buffer strategies. 
This is important for Scenario and animation support.

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/6u10/6678218.1
25-03-2008

EVALUATION Java2D will provide a way to create v-synch-ed buffer strategies when the d3d pipeline is enabled. Note that since the D3D pipeline uses single thread rendering - meainng that all D3D-related activity happens on a single thread only one BufferStrategy in per vm instance can be made v-synced without undesireable effects. If there's more than one (say N) v-synced BSs then since their Present() calls will effectively be serialized (since they're running from a single thread) each BS will be able to flip only on every Nth vsync, resulting in decrease in perceived responsiveness. Additional work will be needed in Swing to use this internal API to create a v-synced swing back-buffer at Scenario's request, this will be tracked by a different bug.
20-03-2008