2023-03-26 20:42:18 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
// This file will be included in "fastfetch.h", do NOT put unnecessary things here
|
|
|
|
|
|
|
|
|
|
#include "common/option.h"
|
2024-01-20 14:10:13 +08:00
|
|
|
#include "common/percent.h"
|
2023-03-26 20:42:18 +08:00
|
|
|
|
|
|
|
|
typedef enum FFGPUType
|
|
|
|
|
{
|
|
|
|
|
FF_GPU_TYPE_UNKNOWN,
|
|
|
|
|
FF_GPU_TYPE_INTEGRATED,
|
|
|
|
|
FF_GPU_TYPE_DISCRETE,
|
|
|
|
|
} FFGPUType;
|
|
|
|
|
|
|
|
|
|
typedef struct FFGPUOptions
|
|
|
|
|
{
|
2023-08-17 10:56:54 +08:00
|
|
|
FFModuleBaseInfo moduleInfo;
|
2023-03-26 20:42:18 +08:00
|
|
|
FFModuleArgs moduleArgs;
|
|
|
|
|
|
|
|
|
|
FFGPUType hideType;
|
|
|
|
|
bool temp;
|
2023-12-20 14:59:27 +08:00
|
|
|
bool driverSpecific;
|
2023-03-26 20:42:18 +08:00
|
|
|
bool forceVulkan;
|
2024-02-26 16:39:41 +08:00
|
|
|
FFColorRangeConfig tempConfig;
|
2024-02-26 15:12:04 +08:00
|
|
|
FFColorRangeConfig percent;
|
2023-03-26 20:42:18 +08:00
|
|
|
} FFGPUOptions;
|