Java-Gaming.org Java4K winners: [ by our judges | by the community ]         
Featured games (67)
games approved by the League of Dukes
Games in Showcase (∞)
games submitted by our members



News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  Print  
  What can be shared among GLDrawables(GL Contexts)?  (Read 344 times)
0 Members and 1 Guest are viewing this topic.
Offline guo

JGO n00b
*

Posts: 10


Java games rock!


« on: 2005-02-22 00:10:37 »

hi!
   I built a display list through GL.glGenLists() and tried to share it among a few GLCanvas, but failed.
   If sharing these things(display list, texture) can be accomplished, how?

Thanks!
Offline Ken Russell

JGO Kernel
*****

Posts: 3446
Medals: 3


Java games rock!


« Reply #1 on: 2005-02-22 14:42:12 »

You need to enable sharing between the GLCanvases at the time of their creation. The TestContextSharing demo in the jogl-demos workspace shows how to do this.
Pages: [1]
  Print  
 
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 21 queries.