virtualx-engine/servers/visual
lawnjelly a0c6d16c90 Add editor vital redraws only option
When editor continuous redraws is switched off, the editor only redraws when a redraw_request was issued by an element in the scene. This works well in most situations, but when scenes have dynamic content they will continuously issue redraw_requests.

This can be fine on high power desktops but can be an annoyance on lower power machines.

This PR splits redraw requests into high and low priority requests, defaulting to high priority. Requests due to e.g. shaders using TIME are assigned low priority.

An extra editor setting is used to record the user preference and an extra option is added to the editor spinner menu, to allow the user to select between 3 modes:

* Continuous
* Update all changes
* Update vital changes
2022-02-02 11:26:45 +00:00
..
portals Add OccluderShapePolygon 2022-02-01 11:31:06 +00:00
rasterizer.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
rasterizer.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
SCsub Portal occlusion culling 2021-07-14 11:43:23 +01:00
shader_language.cpp Backport some changes to 3.x shaders 2022-01-25 10:34:57 +03:00
shader_language.h Backport some changes to 3.x shaders 2022-01-25 10:34:57 +03:00
shader_types.cpp Backport some changes to 3.x shaders 2022-01-25 10:34:57 +03:00
shader_types.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_canvas.cpp Add editor vital redraws only option 2022-02-02 11:26:45 +00:00
visual_server_canvas.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_globals.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_globals.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_raster.cpp Add editor vital redraws only option 2022-02-02 11:26:45 +00:00
visual_server_raster.h Add editor vital redraws only option 2022-02-02 11:26:45 +00:00
visual_server_scene.cpp Add editor vital redraws only option 2022-02-02 11:26:45 +00:00
visual_server_scene.h Add OccluderShapePolygon 2022-02-01 11:31:06 +00:00
visual_server_viewport.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_viewport.h Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_wrap_mt.cpp Update copyright statements to 2022 2022-01-13 15:54:13 +01:00
visual_server_wrap_mt.h Add editor vital redraws only option 2022-02-02 11:26:45 +00:00