Bug 275 - Rendering bugs in TextRenderer
Summary: Rendering bugs in TextRenderer
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: http://www.javagaming.org/forums/inde...
Depends on:
Blocks:
 
Reported: 2007-02-21 05:14 CET by Sven Gothel
Modified: 2010-03-24 07:50 CET (History)
0 users

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


Attachments
Test case (4.73 KB, text/plain)
2007-02-21 17:19 CET, Sven Gothel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.