diff options
author | Austin Yuan <shengquan.yuan@intel.com> | 2012-02-29 21:34:31 -0800 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-08-27 11:16:42 +0200 |
commit | 233b2fc36ac06778119f073b38b0fe1385f9b106 (patch) | |
tree | b14c0db1e61b6f4765c017fafec71419dfbcf13d | |
parent | 0350be325408ec57a23476b1bc828675505ec7e2 (diff) | |
download | libva-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.h | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -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, |