Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

sdl: adjust texture access pattern to "frequently"

probably doesn't make much of a difference
for our use case but should prevent creation
of temp buffers

Change-Id: Ie2cbefcbd7b8f94bed340f08bf71f764a32ed1ea

+1 -1
+1 -1
firmware/target/hosted/sdl/window-sdl.c
··· 99 99 get_window_dimensions(&w, &h); 100 100 SDL_RenderSetLogicalSize(sdlRenderer, w, h); 101 101 if ((gui_texture = SDL_CreateTexture(sdlRenderer, SDL_MasksToPixelFormatEnum(depth, 102 - 0, 0, 0, 0), SDL_TEXTUREACCESS_STATIC, w, h)) == NULL) 102 + 0, 0, 0, 0), SDL_TEXTUREACCESS_STREAMING, w, h)) == NULL) 103 103 panicf("%s", SDL_GetError()); 104 104 105 105 if (SDL_GetWindowFlags(window) & SDL_WINDOW_RESIZABLE)