summaryrefslogtreecommitdiff
path: root/render
AgeCommit message (Collapse)Author
2008-02-27set the right version in the new render and obt .pc filesDana Jansens
2008-02-27obrender uses obt now, there is no obparser anymoreDana Jansens
2008-02-22Merge branch 'backport' into workDana Jansens
Conflicts: openbox/menuframe.c openbox/prompt.c openbox/prop.c openbox/prop.h
2008-02-22Add theme options for menu line separators.Dana Jansens
Added: menu.separator.color menu.separator.width menu.separator.padding.width menu.separator.padding.height
2008-02-18Merge branch 'backport' into workDana Jansens
Conflicts: openbox/grab.c openbox/keyboard.c
2008-02-17Fix some typos in comments.Mikael Magnusson
2008-02-14Merge branch 'backport' into workDana Jansens
2008-02-14don't use \n at the end of g_message stringsDana Jansens
2008-02-14don't reference free'd memory, and don't leak memory if the image cache is ↵Dana Jansens
not saving any resized pictures
2008-02-14use g_message not g_print so it can go to the logDana Jansens
2008-02-14pre-calc the sum of a picture added to an RrImage rather than calculating it ↵Dana Jansens
every time
2008-02-14add a bunch of comments for images and image caches. and make the number of ↵Dana Jansens
resized pictures saved in an image tunable per-icon cache.
2008-02-14when resizing images, pick a source image with the same aspect ratio if possibleDana Jansens
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-02-14backport the changes to render/ from the alttab branch (commit ↵Dana Jansens
3592046b2b26e05ee94c0dd0fed5b7fd5475c198) in master, as the iconcache changes depend on this git show 3592046b -- render
2008-02-14put the char member at the bottom of the struct so that it doesnt mess up ↵Mikael Magnusson
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
2008-02-14fix min-size calculations for lineart texturesDana Jansens
2008-02-14when drawing and measuring strings in "flow" mode, don't ellipsize so that ↵Dana Jansens
lines can wrap
2008-02-14allow font rendering to use multiple linesDana Jansens
2008-02-14you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.
2008-02-14fix min-size calculations for lineart texturesDana Jansens
2008-02-14put the char member at the bottom of the struct so that it doesnt mess up ↵Mikael Magnusson
alignment for the other members (assuming the compiler doesn't pad the struct appropriately anyways)
2008-02-14Merge branch 'backport' into workMikael Magnusson
Diffing against the old work branch where most of the changes in backport were cherry-picked from indicates this should be alright. (0de9097017d4d1991388a35e380a57dc1135b431)
2008-02-14turn the new openbox.png into the default icon.hDana Jansens
2008-02-14split menu overlap into x and y componentsDana Jansens
2008-02-14speed up the pyramid gradient using memcpy's. also make it not crash for ↵Dana Jansens
1px high textures. here are some sample profiling results. pyramid2 is the new code % cumulative self self total time seconds seconds calls ms/call ms/call name 58.78 1.54 1.54 255 6.04 6.04 gradient_pyramid1 40.46 2.60 1.06 255 4.16 4.16 gradient_pyramid2 54.88 2.25 2.25 504 4.46 4.46 gradient_pyramid1 44.88 4.09 1.84 504 3.65 3.65 gradient_pyramid2
2008-02-14remove an XXX comment, the sanity check seems to have worked out fine.Dana Jansens
2008-02-14a small optimization for the vertical gradients, and use the same log(n) ↵Dana Jansens
strategy to use less memcpy's for filling out the horizontal gradients
2008-02-14use memcpy's to speed up vertical gradients too. split the fancy memcpy() ↵Dana Jansens
code out into the repeat_pixel function.
2008-02-14use memcpy's to make splitvertical gradient much faster - using log n ↵Dana Jansens
memcpy's is much quicker than setting a pointer value n times Here are some profiling results. splitvertical1 is the original code, splitvertical2 is some slight improvements in locality for it, and splitvertical3 is the new O(log n) memcpy code % cumulative self self total time seconds seconds calls ms/call ms/call name 49.44 0.88 0.88 1063 0.83 0.83 gradient_splitvertical1 47.19 1.72 0.84 1063 0.79 0.79 gradient_splitvertical2 2.81 1.77 0.05 1063 0.05 0.05 gradient_splitvertical3 i also tested this with 'time' to draw 1000 gradients, and the new code used approximately half the user time, and finished 10 seconds quicker. so yeah, it's magical and works well.
2008-02-14make rendertest exit cleanly when it is unmapped (iconify/desktopchange)Dana Jansens
2008-02-14don't reference free'd memory, and don't leak memory if the image cache is ↵Dana Jansens
not saving any resized pictures
2008-02-14use g_message not g_print so it can go to the logDana Jansens
2008-02-14pre-calc the sum of a picture added to an RrImage rather than calculating it ↵Dana Jansens
every time
2008-02-14add a bunch of comments for images and image caches. and make the number of ↵Dana Jansens
resized pictures saved in an image tunable per-icon cache.
2008-02-14when resizing images, pick a source image with the same aspect ratio if possibleDana Jansens
2008-02-14Introducing the icon cache.Dana Jansens
If an icon is the same as one in the cache, then it uses that one. icons of different sizes (from the same client) are linked together into one, and resizes of icons are cached and linked to all the various sizes. so you only need one icon in memory for all your terminals now. ya!
2008-02-10make white font shadows (negative shadowtint) work right.. this has been ↵Dana Jansens
busted a long time. thank you nvidia.
2008-02-07Merge branch 'wip/alttab'Mikael Magnusson
2008-02-07when drawing and measuring strings in "flow" mode, don't ellipsize so that ↵Dana Jansens
lines can wrap
2008-02-07allow font rendering to use multiple linesDana Jansens
2008-02-07you can create dialog windows called "prompts" which have a message and some ↵Dana Jansens
buttons! they don't do anything interesting yet.
2008-02-07Merge branch 'backport' into workDana Jansens
Conflicts: openbox/config.c
2008-02-06show a small arrow on the top/bottom of the alttab list box when there are ↵Dana Jansens
more windows that are not visible in that direction
2008-02-05the title_focused_shadow_color is being set twice, and being overridden by ↵Dana Jansens
the osd color (though not in the texture)
2008-02-03Make the icon and hilite the proper sizes.Mikael Magnusson
Had to add some obrender thingers and fiddle around a bit. Also fixed up some confusing logic.
2008-02-02split the version.h into render/ and obt/ copies, with the appropriate ↵Dana Jansens
version info
2008-01-31Merge branch 'backport' into workDana Jansens
Conflicts: openbox/client.c openbox/config.c openbox/event.c openbox/extensions.c openbox/focus_cycle_indicator.c openbox/focus_cycle_popup.c openbox/menuframe.c openbox/moveresize.c openbox/openbox.c openbox/screen.c openbox/stacking.c openbox/startupnotify.c
2008-01-27make horizontal gradients faster by not jumping around in memory as muchDana Jansens
2008-01-25Fix some memleaks.Mikael Magnusson
missing RrFontClose for osd_font in two places. missing a g_free(area);