diff options
Diffstat (limited to 'tests/SurfaceSemaphoreTest.cpp')
-rw-r--r-- | tests/SurfaceSemaphoreTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/SurfaceSemaphoreTest.cpp b/tests/SurfaceSemaphoreTest.cpp index 72e8e05401..e9122bb464 100644 --- a/tests/SurfaceSemaphoreTest.cpp +++ b/tests/SurfaceSemaphoreTest.cpp @@ -99,14 +99,11 @@ void surface_semaphore_test(skiatest::Reporter* reporter, const sk_gpu_test::ContextInfo& mainInfo, const sk_gpu_test::ContextInfo& childInfo1, const sk_gpu_test::ContextInfo& childInfo2) { - GrContext* mainCtx = mainInfo.grContext(); - if (!mainCtx->caps()->fenceSyncSupport()) { - return; - } const SkImageInfo ii = SkImageInfo::Make(MAIN_W, MAIN_H, kRGBA_8888_SkColorType, kPremul_SkAlphaType); + GrContext* mainCtx = mainInfo.grContext(); sk_sp<SkSurface> mainSurface(SkSurface::MakeRenderTarget(mainCtx, SkBudgeted::kNo, ii, 0, kTopLeft_GrSurfaceOrigin, nullptr)); |