viz/mac: Remove GpuSurfaceTracker, redefine gfx::AcceleratedWidget
GpuSurfaceTracker has been removed from all other desktop platforms (in crrev.com/389975) and is not used on Mac. Remove it. Include Mac in GPU_SURFACE_HANDLE_IS_ACCELERATED_WINDOW with other desktop platforms. Define gfx::AcceleratedWidget to be uint64_t instead of NSView*. It never actually was NSView*, but was rather a sequence number used to look up a ui::AcceleratedWidgetMac. Fix a number of locations that were dangerously mixing NSView* and gfx::AcceleratedWidget (now that they are incompatible types, this is a compile error). Bug: 772576 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: I29212236627c512ed6a7fe55a8cf3e613e4e593a Reviewed-on: https://chromium-review.googlesource.com/792295 Commit-Queue: ccameron <ccameron@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Cr-Commit-Position: refs/heads/master@{#521030}
Showing
Please register or sign in to comment