Remove GrPrepareForExternalIORequests from flush.
Now that we have the GrContext setBackendTextureState calls we no longer
need these to be on flush.
Bug: skia:10254
Change-Id: I7c44667a327de11dd853e3e71b114959a7bcee86
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/295447
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Greg Daniel <egdaniel@google.com>
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp
index 574b4ef..abd25a7 100644
--- a/src/gpu/GrContext.cpp
+++ b/src/gpu/GrContext.cpp
@@ -308,8 +308,7 @@
////////////////////////////////////////////////////////////////////////////////
-GrSemaphoresSubmitted GrContext::flush(const GrFlushInfo& info,
- const GrPrepareForExternalIORequests& externalRequests) {
+GrSemaphoresSubmitted GrContext::flush(const GrFlushInfo& info) {
ASSERT_SINGLE_OWNER
if (this->abandoned()) {
if (info.fFinishedProc) {
@@ -322,7 +321,7 @@
}
bool flushed = this->drawingManager()->flush(
- nullptr, 0, SkSurface::BackendSurfaceAccess::kNoAccess, info, externalRequests);
+ nullptr, 0, SkSurface::BackendSurfaceAccess::kNoAccess, info);
if (!flushed || (!this->priv().caps()->semaphoreSupport() && info.fNumSemaphores)) {
return GrSemaphoresSubmitted::kNo;