forked from len0rd/rockbox
sdl: Keep texture around, upload LCD-parts only
No need to create a new texture for every rendered frame, unless the scaling method has been adjusted. We also don't need to upload the (unchanged) player interface to GPU memory repeatedly. + Remove unused lcd_display_redraw & having_new_lcd variables Change-Id: I5bff6aa2d54347a3f2c3afba8d8d7eb9e39f77f7
This commit is contained in:
parent
7aaa722a5d
commit
400452180d
8 changed files with 279 additions and 186 deletions
|
@ -74,6 +74,7 @@ target/hosted/sdl/lcd-bitmap.c
|
|||
target/hosted/sdl/lcd-remote-bitmap.c
|
||||
#endif
|
||||
target/hosted/sdl/lcd-sdl.c
|
||||
target/hosted/sdl/window-sdl.c
|
||||
target/hosted/sdl/system-sdl.c
|
||||
#ifdef HAVE_SDL_THREADS
|
||||
target/hosted/sdl/filesystem-sdl.c
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue