forked from firka/flutter
Fix Android Vulkan builds to account for resource context management API updates. (flutter/engine#6020)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user