3 #include "../../platform.h"
10 std::string name()
const override {
14 Resolution native_resolution()
const override {
18 if(SDL_GetDesktopDisplayMode(0, &mode) == -1) {
19 S_WARN(
"Unable to get the current desktop display mode!!");
20 S_WARN(
"{0}", SDL_GetError());
21 S_WARN(
"Falling back to 1080p");
24 native.refresh_rate = 60;
26 native.width = mode.w;
27 native.height = mode.h;
28 native.refresh_rate = mode.refresh_rate;
33 uint64_t available_ram_in_bytes()
const override {
34 return MEMORY_VALUE_UNAVAILABLE;
37 uint64_t total_ram_in_bytes()
const override {
38 return MEMORY_VALUE_UNAVAILABLE;
41 uint64_t available_vram_in_bytes()
const override {
42 return MEMORY_VALUE_UNAVAILABLE;
45 uint64_t process_ram_usage_in_bytes(ProcessID process_id)
const override {
46 _S_UNUSED(process_id);
47 return MEMORY_VALUE_UNAVAILABLE;