GLX: implement GLSurface PresentationCallback
This CL implements GLSurface PresentationCallback for GLX. It uses OpenGL GpuTimer to query the |timestamp| for GPU finishes renderering the back buffer, and use the closest VSync after the |timestamp| to run presentation callback. Bug: 776877 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: I87f40022555b988e9cbe5cd628979c15f6043f0d Reviewed-on: https://chromium-review.googlesource.com/809704Reviewed-by:danakj <danakj@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Commit-Queue: Peng Huang <penghuang@chromium.org> Cr-Commit-Position: refs/heads/master@{#523646}
Showing
This diff is collapsed.
Please register or sign in to comment