aboutsummaryrefslogtreecommitdiffstats
path: root/include/video
diff options
context:
space:
mode:
authorArchit Taneja <archit@ti.com>2011-09-08 01:59:17 -0400
committerTomi Valkeinen <tomi.valkeinen@ti.com>2011-10-03 09:51:55 -0400
commit54128701ecccbeb6f740030e0cc5f8e5701fe8ee (patch)
treed0c7e5fee25d9458f105acc20b5f4accc2d82bcd /include/video
parentb8c095b4d62f90ed8da0cca7116125863b1d8bef (diff)
OMAPDSS: DISPC: zorder support for DSS overlays
Add zorder support on OMAP4, this feature allows deciding the visibility order of the overlays based on the zorder value provided as an overlay info parameter or a sysfs attribute of the overlay object. Use the overlay cap OMAP_DSS_OVL_CAP_ZORDER to determine whether zorder is supported for the overlay or not. Use dss feature FEAT_ALPHA_FREE_ZORDER if the caps are not available. Ensure that all overlays that are enabled and connected to the same manager have different zorders. Swapping zorders of 2 enabled overlays currently requires disabling one of the overlays. Signed-off-by: Archit Taneja <archit@ti.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'include/video')
-rw-r--r--include/video/omapdss.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/video/omapdss.h b/include/video/omapdss.h
index 27d9cce25918..b66ebb2032c6 100644
--- a/include/video/omapdss.h
+++ b/include/video/omapdss.h
@@ -377,6 +377,7 @@ struct omap_overlay_info {
377 u16 out_height; /* if 0, out_height == height */ 377 u16 out_height; /* if 0, out_height == height */
378 u8 global_alpha; 378 u8 global_alpha;
379 u8 pre_mult_alpha; 379 u8 pre_mult_alpha;
380 u8 zorder;
380}; 381};
381 382
382struct omap_overlay { 383struct omap_overlay {