Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread Jason Wilkins
The drawing would be more efficient regardless of the underlying BLF rendering due to the batching. The text editor changes aren't really dependent on the other changes. My problem is that the text editor (text_draw.c) is starting to diverge in inconvenient ways. On Tue, Apr 2, 2013 at 9:11

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread Lockal S
Would it work with multicolumn characters which were recently added by http://projects.blender.org/tracker/index.php?func=detailaid=34373group_id=9atid=127? On Wed, Apr 3, 2013 at 11:34 AM, Jason Wilkins jason.a.wilk...@gmail.comwrote: The drawing would be more efficient regardless of the

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread Jason Wilkins
After digging into this problem a bit I got frustrated. The new blf_font_draw_mono code determines how much wide text is while drawing it, which isn't really compatible with batching up as much text as possible before drawing it. I guess I won't be able to sort this out in 45 minutes like I'd

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread Jason Wilkins
This is what I'm talking about. The multicolumn character feature modifies code that has a basic design flaw. I've fixed that flaw already, but it isn't in trunk. I'm trying to puzzle out how to fix it again, but I need to make sure I'm not stomping on any toes. On Wed, Apr 3, 2013 at 2:58

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread IRIE Shinsuke
Hi Jason, The multi-column character support is what I've implemented. If your change breaks something, I maybe can help you to fix it. Anyway, I'm not planning to change the text editor drastically in the near future. IRIE Shinsuke 13/04/03, Jason Wilkins wrote: This is what I'm talking

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-03 Thread Jason Wilkins
Great. I did manage to merge the two versions after a lot of thought. However, I need to spend some time refining and testing it before I commit any changes. On Wed, Apr 3, 2013 at 8:28 AM, IRIE Shinsuke irieshins...@yahoo.co.jpwrote: Hi Jason, The multi-column character support is what

[Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-02 Thread Jason Wilkins
During the last GSoC I made some modifications to the text editor so that it would batch text before drawing it instead of drawing on character at a time. (Since I was removing immediate mode calls from swiss-cheese, sending one character at a time as WAY too much overhead.) The recent changes

Re: [Bf-committers] Swiss Cheese Text Editor Refactor/Merge

2013-04-02 Thread Mitchell Stokes
Would this also include the more efficient BLF rendering? I'm guessing the text editor changes are dependent on that? I'd really love to see BLF getting away from glBegin/glEnd. On Tue, Apr 2, 2013 at 1:28 PM, Jason Wilkins jason.a.wilk...@gmail.comwrote: During the last GSoC I made some