Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000031 [Blender3D] User Interface major always 2010-01-26 16:01 2010-02-04 10:16
Reporter Yomgui View Status public  
Assigned To Yomgui
Priority normal Resolution fixed  
Status resolved   Product Version 2.50alpha0-test
Summary 0000031: Bad display of text in UI
Description he text display is trashed in User preference window(black blocks displayed instead). See the attached image (it's an image from 2.46 but the bug is again in 2.50 also!)
Additional Information
Tags No tags attached.
SVN changeset revision 112
Attached Files

- Relationships
has duplicate 0000032closedYomgui broken diplay of any fonts 
has duplicate 0000028closedYomgui No corekt display of text in splited windows 
child of 0000021closedYomgui Bad display of text in UI 

-  Notes
(0000065)
Yomgui (administrator)
2010-02-03 09:32

I found in the file source/blender/blenfont/intern/blf_glyph.c that we got some issues with drawing font textures in Alpha channel.
The texture is like cleaned between two system window!
(0000066)
Yomgui (administrator)
2010-02-04 10:16

Fixed!
Was a pb of how TGL context are created: textures are not shared between two GLContext, but Blender uses multi-window now and GHOST was coded in a way that each new window creates a new GLContext. So not possible to share the same font texture between! Blender doesn't handle this.

So now only one GLContext is created during the system startup of GHOST, then Blender uses ActivateDrawingContext on a window each time he needs to draw inside. I use this moment to reinitialise the shared GLcontext on this window, using GLAReinitializeContextWindowed().

But there is a side effect to this: all previous buffers are destroyed, so when one window get the context, others ones loose theirs back-buffers causing black area displayed when they obtain the context again. Obsiously this happens only with overlay refresh modes, not full. Solution for that should be found lated (need to open a bugtrack also).

- Issue History
Date Modified Username Field Change
2010-02-04 10:17 Yomgui Relationship added has duplicate 0000028
2010-02-04 10:17 Yomgui Relationship deleted related to 0000028
2010-02-04 10:16 Yomgui SVN changeset revision => 112
2010-02-04 10:16 Yomgui Note Added: 0000066
2010-02-04 10:16 Yomgui Status assigned => resolved
2010-02-04 10:16 Yomgui Fixed in Version => 2.50alpha0-test
2010-02-04 10:16 Yomgui Resolution open => fixed
2010-02-03 09:32 Yomgui Note Added: 0000065
2010-01-28 23:41 Yomgui Relationship added related to 0000028
2010-01-28 23:41 Yomgui Relationship deleted has duplicate 0000028
2010-01-28 23:40 Yomgui Relationship added has duplicate 0000028
2010-01-28 15:47 Yomgui Relationship added has duplicate 0000032
2010-01-26 16:01 Yomgui New Issue
2010-01-26 16:01 Yomgui Status new => assigned
2010-01-26 16:01 Yomgui Assigned To => Yomgui
2010-01-26 16:01 Yomgui Issue generated from 0000021
2010-01-26 16:01 Yomgui Relationship added child of 0000021


Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker