Wed, 03 Jun 2009 04:37:27 +0000 Von: Thomas Zimmermann
Sam Lantinga <slouken@libsdl.org> [Wed, 03 Jun 2009 04:37:27 +0000] rev 3162
Von: Thomas Zimmermann Betreff: [SDL] [PATCH] Make static variables const Datum: Tue, 19 May 2009 19:45:37 +0200 Hi, this is a set of simple changes which make some of SDL's internal static arrays constant. The purpose is to shrink the number of write-able static bytes and thus increase the number of memory pages shared between SDL applications. The patch set is against trunk@4513. Each of the attached patch files is specific to a sub-system. The set is completed by a second mail, because of the list's 40 KiB limit. The files readelf-r4513.txt and readelf-const-patch.txt where made by calling 'readelf -S libSDL.so'. They show the difference in ELF sections without and with the patch. Some numbers measured on my x86-64: Before [13] .rodata PROGBITS 00000000000eaaa0 000eaaa0 0000000000008170 0000000000000000 A 0 0 32 [19] .data.rel.ro PROGBITS 00000000003045e0 001045e0 00000000000023d0 0000000000000000 WA 0 0 32 [23] .data PROGBITS 00000000003076e0 001076e0 0000000000004988 0000000000000000 WA 0 0 32 After [13] .rodata PROGBITS 00000000000eaaa0 000eaaa0 0000000000009a50 0000000000000000 A 0 0 32 [19] .data.rel.ro PROGBITS 0000000000306040 00106040 0000000000002608 0000000000000000 WA 0 0 32 [23] .data PROGBITS 0000000000309360 00109360 0000000000002e88 0000000000000000 WA 0 0 32 The size of the write-able data section decreased considerably. Some entries became const-after-relocation, while most of its content went straight into the read-only data section. Best regards, Thomas
Sun, 31 May 2009 11:53:12 +0000 OpenPandora support added by David Carré
Sam Lantinga <slouken@libsdl.org> [Sun, 31 May 2009 11:53:12 +0000] rev 3161
OpenPandora support added by David Carré
Thu, 28 May 2009 09:39:14 +0000 error message typo fix
Sam Lantinga <slouken@libsdl.org> [Thu, 28 May 2009 09:39:14 +0000] rev 3160
error message typo fix
Thu, 12 Nov 2009 21:44:14 +0000 Added framebuffer mapping. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Thu, 12 Nov 2009 21:44:14 +0000] rev 3159
Added framebuffer mapping.
Sat, 07 Nov 2009 11:35:19 +0000 created env (fbcon-1.3) and added basic files gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Sat, 07 Nov 2009 11:35:19 +0000] rev 3158
created env (fbcon-1.3) and added basic files
Thu, 27 Aug 2009 11:33:56 +0000 Added comments, clean up. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Thu, 27 Aug 2009 11:33:56 +0000] rev 3157
Added comments, clean up.
Fri, 14 Aug 2009 15:49:44 +0000 Rewritten Makefile (fixed bug) and cleanup for yuv2rgb. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Fri, 14 Aug 2009 15:49:44 +0000] rev 3156
Rewritten Makefile (fixed bug) and cleanup for yuv2rgb.
Tue, 11 Aug 2009 14:37:19 +0000 Checking for spu-progs and libs. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Tue, 11 Aug 2009 14:37:19 +0000] rev 3155
Checking for spu-progs and libs.
Mon, 10 Aug 2009 18:05:33 +0000 Added Makefile rule for spu programs. Added Readme. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Mon, 10 Aug 2009 18:05:33 +0000] rev 3154
Added Makefile rule for spu programs. Added Readme.
Mon, 10 Aug 2009 13:28:58 +0000 Fixed bug in texture format. gsoc2009_ps3
Martin Lowinski <martin@goldtopf.org> [Mon, 10 Aug 2009 13:28:58 +0000] rev 3153
Fixed bug in texture format.
(0) -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 tip