diff options
| author | Jason Riordan <jriordan001@gmail.com> | 2015-12-17 20:18:39 -0500 |
|---|---|---|
| committer | Christopher R. Palmer <crpalmer@gmail.com> | 2016-01-07 20:58:18 -0500 |
| commit | 72e9fcfde1027b121a9529c5b3e78f5ebc272169 (patch) | |
| tree | 23b81cb8c919dc57e0d4a1b6b65440ab12c34532 | |
| parent | e8f0703d94f5f81f82b8197a579230a85d965434 (diff) | |
| download | android_hardware_intel_img_hwcomposer-72e9fcfde1027b121a9529c5b3e78f5ebc272169.tar.gz android_hardware_intel_img_hwcomposer-72e9fcfde1027b121a9529c5b3e78f5ebc272169.tar.bz2 android_hardware_intel_img_hwcomposer-72e9fcfde1027b121a9529c5b3e78f5ebc272169.zip | |
HWC: adapt VirtualDevice for old blob compliance
Change-Id: Ie5d67e54b8d9ed18b7bbeda0dfcb0b7a64226688
| -rwxr-xr-x | merrifield/common/devices/VirtualDevice.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/merrifield/common/devices/VirtualDevice.cpp b/merrifield/common/devices/VirtualDevice.cpp index 965c633..71adf5f 100755 --- a/merrifield/common/devices/VirtualDevice.cpp +++ b/merrifield/common/devices/VirtualDevice.cpp @@ -463,7 +463,7 @@ struct VirtualDevice::BlitTask : public VirtualDevice::RenderTask { SYNC_WAIT_AND_CLOSE(srcAcquireFenceFd); SYNC_WAIT_AND_CLOSE(destAcquireFenceFd); BufferManager* mgr = vd.mHwc.getBufferManager(); - if (!(mgr->blit(srcHandle, destHandle, destRect, false, false))) { + if (!(mgr->blit(srcHandle, destHandle, destRect, false))) { ETRACE("color space conversion from RGB to NV12 failed"); } else @@ -1266,7 +1266,7 @@ bool VirtualDevice::queueCompose(hwc_display_contents_1_t *display) destRect.y = 0; destRect.w = composeTask->outWidth; destRect.h = composeTask->outHeight; - if (!mgr->blit(rgbLayer.handle, scalingBuffer, destRect, true, true)) + if (!mgr->blit(rgbLayer.handle, scalingBuffer, destRect, true)) return true; composeTask->rgbHandle = scalingBuffer; composeTask->heldRgbHandle = heldUpscaleBuffer; |
