Bug 275

Summary: Rendering bugs in TextRenderer
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
URL: http://www.javagaming.org/forums/index.php?topic=15937.0
Type: DEFECT SCM Refs:
Workaround: ---
Attachments: Test case

Description Sven Gothel 2010-03-24 07:50:06 CET


---- Reported by kbr 2007-02-21 17:14:34 ----

User chrtom on the javagaming.org forums has pointed out crashes and rendering
bugs with the TextRenderer under certain circumstances. The attached test case
demonstrates the problem. It uses a TextRenderer for exactly one rendering
operation, and as soon as the text is too large to fit in the initial backing
store the rendered text starts showing up as a solid rectangle.



---- Additional Comments From kbr 2007-02-21 17:19:45 ----

Created an attachment
Test case




---- Additional Comments From kbr 2007-02-21 17:26:19 ----

Fixed problem where during resizing of backing store for TextRenderer we were
neglecting to unbind the old texture and bind the new one. This caused attempts
to render with an invalid texture, which was probably the cause of crashes and
definitely the cause of rendering artifacts. Fixed by calling endRendering() /
beginRendering() appropriately on the underlying TextureRenderer during resizing
of the backing store of the TextRenderer.




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

This bug was previously known as _bug_ 275 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=275
Imported an attachment (id=92)

The original submitter of attachment 92 [details] is unknown.
   Reassigning to the person who moved it here: sgothel@jausoft.com.