summaryrefslogtreecommitdiffstats
path: root/hwc
diff options
context:
space:
mode:
authorGustavo Diaz Prado <a0273371@ti.com>2012-09-20 15:06:23 -0500
committerDaniel Levin <dendy@ti.com>2012-11-28 21:16:25 +0200
commit24121458095a9f7be6e724d013c5c9ff65f04d11 (patch)
tree20ca20ecd350013caba2a606b04839b9a48f3344 /hwc
parentbe1e033b4433baeab00b519524610344943f4486 (diff)
downloadhardware_ti_omap4-24121458095a9f7be6e724d013c5c9ff65f04d11.zip
hardware_ti_omap4-24121458095a9f7be6e724d013c5c9ff65f04d11.tar.gz
hardware_ti_omap4-24121458095a9f7be6e724d013c5c9ff65f04d11.tar.bz2
hwc: rgz: Allow scaling and rotation on the same blit
Allow blitting layers that have scaling and a transformation now that the GC driver supports it. Change-Id: Iee5a34dc888656c47b3b514597b75868ccdc008a Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
Diffstat (limited to 'hwc')
-rw-r--r--hwc/rgz_2d.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/hwc/rgz_2d.c b/hwc/rgz_2d.c
index 8cd8956..60cc8a6 100644
--- a/hwc/rgz_2d.c
+++ b/hwc/rgz_2d.c
@@ -753,10 +753,6 @@ static int rgz_in_valid_hwc_layer(hwc_layer_t *layer)
if ((layer->flags & HWC_SKIP_LAYER) || !handle)
return 0;
- /* FIXME: GC doesn't support layers with scaling and rotation on the same blit yet */
- if (rgz_hwc_scaled(layer) && layer->transform)
- return 0;
-
if (is_NV12(handle->iFormat))
return handle->iFormat == HAL_PIXEL_FORMAT_TI_NV12;