李通洲
90ea096ca3
macOS: don't keep variable matchDict
2023-10-07 15:51:05 +08:00
李通洲
74233ac0cb
Temps (macOS): code refactors
2023-08-07 10:19:08 +08:00
李通洲
0e97df08c2
GPU (macOS): remove an unused #include
2023-06-28 09:39:48 +08:00
Carter Li
98985e9a27
GPU (macOS): fix typo
2023-06-25 23:40:20 +08:00
Carter Li
c6c6b2a0a6
GPU (macOS): fix vendor detection for Intel GPU
2023-06-25 23:35:51 +08:00
李通洲
d0f093c567
Global: make FFinstance instance a global variable
...
As discussed in https://github.com/fastfetch-cli/fastfetch/discussions/473
2023-06-24 17:28:05 +08:00
李通洲
c33eb8c265
GPU: support module options
2023-06-12 14:57:59 +08:00
李通洲
39582471e8
Global: major FFlist related code refactor
2023-06-10 09:15:15 +08:00
李通洲
2359b7e2f4
GPU: support JSON config
2023-06-10 09:15:15 +08:00
李通洲
56477f5ea6
GPU: be more careful to concat strings
2023-03-25 14:19:58 +08:00
李通洲
662ddac050
Vulkan: detect vmem ( #416 )
2023-02-11 16:05:54 +08:00
李通洲
b90d543afc
GPU (Windows): support vmem total / usage detection #416
...
vmem usage detection is guarded behind `--allow-slow-operations`
because it's really slow sometimes
2023-02-11 16:05:54 +08:00
李通洲
edf4837ed6
GPU: refactor vendor detection code
2023-02-06 14:55:57 +08:00
李通洲
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
Linus Dierheimer
670cf6fe90
GPU selection options
...
#379
2023-01-12 11:41:07 +01: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
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
李通洲
482e5a5eff
util/cf_helpers: rename; return error info if failed
2022-09-20 17:50:14 +08: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
Linus Dierheimer
8b7092e4d4
gpu_apple.c: Use Ascii encoding
2022-09-11 02:44:19 -07: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