Add an api to copy bypass buffer. De-couple
comp. bypass functions from HDMI feature defines.
Change-Id: I743a80518c29a04bcf61e48d189b07636026afc7
CRs-fixed: 288992
The FPS is stored in reserved[3] field of fb_var_screeninfo
structure. Read directly from this field.
Change-Id: I052dc3c20a8a38995881cd4d743c13d9522f9246
CRs-fixed: 283750
This reverts commit 80df10595720594cf661b8812507ba75b2bafd1e.
Revert "libgralloc-qsd8k: Set the framebuffer offsets correctly"
This reverts commit 09a31858f42978c29e0c7014713748d413b3c587.
It is no longer a requirement for GPU to be 4k aligned, hence
reverting these 2 changes.
Change-Id: I39e6f6324353a3c19bfdf523f8862408ef9a4093
Implement ActionSafe ratios in OverlayOrigRes class
Change class internal design.
Change-Id: I42a7f9b00dfd3e760b2162a1f7f36d679440363f
CRs-fixed: 285165
Design now uses OverlayUI class. Flow goes through gralloc
to avoid race conditions with mirroring, when video is
played via Gallery.
Change-Id: If18c1f84a99aae38a6a4a20da7dff804ae05b8be
CRs-fixed: 285186, 286930, 286596
Observed overscan in case of videos and UI
This change fixes all the paths and eliminates overscan
Adds a class to save user specified action safe parameters
Change-Id: I8c65b1142b086f5ff0d568c5f5c87fcde9642d5b
CRs-fixed: 285165
The offsets for the framebuffer needs to start at a 4K aligned address.
Calculate the additional delta for the yoffset, the virtual address for flipping
as well as the total framebuffer size required to achieve this
Change-Id: Idfd70be10a24ac464ec820494b66d506a03a983b
CRs-fixed: 273888
- The ioctl call from getOrientation is removed.
- In gralloc use getOrientation instead of storing the
orientation.
Change-Id: Idb08568ff5d46ce99e0a9a8c6f492b90bb666f0c
- Use rotator buffer for UI mirroring on HDMI
- Avoid ioctl calls on getPosition
CRs-fixed: 278858
Change-Id: Id390e2b85fe939d8388ed17f5f9c7fcd30499755
Call setPosition and setParameter for HDMI only when there is a
change in the rotation or position.
Change-Id: Id11b58408607c2f9799bb332c30d52f52957ec4e
For portrait mode: Actionsafe width depends on actionsafe
height, thus maintaining the aspect ratio.
User entered value for actionsafe width doesn't matter.
For landscape mode: Both, user entered actionsafe width
and height matter. Aspect ratio may change, in an attempt to fill
up the TV screen till the edges to avoid overscan/underscan.
Picks actionsafe rectangle as the final rectangle.
Change-Id: I4e16a2d57978d3443283e9311c2efdc6494f8a94
CRs-fixed: 271567
Fix position, aspect ratio of HDMI UI when the
primary panel type is MIPI, 8660 Panel or 7x30 Panel
Change-Id: I8e9824520317e3facb4ef25bc25dd9b1de60b4ce
CRs-fixed: 263690, 269433
Update the gralloc HAL to match commit:
commit 4d3c9ca6fabf2b0111ef6b567df7d244e124b9c2
Author: Arun Kumar K.R <akkr@codeaurora.org>
Date: Fri Dec 17 13:14:58 2010 -0800
libgralloc-qsd8k: Add support for non-aligned width on HDMI
While creating overlay channel for HDMI consider the aligned
width and set the crop rectangle to the actual width and height.
Change-Id: I36183bf1fa68e5c8ed80f1efbb5c535a060e0db0
We really need to fix this eventually, but it's not a ship blocker.
Change-Id: I35f66988e7adba13e47c2a86e13a7425cc5aada3
Signed-off-by: Dima Zavin <dima@android.com>
The GPU now correctly maps everything throug hthe MMU so physical addresses
are no longer needed.
Change-Id: Id16a690f63d7141c8ee6694b246b1955f450b8ed
Signed-off-by: Dima Zavin <dima@android.com>