From 66366c697853e906d961ae691e2bc5209cdcfa62 Mon Sep 17 00:00:00 2001 From: Greg Daniel Date: Thu, 15 Jun 2017 15:25:38 -0400 Subject: Add API for flushing surfaces with gpu semaphores BUG=skia: Change-Id: Ia4bfef784cd5f2516ceccafce958be18a86f91d1 Reviewed-on: https://skia-review.googlesource.com/11488 Commit-Queue: Greg Daniel Reviewed-by: Brian Salomon Reviewed-by: Forrest Reiling --- tests/OnFlushCallbackTest.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/OnFlushCallbackTest.cpp') diff --git a/tests/OnFlushCallbackTest.cpp b/tests/OnFlushCallbackTest.cpp index f4dd25f3fe..81cd5daa1d 100644 --- a/tests/OnFlushCallbackTest.cpp +++ b/tests/OnFlushCallbackTest.cpp @@ -9,6 +9,7 @@ #if SK_SUPPORT_GPU +#include "GrBackendSemaphore.h" #include "GrClip.h" #include "GrContextPriv.h" #include "GrDefaultGeoProcFactory.h" @@ -575,7 +576,7 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(OnFlushCallbackTest, reporter, ctxInfo) { rtc->drawRect(GrNoClip(), std::move(paint), GrAA::kNo, SkMatrix::I(), r); } - rtc->prepareForExternalIO(); + rtc->prepareForExternalIO(0, nullptr); SkBitmap readBack; readBack.allocN32Pixels(kFinalWidth, kFinalHeight); -- cgit v1.2.3