lite-xl/src
Francesco Abbate 4c99a18341 More accurate update rects / show window / present sequence
For the option when we use the SDL_Renderer we change:

- the order of calls to SDL_DestroyTexture/Renderer.
  Reported by valgrind on linux as an error to destroy the
  renderer before the texture.
- the SDL_Renderer and texture are created when the surface is
  initialized before the window is shown

It seems that creating the SDL_Renderer and Texture between the
moment the window was shown and the renderer present was introducing
a flashing blank window because of the time taken to create the
renderer/texture resources.
2021-05-06 09:00:36 +02:00
..
api Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
bundle_open.m Add momentum scroll for macos 2021-04-21 09:52:16 +02:00
fontdesc.c Add assert if font loading fails during rendering 2021-04-27 11:56:02 +02:00
fontdesc.h Cleanup FontDesc struct and implementation 2021-04-26 15:56:18 +02:00
main.c Ensure the rencache commands buffer is cleared on restart 2021-05-05 09:32:24 +02:00
meson.build Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
rencache.c Ensure the rencache commands buffer is cleared on restart 2021-05-05 09:32:24 +02:00
rencache.h Ensure the rencache commands buffer is cleared on restart 2021-05-05 09:32:24 +02:00
renderer.c Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
renderer.h Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00
renwindow.c More accurate update rects / show window / present sequence 2021-05-06 09:00:36 +02:00
renwindow.h Make usage of SDL renderer optional 2021-04-29 14:15:24 +02:00