[PR #598] [MERGED] Dear ImGui Implementation #1659

Closed
opened 2026-02-27 21:13:27 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/598
Author: @viniciuslrangel
Created: 8/26/2024
Status: Merged
Merged: 9/8/2024
Merged by: @raphaelthegreat

Base: mainHead: imgui_dream


📝 Commits (7)

  • c7cd18a added imgui as dependency
  • de08bbc imgui renderer/basic input implementation
  • 60d8f41 imgui: add layers system
  • 752e403 imgui: add custom imgui config
  • d6c0943 imgui: gamepad capture, stopping propagation
  • 7c7b85e imgui: changed config & log file path to use portable dir
  • cb5f8e7 videoout: render blank frame when video output is closed

📊 Changes

23 files changed (+2386 additions, -8 deletions)

View changed files

📝 .gitmodules (+5 -0)
📝 CMakeLists.txt (+18 -1)
📝 externals/CMakeLists.txt (+11 -0)
externals/dear_imgui (+1 -0)
📝 src/common/assert.cpp (+5 -0)
📝 src/common/logging/filter.cpp (+1 -0)
📝 src/common/logging/types.h (+1 -0)
📝 src/core/libraries/videoout/driver.cpp (+13 -5)
📝 src/core/libraries/videoout/driver.h (+1 -0)
src/imgui/imgui_config.h (+29 -0)
src/imgui/imgui_layer.h (+21 -0)
src/imgui/layer/video_info.cpp (+16 -0)
src/imgui/layer/video_info.h (+23 -0)
src/imgui/renderer/imgui_core.cpp (+213 -0)
src/imgui/renderer/imgui_core.h (+31 -0)
src/imgui/renderer/imgui_impl_sdl3.cpp (+789 -0)
src/imgui/renderer/imgui_impl_sdl3.h (+31 -0)
src/imgui/renderer/imgui_impl_vulkan.cpp (+1107 -0)
src/imgui/renderer/imgui_impl_vulkan.h (+43 -0)
📝 src/sdl_window.cpp (+6 -0)

...and 3 more files

📄 Description

Press F10 to show FPS 😄

  • Add core headers
  • Adapt SDL3 & Vulkan backend
  • Integrate to driver pipeline
  • Basic input handling (keyboard/mouse)
  • Gamepad capture
  • Layer abstraction
  • Basic video information layer (frame timing)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/598 **Author:** [@viniciuslrangel](https://github.com/viniciuslrangel) **Created:** 8/26/2024 **Status:** ✅ Merged **Merged:** 9/8/2024 **Merged by:** [@raphaelthegreat](https://github.com/raphaelthegreat) **Base:** `main` ← **Head:** `imgui_dream` --- ### 📝 Commits (7) - [`c7cd18a`](https://github.com/shadps4-emu/shadPS4/commit/c7cd18a2868a037470c0957c5d9fe6854f6bf68d) added imgui as dependency - [`de08bbc`](https://github.com/shadps4-emu/shadPS4/commit/de08bbc75d513e6c5bdd88f331cc5401b6bf5137) imgui renderer/basic input implementation - [`60d8f41`](https://github.com/shadps4-emu/shadPS4/commit/60d8f41181ea4621899b1cebfeffcf8663e2a9e3) imgui: add layers system - [`752e403`](https://github.com/shadps4-emu/shadPS4/commit/752e4032c63db01bc7165a1599c1ef3f6194f3ec) imgui: add custom imgui config - [`d6c0943`](https://github.com/shadps4-emu/shadPS4/commit/d6c09437205eb7b05b2efdcc3a00b20b38468ddf) imgui: gamepad capture, stopping propagation - [`7c7b85e`](https://github.com/shadps4-emu/shadPS4/commit/7c7b85ed7fb325b3fef7156aa700ffd6093e2750) imgui: changed config & log file path to use portable dir - [`cb5f8e7`](https://github.com/shadps4-emu/shadPS4/commit/cb5f8e73a12c8ee94f72a054326eb5d62dcb22b1) videoout: render blank frame when video output is closed ### 📊 Changes **23 files changed** (+2386 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `.gitmodules` (+5 -0) 📝 `CMakeLists.txt` (+18 -1) 📝 `externals/CMakeLists.txt` (+11 -0) ➕ `externals/dear_imgui` (+1 -0) 📝 `src/common/assert.cpp` (+5 -0) 📝 `src/common/logging/filter.cpp` (+1 -0) 📝 `src/common/logging/types.h` (+1 -0) 📝 `src/core/libraries/videoout/driver.cpp` (+13 -5) 📝 `src/core/libraries/videoout/driver.h` (+1 -0) ➕ `src/imgui/imgui_config.h` (+29 -0) ➕ `src/imgui/imgui_layer.h` (+21 -0) ➕ `src/imgui/layer/video_info.cpp` (+16 -0) ➕ `src/imgui/layer/video_info.h` (+23 -0) ➕ `src/imgui/renderer/imgui_core.cpp` (+213 -0) ➕ `src/imgui/renderer/imgui_core.h` (+31 -0) ➕ `src/imgui/renderer/imgui_impl_sdl3.cpp` (+789 -0) ➕ `src/imgui/renderer/imgui_impl_sdl3.h` (+31 -0) ➕ `src/imgui/renderer/imgui_impl_vulkan.cpp` (+1107 -0) ➕ `src/imgui/renderer/imgui_impl_vulkan.h` (+43 -0) 📝 `src/sdl_window.cpp` (+6 -0) _...and 3 more files_ </details> ### 📄 Description Press F10 to show FPS 😄 - [x] Add core headers - [x] Adapt SDL3 & Vulkan backend - [x] Integrate to driver pipeline - [x] Basic input handling (keyboard/mouse) - [x] Gamepad capture - [x] Layer abstraction - [x] Basic video information layer (frame timing) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:13:27 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#1659
No description provided.