JDK-6681745 : OGL: provide a way to create a v-synced BufferStrategy with COPIED flip contents
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2008-03-28
  • Updated: 2010-10-14
  • Resolved: 2008-05-19
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 :  
Description
We need to provide a way to create v-synch-ed buffer strategy with
COPIED flip contents. All flipping BufferStategies in ogl are vsync-ed
but there's no way to have a persistent back buffer as required
by Swing.


This is important for Scenario and animation support.

This is the OGL counterpart of this bug: 6678218

Comments
SUGGESTED FIX http://sa.sfbay.sun.com/projects/java2d_data/6u10/6681745.1
21-04-2008

EVALUATION Java2D will provide a way to create v-synch-ed flipping buffer strategies with COPIED flip contents when the ogl pipeline is enabled. All flipping BufferStrategies are v-synced in opengl, but we need to provide a persistent back buffer as required by Swing rendering model. To achieve that we'll have an offscreen buffer which will serve as back-buffer to the buffer strategy (so all rendering will go that buffer), but when the BS is showed it will be first copied to a real back-buffer, which will then be flipped, providing v-synced flip.
28-03-2008