Skip to content

The function call ShowDemoWindow of ImGui make FPS low #171

@onon1101

Description

@onon1101

Problem

As you can see, the FPS low when open the demo-window of ImGui

2024-04-08.224030.mp4

Ps: the Problem occur commit between 823926c and 22ef5ca

Steps to reproduce

git clone https://github.com/ntut-open-source-club/practical-tools-for-simple-design
cd practical-tools-for-simple-design
git checkout 823926c

cmake -Bbuild -G "Ninja" -DCMAKE_BUILD_TYPE=Debug
cmake --build build -j 32
./build/Sample

Expected behavior

It will keep 60fps in window.

PTSD version

commit 823926c

Operating system/version

Unix Window 11 24H2

CMake version

3.27.6

CMakeCache.txt

OpenGL Info

[info] OpenGL Info
 [info]   Vendor: NVIDIA Corporation
 [info]   Renderer: NVIDIA GeForce RTX 3060/PCIe/SSE2
 [info]   Version: 4.1.0 NVIDIA 537.13
 [info]   GLSL Version: 4.10 NVIDIA via Cg compiler

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    🆕 Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions