Use test shared image backing factory
SkiaOutputDeviceBufferQueueTest was crashing on Linux with passthrough command decoder when SwANGLE is enabled. We end up testing SkiaOutputDeviceBufferQueue with shared images it's not intended to work with since it's the default implementation for the platform. Add TestSharedImageBackingFactory that always creates a TestSharedImageBacking to avoid this. We don't need a real shared image in order to test SkiaOutputDeviceBufferQueue logic. Bug: 1131521 Change-Id: I668a4a158c45ad36cabd53376e764a1c5343c013 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2450724 Commit-Queue: kylechar <kylechar@chromium.org> Reviewed-by:Vasiliy Telezhnikov <vasilyt@chromium.org> Cr-Commit-Position: refs/heads/master@{#814234}
Showing
Please register or sign in to comment