diff --git a/engine/src/flutter/vulkan/BUILD.gn b/engine/src/flutter/vulkan/BUILD.gn index c701763ea1..5a94bf0e48 100644 --- a/engine/src/flutter/vulkan/BUILD.gn +++ b/engine/src/flutter/vulkan/BUILD.gn @@ -11,7 +11,10 @@ config("vulkan_config") { include_dirs += [ "$fuchsia_sdk_root/vulkan/include" ] defines += [ "VK_USE_PLATFORM_FUCHSIA=1" ] } else { - include_dirs += [ "//third_party/vulkan/src" ] + include_dirs += [ + "//third_party/vulkan/src", + "//third_party/vulkan/include", + ] } } diff --git a/engine/src/flutter/vulkan/vulkan_application.cc b/engine/src/flutter/vulkan/vulkan_application.cc index 0f645af051..97012c49a6 100644 --- a/engine/src/flutter/vulkan/vulkan_application.cc +++ b/engine/src/flutter/vulkan/vulkan_application.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_application.h" @@ -15,7 +14,7 @@ namespace vulkan { VulkanApplication::VulkanApplication( - VulkanProcTable& p_vk, + VulkanProcTable& p_vk, // NOLINT const std::string& application_name, std::vector enabled_extensions, uint32_t application_version, diff --git a/engine/src/flutter/vulkan/vulkan_application.h b/engine/src/flutter/vulkan/vulkan_application.h index 3724929e0f..eb1d23f269 100644 --- a/engine/src/flutter/vulkan/vulkan_application.h +++ b/engine/src/flutter/vulkan/vulkan_application.h @@ -24,7 +24,7 @@ class VulkanProcTable; /// create a VkInstance (with debug reporting optionally enabled). class VulkanApplication { public: - VulkanApplication(VulkanProcTable& vk, + VulkanApplication(VulkanProcTable& vk, // NOLINT const std::string& application_name, std::vector enabled_extensions, uint32_t application_version = VK_MAKE_VERSION(1, 0, 0), diff --git a/engine/src/flutter/vulkan/vulkan_backbuffer.cc b/engine/src/flutter/vulkan/vulkan_backbuffer.cc index 15dfb39988..d8be29e51d 100644 --- a/engine/src/flutter/vulkan/vulkan_backbuffer.cc +++ b/engine/src/flutter/vulkan/vulkan_backbuffer.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_backbuffer.h" diff --git a/engine/src/flutter/vulkan/vulkan_command_buffer.cc b/engine/src/flutter/vulkan/vulkan_command_buffer.cc index 54962bad6d..c98a345fb3 100644 --- a/engine/src/flutter/vulkan/vulkan_command_buffer.cc +++ b/engine/src/flutter/vulkan/vulkan_command_buffer.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_command_buffer.h" diff --git a/engine/src/flutter/vulkan/vulkan_debug_report.cc b/engine/src/flutter/vulkan/vulkan_debug_report.cc index f8a5f3e2ad..1e54787536 100644 --- a/engine/src/flutter/vulkan/vulkan_debug_report.cc +++ b/engine/src/flutter/vulkan/vulkan_debug_report.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_debug_report.h" @@ -192,8 +191,9 @@ VulkanDebugReport::VulkanDebugReport( } VkDebugReportFlagsEXT flags = kVulkanErrorFlags; - if (ValidationLayerInfoMessagesEnabled()) + if (ValidationLayerInfoMessagesEnabled()) { flags |= kVulkanInfoFlags; + } const VkDebugReportCallbackCreateInfoEXT create_info = { .sType = VK_STRUCTURE_TYPE_DEBUG_REPORT_CREATE_INFO_EXT, .pNext = nullptr, diff --git a/engine/src/flutter/vulkan/vulkan_device.cc b/engine/src/flutter/vulkan/vulkan_device.cc index 49a8e96e7f..b4e0071b7e 100644 --- a/engine/src/flutter/vulkan/vulkan_device.cc +++ b/engine/src/flutter/vulkan/vulkan_device.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_device.h" diff --git a/engine/src/flutter/vulkan/vulkan_handle.cc b/engine/src/flutter/vulkan/vulkan_handle.cc index 375e9f9df0..eb15d9ff13 100644 --- a/engine/src/flutter/vulkan/vulkan_handle.cc +++ b/engine/src/flutter/vulkan/vulkan_handle.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_handle.h" diff --git a/engine/src/flutter/vulkan/vulkan_image.cc b/engine/src/flutter/vulkan/vulkan_image.cc index 6ba6bc2311..7f3b5eb9cd 100644 --- a/engine/src/flutter/vulkan/vulkan_image.cc +++ b/engine/src/flutter/vulkan/vulkan_image.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_image.h" diff --git a/engine/src/flutter/vulkan/vulkan_interface.cc b/engine/src/flutter/vulkan/vulkan_interface.cc index a1248061c3..5f0e67916e 100644 --- a/engine/src/flutter/vulkan/vulkan_interface.cc +++ b/engine/src/flutter/vulkan/vulkan_interface.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_interface.h" diff --git a/engine/src/flutter/vulkan/vulkan_native_surface.cc b/engine/src/flutter/vulkan/vulkan_native_surface.cc index 20aba0fd8d..4d10bf4a35 100644 --- a/engine/src/flutter/vulkan/vulkan_native_surface.cc +++ b/engine/src/flutter/vulkan/vulkan_native_surface.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_native_surface.h" diff --git a/engine/src/flutter/vulkan/vulkan_proc_table.cc b/engine/src/flutter/vulkan/vulkan_proc_table.cc index 1fe6d1dc86..9ed7c40b5c 100644 --- a/engine/src/flutter/vulkan/vulkan_proc_table.cc +++ b/engine/src/flutter/vulkan/vulkan_proc_table.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_proc_table.h" diff --git a/engine/src/flutter/vulkan/vulkan_surface.cc b/engine/src/flutter/vulkan/vulkan_surface.cc index ac4406289c..f410d43f81 100644 --- a/engine/src/flutter/vulkan/vulkan_surface.cc +++ b/engine/src/flutter/vulkan/vulkan_surface.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_surface.h" @@ -11,8 +10,8 @@ namespace vulkan { VulkanSurface::VulkanSurface( - VulkanProcTable& p_vk, - VulkanApplication& application, + VulkanProcTable& p_vk, // NOLINT + VulkanApplication& application, // NOLINT std::unique_ptr native_surface) : vk(p_vk), application_(application), diff --git a/engine/src/flutter/vulkan/vulkan_utilities.cc b/engine/src/flutter/vulkan/vulkan_utilities.cc index 2ad904bdfe..e6aa4180c6 100644 --- a/engine/src/flutter/vulkan/vulkan_utilities.cc +++ b/engine/src/flutter/vulkan/vulkan_utilities.cc @@ -1,7 +1,6 @@ // Copyright 2013 The Flutter Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// FLUTTER_NOLINT #include "vulkan_utilities.h" #include "flutter/fml/build_config.h"