diff options
author | Mathias Agopian <mathias@google.com> | 2012-01-06 18:31:26 -0800 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-01-24 11:05:15 -0800 |
commit | 03e11edd578940e72095b1366591a461f74452f8 (patch) | |
tree | aa364711ad7061c438f36daae565ad2fad117664 /hwc | |
parent | 1e3a7ee3fced4b9723f65147ae856bba7d4e2342 (diff) | |
download | hardware_ti_omap4xxx-03e11edd578940e72095b1366591a461f74452f8.zip hardware_ti_omap4xxx-03e11edd578940e72095b1366591a461f74452f8.tar.gz hardware_ti_omap4xxx-03e11edd578940e72095b1366591a461f74452f8.tar.bz2 |
don't vsync after swap since SF now is vsync'ed
Change-Id: I2e0636c3a386203e0aaee8c97b1affa4ee96f699
Diffstat (limited to 'hwc')
-rw-r--r-- | hwc/hwc.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -1459,15 +1459,6 @@ static int omap4_hwc_set(struct hwc_composer_device *dev, hwc_display_t dpy, hwc_dev->buffers, hwc_dev->post2_layers, dsscomp, sizeof(*dsscomp)); - - if (!hwc_dev->use_sgx) { - __u32 crt = 0; - int err2 = ioctl(hwc_dev->fb_fd, FBIO_WAITFORVSYNC, &crt); - if (err2) { - ALOGE("failed to wait for vsync (%d)", errno); - err = err ? : -errno; - } - } } hwc_dev->last_ext_ovls = hwc_dev->ext_ovls; hwc_dev->last_int_ovls = hwc_dev->post2_layers; |