aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h')
-rw-r--r--www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h b/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
index 98166c85d195..82f282113b57 100644
--- a/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
+++ b/www/chromium/files/patch-third__party_angle_src_gpu__info__util_SystemInfo__internal.h
@@ -1,16 +1,13 @@
---- third_party/angle/src/gpu_info_util/SystemInfo_internal.h.orig 2021-04-14 18:42:58 UTC
+--- third_party/angle/src/gpu_info_util/SystemInfo_internal.h.orig 2022-02-07 13:39:41 UTC
+++ third_party/angle/src/gpu_info_util/SystemInfo_internal.h
-@@ -14,8 +14,13 @@
+@@ -14,6 +14,10 @@
namespace angle
{
-+bool CollectMesaCardInfo(std::vector<GPUDeviceInfo> *devices);
++#if defined(__OpenBSD__) || defined(__FreeBSD__)
++bool CollectMesaCardInfo(std::vector<GPUDeviceInfo> *devices);
++#endif
+
// Defined in SystemInfo_libpci when GPU_INFO_USE_LIBPCI is defined.
bool GetPCIDevicesWithLibPCI(std::vector<GPUDeviceInfo> *devices);
-+#if defined(__FreeBSD__)
-+bool GetPCIDevicesFreeBSD(std::vector<GPUDeviceInfo> *devices);
-+#endif
// Defined in SystemInfo_x11 when GPU_INFO_USE_X11 is defined.
- bool GetNvidiaDriverVersionWithXNVCtrl(std::string *version);
-