3 #include "../../platform.h"
9 std::string name()
const override {
13 Resolution native_resolution()
const override {
17 if(SDL_GetDesktopDisplayMode(0, &mode) == -1) {
18 S_WARN(
"Unable to get the current desktop display mode!!");
19 S_WARN(
"{0}", SDL_GetError());
20 S_WARN(
"Falling back to 1080p");
23 native.refresh_rate = 60;
25 native.width = mode.w;
26 native.height = mode.h;
27 native.refresh_rate = mode.refresh_rate;
32 uint64_t available_ram_in_bytes()
const override {
33 return MEMORY_VALUE_UNAVAILABLE;
36 uint64_t total_ram_in_bytes()
const override {
37 return MEMORY_VALUE_UNAVAILABLE;
40 uint64_t available_vram_in_bytes()
const override {
41 return MEMORY_VALUE_UNAVAILABLE;
44 uint64_t process_ram_usage_in_bytes(ProcessID process_id)
const override {
45 _S_UNUSED(process_id);
46 return MEMORY_VALUE_UNAVAILABLE;