Bug 25 - Expose swapBuffers(), please
Summary: Expose swapBuffers(), please
Status: VERIFIED FIXED
Alias: None
Product: Jogl
Classification: JogAmp
Component: core (show other bugs)
Version: 1
Hardware: All all
: P3 normal
Assignee: Sven Gothel
URL:
: 38 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-07-18 08:57 CEST by Sven Gothel
Modified: 2016-03-08 09:44 CET (History)
1 user (show)

See Also:
Type: FEATURE
SCM Refs:
Workaround: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Gothel 2010-03-24 07:45:36 CET


---- Reported by raverboy 2003-07-18 08:57:40 ----

There's need for manually calling swapBuffers() for things like rendering progress 
bars while defining textures or building complex display lists.

As it is now, swapBuffers() is only called after all methods that can legally perform 
opengl calls has returned, which leads to fairly complex work arounds for this non-
issue.



---- Additional Comments From kbr 2004-04-08 12:01:04 ----

*** Issue 38 has been marked as a duplicate of this issue. ***



---- Additional Comments From kbr 2004-04-08 12:08:07 ----

This functionality has been added. The primary reason for doing so was not the
reason submitted, but because some applications need to draw the scene into the
back buffer without displaying it in order to implement picking functionality.
This was inconvenient or impossible to do without manual control over the
swapping of the front and back buffers.

The following three methods have been added to GLDrawable:
  public void setAutoSwapBufferMode(boolean onOrOff);
  public boolean getAutoSwapBufferMode();
  public void swapBuffers();

Tested with the ProceduralTexturePhysics demo. Currently there aren't any JOGL
demos checked in which illustrate the use of these APIs.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:45 EDT  ---

This bug was previously known as _bug_ 25 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=25

Unknown bug field "has_duplicates" encountered while moving bug
   <has_duplicates>
     <bug_id>38</bug_id>
     <who>kbr</who>
     <when>2004-04-08 12:01:04</when>
</has_duplicates>