Whenever there is a change in the buffer geometry, set a flag in the
gralloc handle stating that the buffer geometry has changed.
In the HWC, whenever we encounter an update in the geometry, if the
channel is already open, we just call the necessary ioctls to update
the overlay information and not unnecessarily open/close channels.
Change-Id: I27db8fc497ebc514e262d6b7854739f312644714
When the layer flags are marked to maintain the original surface
resolution, draw the layer using the overlay.
Store the HDMI status in the overlay object instead of the HWC
context.
Set the correct parameters for the source and destination rectangles
when drawing the layer using copybit.
Change-Id: I6ab7e2b5ba7b457a5bc604fd3a0031e6bada82cb
SurfaceFlinger calls a hwc_set with a NULL context and
list when it is releasing the HWC. Check the validity
of the pointers before using it.
Change-Id: I5b61cc50a85b9b660646789b2cf9a0f4ee6e4a5c
Enable video on HDMI when cable is connected.
Inform gralloc module when video playback starts and stops.
Change-Id: Icc2a1b62fcd8cf75c1be98d88c3fa4dc49ef0278
Initial HWC changes
- Add support to recognize video/camera buffers in the prepare phase
- Use overlays to draw single video/camera layers
Change-Id: I3351b3172fae12d9f6e016ff7e1a2f6a476799b3