Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUI2/Canvas: refactor surface blitting out of drawing routines
This entirely refactors surface blitting out of the canvas. Instead, each canvas owns a texture. This texture is completely redrawn any time the canvas if marked dirty, else the result is cached and drawn to the screen each draw cycle. All windows are now redrawn every draw cycle. The use of the cached canvas textures means there's no noticeable performance difference (likely a performance gain, actually) from using surface blitting. There's still some code to clean up and a few things to fix.
- Loading branch information