• Christopher Cameron's avatar
    Move GLFences from GLSurface to GLContext · 36ef619d
    Christopher Cameron authored
    The GLFences used for backpressure in ImageTransportSurfaceOverlayMac
    are objects that should be scoped to a GLContext, not a GLSurface. Add
    methods to GLContext to allow creation and waiting on fences, and call
    those methods from GLSurface.
    
    Bug: 863817
    Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
    Change-Id: Ib0fc8cac3efdd50f88c197c6bdeb2ee2e22696bd
    Reviewed-on: https://chromium-review.googlesource.com/1146483
    Commit-Queue: ccameron <ccameron@chromium.org>
    Reviewed-by: default avatarEric Karl <ericrk@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#577321}
    36ef619d
gl_context.cc 11.9 KB