Process pending read pixels and queries after MakeCurrent calls.

This matches the validating command decoder's implementation and ends up
processing completed queries earlier.

BUG=770696

Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I573b80f08f920303c5b8d73c6d625dbd85fb3ddb
Reviewed-on: https://chromium-review.googlesource.com/728866
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Geoff Lang <geofflang@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#510279}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8445c7a11e8193b04b8699f545dd822a9cff7333
1 file changed