summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2013-11-07 04:43:19 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-11-07 04:43:20 +0000
commit356c23865d588659f1eea55bbe7e2b16b9cff08e (patch)
tree7307e26787d65271adb9dddc7199f36bd6ef9847
parent493186312a9a8c0215da0d6d3a9b0369491c0796 (diff)
parentf7a675837bdad03d398c9b6f0f593b9c51c679b5 (diff)
downloadnative-356c23865d588659f1eea55bbe7e2b16b9cff08e.tar.gz
Merge "Provide virtual display output buffer to HWC in prepare" into klp-dev
-rw-r--r--services/surfaceflinger/DisplayHardware/HWComposer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/DisplayHardware/HWComposer.cpp b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
index 2469f0cf61..c7d1a903e4 100644
--- a/services/surfaceflinger/DisplayHardware/HWComposer.cpp
+++ b/services/surfaceflinger/DisplayHardware/HWComposer.cpp
@@ -605,7 +605,7 @@ status_t HWComposer::prepare() {
mLists[i] = disp.list;
if (mLists[i]) {
if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_3)) {
- mLists[i]->outbuf = NULL;
+ mLists[i]->outbuf = disp.outbufHandle;
mLists[i]->outbufAcquireFenceFd = -1;
} else if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) {
// garbage data to catch improper use