Check queries from within vrend_renderer_check_fences, after glClientWaitSync but before write_fence. This makes sure query results are available after the fence is waited for. In other words, given this sequence of commands BEGIN_QUERY > DRAW_VBO > END_QUERY > GET_QUERY_RESULT > FENCE Waiting on the fence makes sure the query result becomes available to the guest. Signed-off-by: Chia-I Wu <olvaffe@gmail.com> Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>macos/master
parent
010c974bd4
commit
6628658027
Loading…
Reference in new issue