diff --git a/engine/src/flutter/shell/platform/android/android_surface_vulkan.cc b/engine/src/flutter/shell/platform/android/android_surface_vulkan.cc index f040f19d2c..05848f0427 100644 --- a/engine/src/flutter/shell/platform/android/android_surface_vulkan.cc +++ b/engine/src/flutter/shell/platform/android/android_surface_vulkan.cc @@ -65,7 +65,9 @@ bool AndroidSurfaceVulkan::ResourceContextMakeCurrent() { return false; } +// |shell::AndroidSurface| bool AndroidSurfaceVulkan::ResourceContextClearCurrent() { + FML_DLOG(ERROR) << "The vulkan backend does not support resource contexts."; return false; } diff --git a/engine/src/flutter/shell/platform/android/android_surface_vulkan.h b/engine/src/flutter/shell/platform/android/android_surface_vulkan.h index 79d83b57c6..3bec57febc 100644 --- a/engine/src/flutter/shell/platform/android/android_surface_vulkan.h +++ b/engine/src/flutter/shell/platform/android/android_surface_vulkan.h @@ -35,6 +35,9 @@ class AndroidSurfaceVulkan : public AndroidSurface { // |shell::AndroidSurface| bool ResourceContextMakeCurrent() override; + // |shell::AndroidSurface| + bool ResourceContextClearCurrent() override; + // |shell::AndroidSurface| bool SetNativeWindow(fml::RefPtr window) override;