-
kylechar authored
This CL moves the responsibility for acknowledging that swap has occurred from SoftwareOutputSurface to SoftwareOutputDevice. This is to allow handling asynchronous swap better. This CL should have no change in behaviour but a follow up CL will add an overridden implementation of SoftwareOutputDevice::OnSwapBuffers(). The main change is that instead of SoftwareOutputSurface holding a TaskRunner the SoftwareOutputDevice does. Only the macOS SoftwareOutputDevice needs a specific TaskRunner provided. All other SoftwareOutputDevice implementations just grab the current one on construction. Bug: 826633 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel Change-Id: I97f487db90fe18f4182d2210539f61f2cb694c6a Reviewed-on: https://chromium-review.googlesource.com/1055476Reviewed-by:
Antoine Labour <piman@chromium.org> Commit-Queue: kylechar <kylechar@chromium.org> Cr-Commit-Position: refs/heads/master@{#557910}
45d37513