summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRobert Crabtree <robert.crabtree@intel.com>2013-08-27 14:00:15 -0700
committerbuildslave <buildslave@buildbot.tl.intel.com>2013-12-07 10:06:29 +0000
commit7d844a25e080c4e2da2735f2af381b40b19d5fc4 (patch)
tree9962fa6eec6cbcc8f0ea0db7835ed523c291dbbe /include
parent5b656b19cdc369b13cbf33091a98d45972237d19 (diff)
downloadhwcomposer-7d844a25e080c4e2da2735f2af381b40b19d5fc4.tar.gz
widi: Do widi color conversion for clone mode
BZ: 133993 Color conversion will be done for clone mode. This will allow widi to have a single video source. Previously, if the composition type was HWC_FRAMEBUFFER_TARGET, HWC wouldn't send the composited frame to widi. Now HWC will do the color conversion and send the resulting YUV frame to widi. The composited frame will be sent to widi from the VirtualDisplay::commit() method instead of the VirtualDisplay::prepare() method. This is so HWC can do the composition after VirtualDisplay::prepare(). Change-Id: Ibd7406f86120ddf9a5ad996449681199c99db70c Signed-off-by: Robert Crabtree <robert.crabtree@intel.com>
Diffstat (limited to 'include')
-rw-r--r--include/VirtualDevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/VirtualDevice.h b/include/VirtualDevice.h
index 0dd59b0..a156d7b 100644
--- a/include/VirtualDevice.h
+++ b/include/VirtualDevice.h
@@ -63,7 +63,8 @@ protected:
sp<IFrameListener> frameListener;
FrameProcessingPolicy policy;
bool extendedModeEnabled;
- bool forceNotify;
+ bool forceNotifyFrameType;
+ bool forceNotifyBufferInfo;
};
Mutex mConfigLock;
Configuration mCurrentConfig;