Fix Android Vulkan builds to account for resource context management API updates. (flutter/engine#6020)

This commit is contained in:
Chinmay Garde
2018-08-14 22:20:05 -07:00
committed by GitHub
parent 60d7cbe10d
commit 33485e47de
2 changed files with 5 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -35,6 +35,9 @@ class AndroidSurfaceVulkan : public AndroidSurface {
// |shell::AndroidSurface|
bool ResourceContextMakeCurrent() override;
// |shell::AndroidSurface|
bool ResourceContextClearCurrent() override;
// |shell::AndroidSurface|
bool SetNativeWindow(fml::RefPtr<AndroidNativeWindow> window) override;