summaryrefslogtreecommitdiff
path: root/uisimulator/sdl/lcd-sdl.c (follow)
Commit message (Collapse)AuthorAge
* - Move uisimulator/sdl/*.[ch] into the target tree, under ↵Thomas Martitz2010-05-15
| | | | | | | | | | firmware/target/hosted/sdl, uisdl.c is split up across button-sdl.c and system-sdl.c. - Refactor the program startup. main() is now in main.c like on target, and the implicit application thread will now act as our main thread (previously a separate one was created for this in thread initialization). This is part of Rockbox as an application and is the first step to make an application port from the uisimulator. In a further step the sim bits from the sdl build will be separated out. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26065 a1c6a512-1295-4272-9138-f99709370657
* Fix update rectangle calculation. This caused the black artifacts outside ↵Jens Arnold2009-03-04
| | | | | | the screen area introduced with backlight simulation for colour targets. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20199 a1c6a512-1295-4272-9138-f99709370657
* Simulate backlight for colour targets. Implements the idea from FS #9884, ↵Jens Arnold2009-02-10
| | | | | | but uses SDL alpha blending. Display is dimmed to 1/3 for targets with transflective LCD, and set to black for others. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19961 a1c6a512-1295-4272-9138-f99709370657
* Put the display colours for monochrome and greyscale targets into the target ↵Jens Arnold2009-02-09
| | | | | | config files, and use them both for the simulator UI and screendumps. The Clip now shows the split display properly in screendumps and simulator. A side effect is that screendumps of ordinary monochrome targets are now 4-bit BMP files (saves an alternate code path, and might be more compatible with some gfx programs). * Simplify the simulation of split display, and also simplify greylib simulation. The simulator now always calculates 129 shades (2*128 for a Clip sim), and just uses 2 (or 4) of those for native display simulation. * Centralised the simulator LCD dimension definition. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19950 a1c6a512-1295-4272-9138-f99709370657
* Remove left-over debug codeRafaël Carré2008-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19348 a1c6a512-1295-4272-9138-f99709370657
* Sansa Clip Simulator: emulate the real screen at the price of some CPU (FS#9521)Rafaël Carré2008-12-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19347 a1c6a512-1295-4272-9138-f99709370657
* Updated our source code header to explicitly mention that we are GPL v2 orDaniel Stenberg2008-06-28
| | | | | | | | | later. We still need to hunt down snippets used that are not. 1324 modified files... http://www.rockbox.org/mail/archive/rockbox-dev-archive-2008-06/0060.shtml git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17847 a1c6a512-1295-4272-9138-f99709370657
* Prevent simulator SDL audio skipping under OS X (FS#5748 by EmanuelMiika Pekkarinen2006-07-31
| | | | | | | Zephir). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10384 a1c6a512-1295-4272-9138-f99709370657
* Finally - grayscale library support for the simulators. Currently SDL only, ↵Jens Arnold2006-02-26
| | | | | | win32 and x11 won't link anymore due to missing simulator functions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8845 a1c6a512-1295-4272-9138-f99709370657
* Actually fix the palette issue.Dan Everton2006-02-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8705 a1c6a512-1295-4272-9138-f99709370657
* Refactor SDL sim source so drawing routines are written once. Split bitmap, ↵Dan Everton2006-02-09
| | | | | | remote, and charcell LCD in to their own files. Add zoom support, use --zoom factor (e.g. --zoom 2 for two times zoom) to use it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8645 a1c6a512-1295-4272-9138-f99709370657
* Made backgrounds runtime optional in SDL sim. Use --background to turn them ↵Dan Everton2006-02-09
| | | | | | on. Also removed two unneeded files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8642 a1c6a512-1295-4272-9138-f99709370657
* Create an SDL sim for the iPod 4G Grayscale and also create an IPOD_ARCH ↵Dave Chapman2006-02-09
| | | | | | define for all iPods. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8636 a1c6a512-1295-4272-9138-f99709370657
* More SDL simulator LCD fixes.Jens Arnold2006-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8628 a1c6a512-1295-4272-9138-f99709370657
* The SDL simulator didn't draw the pixels correctly on targets with gray/mono ↵Linus Nielsen Feltzing2006-02-08
| | | | | | LCD, part 2 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8625 a1c6a512-1295-4272-9138-f99709370657
* The SDL simulator didn't draw the pixels correctly on targets with gray/mono LCDLinus Nielsen Feltzing2006-02-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8624 a1c6a512-1295-4272-9138-f99709370657
* Patch #1417462 by Dan Everton - Improved SDL simulatorLinus Nielsen Feltzing2006-02-03
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8546 a1c6a512-1295-4272-9138-f99709370657