United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6681745 OGL: provide a way to create a v-synced BufferStrategy with COPIED flip contents
JDK-6681745 : OGL: provide a way to create a v-synced BufferStrategy with COPIED flip contents

Details
Type:
Bug
Submit Date:
2008-03-28
Status:
Closed
Updated Date:
2010-10-14
Project Name:
JDK
Resolved Date:
2008-05-19
Component:
client-libs
OS:
generic
Sub-Component:
2d
CPU:
generic
Priority:
P3
Resolution:
Fixed
Affected Versions:
6u10
Fixed Versions:
6u10 (b22)

Related Reports
Relates:
Relates:

Sub Tasks

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
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.
                                     
2008-03-28
SUGGESTED FIX

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



Hardware and Software, Engineered to Work Together