Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001303 [Croquet] Jasmine minor always 06-02-05 22:04 08-18-05 18:34
Reporter schwa View Status public  
Assigned To
Priority normal Resolution fixed  
Status resolved  
Summary 0001303: copy of TPrimitive retains same glListID
Description Copies of TPrimitive retain the same glListID. A problem arises because the OpenGL's display list registry only knows that the original object uses that glListID, not the copy.

An example of a bug that could (and has) occurred:
- make a TCube in a space.
- make a duplicate of it
- delete the original
- wait a render cycle or two (so that OpenGL>>cleanup is called)
- make a TSphere in the space

If you're unlucky, the duplicate cube will start to render as a sphere. This can (has) happened when the newly created sphere ends up using the same glListID as the original and duplicate cubes.

Other unlucky scenarios include rendering with an invalid glListID. Results in this case are probably platform/driver dependent.
Additional Information
Attached Files  TPrimitive-postCopy.st [^] (244 bytes) 06-02-05 22:11

- Relationships

- Notes
(0001564 - 70 - 70 - 70 - 70 - 70 - 70)
schwa
06-02-05 22:12

The attached changeset (TPrimitive-postCopy.st) addresses the problem.
 
(0002410 - 106 - 106 - 106 - 106 - 106 - 106)
schwa
08-18-05 18:32

This was fixed by managing display lists like other OpenGL resources. See the update 0232DisplayListsEtc.
 
(0002412 - 105 - 105 - 105 - 105 - 105 - 105)
schwa
08-18-05 18:33

This was fixed by managing display lists like other OpenGL resources. See the update 0232DisplayListsEtc.
 

- Issue History
Date Modified Username Field Change
06-02-05 22:04 schwa New Issue
06-02-05 22:11 schwa File Added: TPrimitive-postCopy.st
06-02-05 22:12 schwa Note Added: 0001564
08-18-05 18:32 schwa Note Added: 0002410
08-18-05 18:32 schwa Status new => closed
08-18-05 18:33 schwa Status closed => resolved
08-18-05 18:33 schwa Resolution open => fixed
08-18-05 18:33 schwa Assigned To  => schwa
08-18-05 18:33 schwa Note Added: 0002412
08-18-05 18:34 schwa Assigned To schwa =>


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
46 total queries executed.
33 unique queries executed.
Powered by Mantis Bugtracker