SDL/src/render/software
Sam Lantinga 5dcac4ccdf Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes
Sylvain

I think what happening with the software renderer is:

* you're somehow in background (so texture creation is not possible)
* it resizes and wants to push a SDL_WINDOWEVENT_SIZE_CHANGED
It call:
https://hg.libsdl.org/SDL/file/a010811d40dd/src/render/SDL_render.c#l683
* GetOutputSize
* SW_GetOutputSize
* SW_ActivateRenderer
* SDL_GetWindowSurface
* SDL_CreateWindowFramebuffer which is mapped to SDL_CreateWindowTexture
and it ends up re-creating the surface/a texture, while being in background
2019-06-18 10:08:19 -07:00
..
SDL_blendfillrect.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendfillrect.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendline.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendline.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendpoint.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_blendpoint.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_draw.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_drawline.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_drawline.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_drawpoint.c Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_drawpoint.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_render_sw.c Fixed 4669 - Using the software SDL_Renderer on Android leads to GL errors & black screen when window resizes 2019-06-18 10:08:19 -07:00
SDL_render_sw_c.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00
SDL_rotate.c Fixed bug 4188 - Software renderer SDL_RenderCopyEx blits corrupt image under certain cases 2018-10-30 07:00:03 -07:00
SDL_rotate.h Updated copyright for 2019 2019-01-04 22:01:14 -08:00