summaryrefslogtreecommitdiffstats
path: root/hwc
Commit message (Collapse)AuthorAgeFilesLines
...
* hwc: fix z-order settings for fbLajos Molnar2011-08-311-0/+1
| | | | | | | | | If a hardware layer was sandwiched between framebuffer layers, the z-order of the framebuffer layer was not adjusted. This is now fixed. Change-Id: Ib9eff3e3f1cd14b7c2a1d00ce2b451b04667e09a Signed-off-by: Lajos Molnar <molnar@ti.com>
* hwc: account for 1 16MB tiler slot instead of 4 4MB oneLajos Molnar2011-08-251-4/+20
| | | | | | | | This requires corresponding kernel change that manages TILER1D mappings into 1 large tiler slot. Change-Id: I868e2c252378ef74c343876eb94c15fe549cd2ed Signed-off-by: Lajos Molnar <molnar@ti.com>
* hwc: scale cloned UI/video to full screen with correct aspect ratioLajos Molnar2011-08-241-1/+141
| | | | | | | | | | | | | | | | Added support to scale the cloned UI to full screen. Screen aspect ratio is detected using EDID information, and UI aspect ratio is preserved on the external display. For now we are hardcoding square pixels on the internal display. In docking mode, the first NV12 layer is scaled to full screen on the external display. In mirroring mode, the whole UI and any video layers are scaled to full screen. Change-Id: Ib4887fb341c22758de7a9c2fc89a9ff660d4fbd3 Signed-off-by: Erik Gilling <konkers@android.com>
* hwc: add uevent listener to handle switching to HDMI cloningLajos Molnar2011-08-242-15/+140
| | | | | | | | | | | | | Added uevent listener that listens to the hdmi switch. Cloning is now enabled by hwc after it receives hpd event. On startup, hpd state is detected to start cloning immediately. Only the DOCK flag will be read from debug.hwc.ext property to determine whether to do full mirroring, or only docking to external display. Change-Id: I7ea888d9048ad642ce1cdc7b71b75c62faafc227 Signed-off-by: Erik Gilling <konkers@android.com>
* hwc: added support for mirroring on external displayLajos Molnar2011-08-241-48/+196
| | | | | | | | | | | | | | | | | | | | | | | Rotation/mirroring has to be specified using the debug.hwc.ext property for now, which is read every 32 frame compositions: bits 0-1: clockwise 90-degree rotations bit 2: left to right mirroring (applied after rotation) bit 3: clone enable bit 4: docking mode bit 5: cloning to TV/HDMI (vs. LCD2) (cloning always happens to display1) Rotation and mirroring is not yet applied. In docking mode, the first NV12 layer is cloned to the external display. In mirroring mode, the whole UI and any video layers are cloned to the external display. NOTE: needs matching kernel update Change-Id: Ia8332e5892cd0855dd0fb510662da660ab8ee6d5 Signed-off-by: Erik Gilling <konkers@android.com>
* update hal_public.h to DDK 1.8@276629Erik Gilling2011-08-171-4/+9
| | | | | Change-Id: Id4947b195984f664809cd1aa6bfe1e2246ac70cb Signed-off-by: Erik Gilling <konkers@android.com>
* initial commitIliyan Malchev2011-08-083-0/+874
Change-Id: I8f7a7eeece0e516efa486b77e9d97805c0e65d3e Signed-off-by: Iliyan Malchev <malchev@google.com>