diff --git a/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc b/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc index 7cd757e5cc737ff3904e7c0116c4f0f034c31898..53bf3b3eae6cf5125e8d460943af5ffedc9dd85e 100644 --- a/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc +++ b/shell/platform/fuchsia/flutter/vulkan_surface_producer.cc @@ -12,7 +12,6 @@ #include #include "flutter/fml/trace_event.h" -#include "flutter/shell/common/context_options.h" #include "third_party/skia/include/gpu/GrBackendSemaphore.h" #include "third_party/skia/include/gpu/GrBackendSurface.h" #include "third_party/skia/include/gpu/GrDirectContext.h" @@ -138,8 +137,9 @@ bool VulkanSurfaceProducer::Initialize(scenic::Session* scenic_session) { backend_context.fPhysicalDevice, 0, nullptr, countof(device_extensions), device_extensions); backend_context.fVkExtensions = &vk_extensions; - const auto options = flutter::MakeDefaultContextOptions( - flutter::ContextType::kRender, GrBackendApi::kVulkan); + GrContextOptions options; + options.fReduceOpsTaskSplitting = GrContextOptions::Enable::kNo; + context_ = GrDirectContext::MakeVulkan(backend_context, options); if (context_ == nullptr) {