李通洲
dcf04aa4fe
GPU: detect type based on vendor
2023-01-13 15:44:52 +08:00
李通洲
67ab7c0779
GPU: support vendor detection
2023-01-13 15:20:30 +08:00
李通洲
53c6a0ec9f
GPU: apply GPU type selection logic to Windows
2023-01-12 22:19:14 +08:00
Linus Dierheimer
1a710e4094
Better GPU type detection nr2
...
#379
2023-01-12 12:56:17 +01:00
Linus Dierheimer
5a90d8b545
Better GPU type detection
...
#379
2023-01-12 12:54:04 +01:00
Linus Dierheimer
670cf6fe90
GPU selection options
...
#379
2023-01-12 11:41:07 +01:00
Linus Dierheimer
2a092de8d8
Detect data dirs at runtime
...
* Respecting the current platform
* Using them where appropiate
2023-01-08 01:41:09 +01:00
李通洲
eeb008f505
Global: replace all ".so" to FF_LIBRARY_EXTENSION
...
... no matter whether the libraries are linux specific or not
2022-12-17 12:22:11 +08:00
李通洲
4cf1d5bf94
util: rename unicode helper function names
2022-11-27 12:21:32 +08:00
李通洲
772dd1e294
GPU: improve performance (Windows)
2022-11-23 15:38:59 +08:00
李通洲
e8e586ce7c
Windows / macOS: simplify code
...
1. simplify resource management by using C++ RAII like GCC attribute extension `cleanup`
2. simplify HEKY reading
Actually `__attribute__((__cleanup__(cleanupFn)))` is supported on all major C compiler ( gcc, clang and icc ) except MSVC I only used it on Windows and macOS for now. Let's see if the project author like it.
2022-11-17 19:54:36 +08:00
李通洲
38b3aae1e3
Windows: simplify WMI query code
...
by making C++ code more C++
2022-10-17 00:17:26 +08:00
李通洲
5e3e2b6137
Windows: fix possible crashes
2022-10-12 00:19:31 +08:00
李通洲
f2540f00a5
Address some feedbacks
2022-10-09 23:23:46 +08:00
李通洲
49921f5ed1
Disk: add support for Windows
...
Also major refactoring of util/windows/wmi
2022-10-09 15:37:14 +08:00
李通洲
0d3d881c24
GPU: add support for Windows
2022-10-06 23:03:19 +08:00
Carter Li
fcbeecb0d5
Temps: test & fix temp detection on Intel ( macOS )
2022-10-01 00:29:51 +08:00
李通洲
100e59fd49
Temps: add options to enable detection ( disabled by default )
2022-09-26 15:29:11 +08:00
李通洲
51c70bc44a
Temps: support macOS
2022-09-26 15:29:11 +08:00
Linus Dierheimer
f5ac85c4e3
Only detect temps if --allow-slow-operations is given
2022-09-24 15:59:36 +02:00
Linus Dierheimer
98c94b01e5
Some more standard comformance
2022-09-23 11:51:16 +02:00
Linus Dierheimer
fea4a9dfd5
Fix build with ancient libpci versions
...
#248
2022-09-21 12:02:14 +02:00
李通洲
482e5a5eff
util/cf_helpers: rename; return error info if failed
2022-09-20 17:50:14 +08:00
Linus Dierheimer
f0cee064bd
Basic BSD support
2022-09-19 23:16:43 +02:00
Linus Dierheimer
34b273186a
FF_LIBRARY_LOAD: don't implicit create pointer
2022-09-19 18:00:19 +02:00
Linus Dierheimer
55f28ae8ff
Fix build with older libpci versions the second
2022-09-19 16:58:25 +02:00
Linus Dierheimer
fb3eb9666e
Fix build with older libpci versions
2022-09-19 16:43:43 +02:00
Linus Dierheimer
d29d99bd6d
Use pci_fill_info when possible
2022-09-19 15:54:27 +02:00
Carter Li
45d6f21402
GPU: better support Intel GPUs
2022-09-17 03:02:03 +08:00
Carter Li
4d569db0fd
refactor: use MACH_PORT_NULL instead of magic number 0
2022-09-17 03:02:03 +08:00
Carter Li
d46f9ab4dc
util/cfdict_helpers: code improvements
...
1. simplify CFString usage
2. support get string from CFDataRef
2022-09-17 03:01:24 +08:00
Carter Li
bb3689b348
GPU: fix Intel compatibility
2022-09-17 01:49:00 +08:00
李通洲
09f3bd5a79
GPU: correct detection of Apple M1 GPU
...
Don't cheat
2022-09-16 23:43:08 +08:00
Linus Dierheimer
5e5c144582
Fix build on apple
2022-09-14 09:51:08 -07:00
Linus Dierheimer
ac330430bf
Link apple frameworks at compile time
2022-09-14 14:55:28 +02:00
李通洲
93ac3f1971
Library: simplify macros
2022-09-12 21:10:05 +08:00
Linus Dierheimer
8b7092e4d4
gpu_apple.c: Use Ascii encoding
2022-09-11 02:44:19 -07:00
Linus Dierheimer
a926c9cf7e
Use vulkan as gpu fallback on all platforms
2022-09-09 20:43:24 +02:00
Linus Dierheimer
9466ee3e51
Even better GPU names
2022-09-09 17:53:19 +02:00
Linus Dierheimer
126c1a10bb
Correctly handle GPU names with multiple ']'
2022-09-09 17:48:55 +02:00
Linus Dierheimer
425e135bd8
Reintroduce gpu name modification
2022-09-09 17:47:16 +02:00
Linus Dierheimer
0a675fec8c
Give libpci a bigger buffer to work with
...
#224
2022-09-09 17:40:08 +02:00
Linus Dierheimer
2c5b079b97
Apple M1 GPU support
2022-09-09 05:40:27 -07:00
Linus Dierheimer
0be1a41b5c
Update gpu_apple.c
2022-09-08 17:33:29 +02:00
Linus Dierheimer
58f436d8a2
Apple GPU: Set length of name buffer
2022-09-07 06:40:47 -07:00
Linus Dierheimer
47d1f2e673
Try to fix gpu_apple
...
#222
2022-09-07 06:37:35 -07:00
Linus Dierheimer
0b3bf3c273
Only build display server code on linux
2022-09-06 15:42:37 +02:00
Linus Dierheimer
10973dd9d1
Better MacOS GPU support
2022-09-06 02:28:32 -07:00
Linus Dierheimer
dfdffec1c9
MacOS GPU support
2022-09-05 13:41:05 -07:00
Linus Dierheimer
54cb74c999
Separate gpu detection and printing logic
2022-09-05 17:42:42 +02:00