[Fuchsia] Update ImageTransportSurface to use gl::init::CreateViewGLSurface()
Previously ImageTransportSurface was creating GLSurfaceOSMesa, but that this is wrong because GLSurfaceOSMesa doesn't support SwapBuffers(). Updated ImageTransportSurface to call CreateViewGLSurface(), which in turn creates GLSurfaceOSMesaHeadless. That class handles SwapBuffers() correctly. Bug: 778467 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: I701dd219ad5867359ade613fbb1ea24d722f55f3 Reviewed-on: https://chromium-review.googlesource.com/876993Reviewed-by:Antoine Labour <piman@chromium.org> Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Cr-Commit-Position: refs/heads/master@{#530693}
Showing
Please register or sign in to comment