diff options
author | Chia-I Wu <[email protected]> | 2019-03-18 15:56:35 -0700 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2019-05-06 10:20:40 -0700 |
commit | 898be8036d05eedc11903f5c7d08d330284c7cb9 (patch) | |
tree | fb4060e039e495a0fc3be910cdf344bdb6f2a6e2 /docs/libGL.txt | |
parent | b4da53b0c342eaa0dee522e3a3859a93cb77aa84 (diff) |
virgl: rework queries
virglrender has been changed such that
- VIRGL_CCMD_GET_QUERY_RESULT is fenced
- query buffers (PIPE_BIND_CUSTOM) are coherent
We can check if a query is ready using DRM_IOCTL_VIRTGPU_WAIT, and also
avoid a synchronized transfer to retrieve the query result. When
running against an older virglrenderer, it falls back to the old
behavior automatically.
TF2 @ 640x480 for pts4.dem went from 17fps to 40fps on my testing
machine.
Signed-off-by: Chia-I Wu <[email protected]>
Reviewed-by: Gurchetan Singh <[email protected]>
Diffstat (limited to 'docs/libGL.txt')
0 files changed, 0 insertions, 0 deletions