Merge "Provide virtual display output buffer to HWC in prepare" into klp-dev

This commit is contained in:
Jesse Hall 2013-11-07 04:43:19 +00:00 committed by Android (Google) Code Review
commit 356c23865d

View File

@ -605,7 +605,7 @@ status_t HWComposer::prepare() {
mLists[i] = disp.list; mLists[i] = disp.list;
if (mLists[i]) { if (mLists[i]) {
if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_3)) { if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_3)) {
mLists[i]->outbuf = NULL; mLists[i]->outbuf = disp.outbufHandle;
mLists[i]->outbufAcquireFenceFd = -1; mLists[i]->outbufAcquireFenceFd = -1;
} else if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) { } else if (hwcHasApiVersion(mHwc, HWC_DEVICE_API_VERSION_1_1)) {
// garbage data to catch improper use // garbage data to catch improper use