-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gfx/rs90: Optimise layout of sdl_rs90_video
Move frequently accessed member variables to the beginning of the structure to improve cache locality. Having menu_texture at the end of the structure also saves one instruction in the hot path of sdl_rs90_gfx_frame() (for the ARMv5TE Miyoo) as well as a few other functions.
- Loading branch information
1 parent
78e7d23
commit 55b77cb
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters