maemo.org Bugzilla – Full Text Bug Listing |
Summary: | maemo-launcher gtk booster broken with gtk+ 2.10 | ||
---|---|---|---|
Product: | [Maemo Official Platform] System software | Reporter: | Tommi Komulainen <tommi.komulainen> |
Component: | maemo-launcher | Assignee: | Guillem Jover <guillem> |
Status: | CLOSED FIXED | QA Contact: | maemo-launcher-bugs |
Severity: | normal | ||
Priority: | High | CC: | jhs, matt.hoosier, mitch, murrayc |
Version: | unspecified | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | Maemo | ||
Attachments: |
diff against maemo-launcher gtk-booster
Improved version of the patch Patch to support gtk 2.10 and to init cairo Clean version of the patch Yet a better patch |
Created an attachment (id=250) [details] diff against maemo-launcher gtk-booster Here is also a diff against the stock maemo gtk-booster. Everything touching the GtkDisplay and Xft has been removed.
Created an attachment (id=253) [details] Improved version of the patch The old patch was broken somehow, this one is now clean against svn and contains some stubs for cairo initialisation but that does not work yet.
Created an attachment (id=255) [details] Patch to support gtk 2.10 and to init cairo This patch adds a correct (or at least for me working) method to preinit cairo. It speeds up my test case ("Hello World" from the Gtk+ Tutorial") by 50%. The problem is that I assume that it does not work if the default font is different to "Sans 10", so maybe someone finds a solution to detect the default font without opening a display. Of course, if you think it is okay to open/close a display within preinit it is also possible to autodetect the font.
Created an attachment (id=256) [details] Clean version of the patch Sorry, for the license confusion!
Created an attachment (id=257) [details] Yet a better patch After some more testing I found out that I do not need to load a special font at all for the speed-up which makes the patch a lot simpler.