Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
那可能吗?因为我需要在其上以至少 35 fps 的速度绘制带有移动物体的照片背景。每帧重绘整个背景都必须花费大量资源,即使是很短的时间?(动态壁纸)
我试图仅在每个移动对象的 Rect 处重绘背景,但这只会使屏幕的这些部分闪烁。
好吧,无论如何,做这些优化似乎没有什么大的收获。
闪烁当然是因为双缓冲,有两个缓冲区要擦除,所以闪烁。