summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Yuan <shengquan.yuan@intel.com>2012-02-29 21:34:31 -0800
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>2013-08-27 11:16:42 +0200
commit233b2fc36ac06778119f073b38b0fe1385f9b106 (patch)
treeb14c0db1e61b6f4765c017fafec71419dfbcf13d
parent0350be325408ec57a23476b1bc828675505ec7e2 (diff)
downloadlibva-233b2fc36ac06778119f073b38b0fe1385f9b106.tar.gz
VADisplayAttribDirectSurface: drop it
vaPutSurface may use overlay or GPU alternately. App should use vaQuerySurfaceStatus to check if the surface can be used for decoding. If VASurfaceDisplaying is returned, it means the surface is being rendered by overlay and can't be over-writeen. Signed-off-by: Austin Yuan <shengquan.yuan@intel.com>
-rw-r--r--va/va.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/va/va.h b/va/va.h
index 0402c03..a5c3373 100644
--- a/va/va.h
+++ b/va/va.h
@@ -2360,18 +2360,6 @@ typedef enum
* also it will blend with the decoded video color
*/
VADisplayAttribBackgroundColor = 4,
- /*
- * this is a gettable only attribute. For some implementations that use the
- * hardware overlay, after PutSurface is called, the surface can not be
- * re-used until after the subsequent PutSurface call. If this is the case
- * then the value for this attribute will be set to 1 so that the client
- * will not attempt to re-use the surface right after returning from a call
- * to PutSurface.
- *
- * Don't use it, use flag VASurfaceDisplaying of vaQuerySurfaceStatus since
- * driver may use overlay or GPU alternatively
- */
- VADisplayAttribDirectSurface = 5,
VADisplayAttribRotation = 6,
VADisplayAttribOutofLoopDeblock = 7,