summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Diaz Prado <a0273371@ti.com>2012-09-20 15:06:23 -0500
committerJason Simmons <jsimmons@google.com>2012-10-22 16:05:46 -0700
commit2e285518874217f7e04bd79cb5090c780c5c34ad (patch)
tree37baf673af352ea1b12f5a2131e9964286b11cd6
parent935e618471b2ab77c8809354ed6838c067667fe4 (diff)
downloadomap4-aah-2e285518874217f7e04bd79cb5090c780c5c34ad.tar.gz
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> (cherry picked from commit c195634f79fb5a49b0caa33a4f9605a3aa40efe2)
-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;