字段 | |
create | 会调用SDL_CreateTexture,该函数要执行SDL_UpdateTexture,它花费的时间基本花费在SDL_UpdateTexture |
RenderCopy | 花费在SDL_RenderCopy的时间 |
create2 | 创建目标图面,和opengl无关 |
ReadPixels | 花费在SDL_RenderReadPixels上时间 |
(750x1334)==>(640x1136) | 指示这次缩放的(源图像尺寸)==>(目标图像尺寸) |
soft | 缩放这个图像,scale_surface花费了的时间。相比opengl使用GPU,把它称为软缩放 |
gpu | 缩放这个图像,render_scale_surface花费了的时间,就是以上那几个时间之和 |
欢迎光临 SDL中文论坛 (http://www.libsdl.cn/bbs/) | Powered by Discuz! X3.3 |