Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ deps = {
'src/third_party/gyp':
Var('chromium_git') + '/external/gyp.git' + '@' + '4801a5331ae62da9769a327f11c4213d32fb0dad',

# Headers for Vulkan 1.0
# Headers for Vulkan 1.1
'src/third_party/vulkan':
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'e29c2489e238509c41aeb8c7bce9d669a496344b',
Var('github_git') + '/KhronosGroup/Vulkan-Docs.git' + '@' + 'v1.1.91',

'src/third_party/pkg/when':
Var('dart_git') + '/when.git' + '@' + '0.2.0',
Expand Down
17 changes: 14 additions & 3 deletions ci/licenses_golden/licenses_third_party
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Signature: fedb7db24a1a6d3e75988ebfaa58fe5c
Signature: fc569d77237ef4247eb7a93bb2c989be

UNUSED LICENSES:

Expand Down Expand Up @@ -466,8 +466,19 @@ FILE: ../../../third_party/dart/third_party/observatory_pub_packages/packages/qu
FILE: ../../../third_party/dart/third_party/observatory_pub_packages/packages/quiver/lib/src/time/util.dart
FILE: ../../../third_party/dart/third_party/observatory_pub_packages/packages/quiver/lib/strings.dart
FILE: ../../../third_party/dart/third_party/observatory_pub_packages/packages/quiver/lib/time.dart
FILE: ../../../third_party/vulkan/src/vulkan/vk_platform.h
FILE: ../../../third_party/vulkan/src/vulkan/vulkan.h
FILE: ../../../third_party/vulkan/include/vulkan/vk_platform.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_android.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_core.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_fuchsia.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_ios.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_macos.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_vi.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_wayland.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_win32.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_xcb.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_xlib.h
FILE: ../../../third_party/vulkan/include/vulkan/vulkan_xlib_xrandr.h
----------------------------------------------------------------------------------------------------
Apache License
Version 2.0, January 2004
Expand Down
4 changes: 2 additions & 2 deletions tools/licenses/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1903,8 +1903,8 @@ class RepositoryVulkanDirectory extends RepositoryDirectory {

@override
bool shouldRecurse(fs.IoNode entry) {
return entry.name != 'doc' // documentation
&& entry.name != 'out' // documentation
// Flutter only uses the headers in the include directory.
return entry.name == 'include'
&& super.shouldRecurse(entry);
}

Expand Down
4 changes: 4 additions & 0 deletions vulkan/vulkan_interface.cc
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,10 @@ std::string VulkanResultToString(VkResult result) {
return "VK_RESULT_RANGE_SIZE";
case VK_RESULT_MAX_ENUM:
return "VK_RESULT_MAX_ENUM";
case VK_ERROR_INVALID_EXTERNAL_HANDLE:
return "VK_ERROR_INVALID_EXTERNAL_HANDLE";
case VK_ERROR_OUT_OF_POOL_MEMORY:
return "VK_ERROR_OUT_OF_POOL_MEMORY";

#if VK_HEADER_VERSION >= 63
case VK_ERROR_NOT_PERMITTED_EXT:
Expand Down
2 changes: 2 additions & 0 deletions vulkan/vulkan_native_surface_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "flutter/vulkan/vulkan_native_surface_android.h"

#include <android/native_window.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you mean to stage this? This doesn't seem related to the vulkan stuff.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The old Vulkan headers were including android/native_window.h, but the new headers are not


#include "third_party/skia/include/gpu/vk/GrVkBackendContext.h"

namespace vulkan {
Expand Down