diff --git a/content_handler/vulkan_rasterizer.h b/content_handler/vulkan_rasterizer.h index 3981b3c5ed7..abe27c01dee 100644 --- a/content_handler/vulkan_rasterizer.h +++ b/content_handler/vulkan_rasterizer.h @@ -97,6 +97,10 @@ class VulkanRasterizer : public Rasterizer { } ftl::RefPtr vk_; + std::unique_ptr application_; + std::unique_ptr logical_device_; + sk_sp backend_context_; + sk_sp context_; // These three containers hold surfaces in various stages of recycling @@ -121,11 +125,6 @@ class VulkanRasterizer : public Rasterizer { // Surfaces exist in pendind surfaces until they are released by the buffer // consumer std::unordered_map pending_surfaces_; - - sk_sp context_; - sk_sp backend_context_; - std::unique_ptr application_; - std::unique_ptr logical_device_; bool valid_; bool Initialize();