We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delay_fps(120); 在1200800一切正常 切换到38402160特别卡顿,尤其是getmouse()时 稳定复现
The text was updated successfully, but these errors were encountered:
可以贴一下你的代码。 所谓的卡顿, 大概率是你代码的问题
Sorry, something went wrong.
复现成功 EGE20.08 GCC10.3x64
代码: #include #include <graphics.h> using namespace std; int main() { initgraph(-1,-1,INIT_NOBORDER); setfont(getheight(),0,"Segoe UI Variable Display"); for(;;delay_fps(120)) { cleardevice(); xyprintf(0,0,"%2f",getfps()); } return 0; }
delay_fps(120); 在1200_800一切正常 切换到3840_2160特别卡顿,尤其是getmouse()时 稳定复现
因为 ege 目前是纯 cpu(?)渲染的,所以 ege 性能和你处理器性能是挂钩的,在我的电脑上 12700H+32G ram,显示 2.8K 尺寸或者是 4K 尺寸分辨率,运行你的测试程序, 前者可以稳定运行在 120 fps附近,后者掉落到 90fps,仍高于我显示器的刷新帧率
wysaid
No branches or pull requests
delay_fps(120);
在1200800一切正常
切换到38402160特别卡顿,尤其是getmouse()时
稳定复现
The text was updated successfully, but these errors were encountered: