kicad/common/gal
Jeff Young 16f286735d Cache LIB_PIN text extents for performance.
Also fixes a bug where we didn't triangulate at all when the char
count didn't warrant the likely overhead of spinning up a
thread_pool.

And fix another bug where EDA_TEXT::GetRenderCache() wasn't using
the given font.

Also reverts using the cache for drawing-sheet text.  The text
items are created from scratch from the data items each time
they're drawn, so there's never an existing cache to make use of.
Instead, we now check that the item is in the view, using a very
approximate bounding box generator (because even generating a
real bounding box shows up large in profiles).

And, lastly, fixes a bug where EndPos was never considered in
DS_DATA_ITEM::IsInsidePage().

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14822

(cherry picked from commit f35a88ce0b)
2023-06-04 21:11:06 +01:00
..
cairo Add/fix some variable initializations 2022-09-25 00:48:38 +01:00
opengl Cache LIB_PIN text extents for performance. 2023-06-04 21:11:06 +01:00
shaders Cleanup naming of shader params/uniforms 2022-05-19 07:49:24 -04:00
CMakeLists.txt Use our own cmake module path variable to avoid conflicting with the main ones listy functional 2023-01-03 19:18:16 -05:00
color4d.cpp Don't reset alpha when specified in hex value. 2023-04-29 17:52:50 +01:00
cursors.cpp Some more wxS 2023-01-16 19:07:50 -05:00
dpi_scaling.cpp Improve HiDPI handling of appearance/layer controls 2023-03-07 08:49:06 -05:00
gal_display_options.cpp Some more wxS 2023-01-16 19:07:50 -05:00
graphics_abstraction_layer.cpp Overhaul bitmap text for performance. 2022-05-14 20:09:54 +01:00
hidpi_gl_3D_canvas.cpp 3D viewer: Fix incorrect behavior when moving the scene 2022-07-30 13:27:25 +02:00
hidpi_gl_canvas.cpp Convert mouse coordinates to native pixesl in the 3D viewer 2021-10-10 17:52:12 +01:00