I have been using sdl_gfx ( sdl2 extension library https://github.com/ferzkopp/SDL_gfx ) to make Android games, I have always noticed that rendering primitives is so slow.
So I was rendering it once to a texture then drawing the texture on each frame to the screen, but now I'm working on a game project in which that method is not possible.
I am looking for an alternative, is there a way to render primitives ( with alpha ) on Android using SDL2? A crossplatform method (not GLES). sdl_gfx is fine but soooo slow (double slow on Android but even under Windows so slow) I think that's because it is using the SDL2 renderer to render to the screen, by calculating the pixels of the primitive and draw each pixel to the screen, so it is using the CPU not GPU (software rendering), that makes it so slow.