diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-05-09 15:08:05 +0200 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-06-16 11:53:35 +0800 |
commit | da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1 (patch) | |
tree | 123eb593e8dae92896e16a7bc9da8269661dd2dd /src/i965_drv_video.h | |
parent | aeef40157a7d3349ea8afc5dca0c198055027601 (diff) | |
download | libva-intel-driver-da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1.tar.gz libva-intel-driver-da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1.tar.bz2 libva-intel-driver-da8a7e9accb5f8e1913440fdd2d662af6a0b7ef1.zip |
surface: drop SURFACE_DISPLAYED flag.
The optimization by which the VA surface storage is deallocated after
it is displayed and not used for reference or vaDeriveImage() purposes
cannot be implemented safely. We need to honour explicit lifetimes
defined by the upper codec layer.
Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
(cherry picked from commit 84926ace7a2c5b88df1ada167a1c273128469aad)
Diffstat (limited to 'src/i965_drv_video.h')
-rw-r--r-- | src/i965_drv_video.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/i965_drv_video.h b/src/i965_drv_video.h index e25b9c8..95ee193 100644 --- a/src/i965_drv_video.h +++ b/src/i965_drv_video.h @@ -202,12 +202,8 @@ struct object_context }; #define SURFACE_REFERENCED (1 << 0) -#define SURFACE_DISPLAYED (1 << 1) #define SURFACE_DERIVED (1 << 2) -#define SURFACE_REF_DIS_MASK ((SURFACE_REFERENCED) | \ - (SURFACE_DISPLAYED)) #define SURFACE_ALL_MASK ((SURFACE_REFERENCED) | \ - (SURFACE_DISPLAYED) | \ (SURFACE_DERIVED)) struct object_surface |