aboutsummaryrefslogtreecommitdiffstats
path: root/hw/goldfish_fb.c
Commit message (Collapse)AuthorAgeFilesLines
* [ENDIAN] Fix goldfish fb for bigendian targetsBhanu Chetlapalli2012-01-311-6/+15
| | | | | | | | | | | Swap bytes in the display buffer if the host endianess does not match the target endianess. This fixes a problem with the wrong colour being displayed in the text framebuffer console. Not sure if the is the correct place to fix it.. It might be better to have the kernel goldfish framebuffer driver swap the bytes. Change-Id: I8c7ada6e5cb6de7745511f3b83f07f0ac95276af Signed-off-by: Chris Dearman <chris@mips.com>
* Sligh speedup for pixel conversion routines with Duff's device.David 'Digit' Turner2011-01-181-20/+33
| | | | Change-Id: If832bc5844945f7a2027b2f8d09393586545d8d5
* hw: framebuffer: add support for 32-bit framebuffers.David 'Digit' Turner2011-01-181-14/+21
| | | | | | | This provides a new read i/o port to return the framebuffer's format to the kernel driver. Change-Id: Ifd1c4d8a4dc75fa73d5f6750e0b501c34468aec5
* hw: goldfish_fb: Minimize the size of the update rectangle.David 'Digit' Turner2011-01-161-92/+323
| | | | | | | | | | | | | | | | This patch modifies the framebuffer's update callback to compute the minimum bounding rectangle of each framebuffer update. Before that, the code only computed the minimum and maximum Y coordinates, assuming xmin=0 and xmax=width-1. This should help reduce un-necessary traffic/churn for our core->UI framebuffer protocol. Moreover, introduce the ability to support framebuffers / display surfaces with different depths. This is a first step towards providing 32-bit framebuffers to the guest system to slightly speed-up emulated rendering on Gingerbread and above. Change-Id: I6194824ce67a3b1d6d95b5d97ddec3ef459e408e
* Better separation of UI and Core sources for framebuffer emulation.David 'Digit' Turner2010-07-271-37/+47
| | | | | | + new document under docs/DISPLAY-STATE.TXT to explain what's happening. Change-Id: Ia0d233377266212da49af932c7528f46f5feb92d
* Upstream: HOST_WORDS_ALIGNED -> WORDS_ALIGNEDDavid 'Digit' Turner2010-05-101-4/+4
| | | | Change-Id: Ica9022695d83fb48a8c25fdb1e1f0dc1c63747ff
* Merge upstream QEMU 10.0.50 into the Android source tree.David 'Digit' Turner2009-09-141-3/+3
| | | | | | | | | | | | | | | | | | | This change integrates many changes from the upstream QEMU sources. Its main purpose is to enable correct ARMv6 and ARMv7 support to the Android emulator. Due to the nature of the upstream code base, this unfortunately also required changes to many other parts of the source. Note that to ensure easier integrations in the future, some source files and directories that have heavy Android-specific customization have been renamed with an -android suffix. The original files are still there for easier integration tracking, but *never* compiled. For example: net.c net-android.c qemu-char.c qemu-char-android.c slirp/ slirp-android/ etc... Tested on linux-x86, darwin-x86 and windows host machines.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+405
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-405/+0
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-2/+2
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-171-1/+1
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+405