View | Details | Raw Unified | Return to bug 230450 | Differences between
and this patch

Collapse All | Expand All

(-)www/chromium/files/patch-gpu_config_gpu__info__collector__freebsd.cc (-7 / +16 lines)
Lines 1-22 Link Here
1
--- gpu/config/gpu_info_collector_freebsd.cc.orig	2018-07-20 13:47:10.021258000 +0200
1
--- gpu/config/gpu_info_collector_freebsd.cc.orig	2018-08-13 21:50:38.978048000 +0200
2
+++ gpu/config/gpu_info_collector_freebsd.cc	2018-07-20 15:44:42.380444000 +0200
2
+++ gpu/config/gpu_info_collector_freebsd.cc	2018-08-13 21:54:59.868827000 +0200
3
@@ -0,0 +1,20 @@
3
@@ -0,0 +1,29 @@
4
+// Copyright 2017 The Chromium Authors. All rights reserved.
4
+// Copyright 2017 The Chromium Authors. All rights reserved.
5
+// Use of this source code is governed by a BSD-style license that can be
5
+// Use of this source code is governed by a BSD-style license that can be
6
+// found in the LICENSE file.
6
+// found in the LICENSE file.
7
+
7
+
8
+#include "base/trace_event/trace_event.h"
8
+#include "gpu/config/gpu_info_collector.h"
9
+#include "gpu/config/gpu_info_collector.h"
10
+#include "third_party/angle/src/gpu_info_util/SystemInfo.h"
9
+
11
+
10
+namespace gpu {
12
+namespace gpu {
11
+
13
+
12
+bool CollectContextGraphicsInfo(GPUInfo* gpu_info) {
14
+bool CollectContextGraphicsInfo(GPUInfo* gpu_info) {
13
+  NOTIMPLEMENTED();
15
+  DCHECK(gpu_info);
14
+  return false;
16
+
17
+  TRACE_EVENT0("gpu", "gpu_info_collector::CollectGraphicsInfo");
18
+
19
+  return CollectGraphicsInfoGL(gpu_info);
15
+}
20
+}
16
+
21
+
17
+bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
22
+bool CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
18
+  NOTIMPLEMENTED();
23
+  DCHECK(gpu_info);
19
+  return false;
24
+
25
+  angle::SystemInfo system_info;
26
+  bool success = angle::GetSystemInfo(&system_info);
27
+  FillGPUInfoFromSystemInfo(gpu_info, &system_info);
28
+  return success;
20
+}
29
+}
21
+
30
+
22
+
31
+

Return to bug 230450