diff options
author | Tapani Pälli <[email protected]> | 2017-08-08 10:52:26 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2017-08-09 08:42:11 +0300 |
commit | b65a91e5821e3db4baad06d1fa13f02845c06b9d (patch) | |
tree | 0d6f927d249fbd7d86a05da76481947a890ba79a /src/intel/vulkan/anv_device.c | |
parent | a1c9a6da18b3fdb094804d1fa2529024261ed265 (diff) |
egl/dri2: refactor dri2_query_surface, swrastGetDrawableInfo
Currently swrastGetDrawableInfo always initializes w and h, patch
refactors function as x11_get_drawable_info that returns success and
sets the values only if no error happened. Add swrastGetDrawableInfo
wrapper function as expected by DRI extension.
v2: init w,y,w,h in swrastGetDrawableInfo (Eric)
Signed-off-by: Tapani Pälli <[email protected]>
Reported-by: Emil Velikov <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
0 files changed, 0 insertions, 0 deletions