Skip to content

Conversation

@adriengivry
Copy link
Member

@adriengivry adriengivry commented Mar 2, 2025

Description

  • Created editor panel to debug textures with:
    • a combo box to select a texture
    • a combo box to select the scaling mode (1:1, 5%, 10%, ..., up to 800%)
  • Added a std::string to FramebufferContext and TextureContext to store a debug name for the object
  • Added a TextureRegistry class to track texture creation/destruction (registered as a service, and used by the TextureDebugger panel).
    • Since the TextureRegistry can be (and is) created right after the graphics driver, it can track ALL the texture creations/destructions, and report to the TextureDebugger once the latter is created, hence the interest in decoupling them.
  • Added static events (creation/destruction) to Texture for the TextureRegistry to listen to
  • Updated framebuffer and texture creations to set a debug name

To-Do

Screenshots

image

Videos

OvEditor_KNe5yuiTVu.mp4

@adriengivry adriengivry self-assigned this Mar 2, 2025
@adriengivry adriengivry added QoL Quality of Life : Something that can improve users productivity Editor Something relative with the editor Graphics Graphical feature labels Mar 2, 2025
Base automatically changed from feature/fully_agnostic_renderer to main March 31, 2025 22:09
@adriengivry adriengivry force-pushed the feature/editor_texture_debugger branch from ad24831 to c543f87 Compare March 31, 2025 22:19
@adriengivry adriengivry marked this pull request as ready for review March 31, 2025 22:20
@adriengivry adriengivry force-pushed the feature/editor_texture_debugger branch from c543f87 to f80adc2 Compare March 31, 2025 22:21
@adriengivry adriengivry merged commit a197af8 into main Apr 1, 2025
1 check passed
@adriengivry adriengivry deleted the feature/editor_texture_debugger branch April 1, 2025 02:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Editor Something relative with the editor Graphics Graphical feature QoL Quality of Life : Something that can improve users productivity

Development

Successfully merging this pull request may close these issues.

3 participants