kicad/common/gal
Jeff Young f35a88ce0b 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
2023-05-27 16:32:11 +01:00
..
cairo Yeet the last of wxSize/wxPoint to stop leaking gdicmn everywhere 2023-02-18 22:57:18 -05:00
opengl Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
shaders Cleanup naming of shader params/uniforms 2022-05-19 07:49:24 -04:00
CMakeLists.txt Revert "Modernizes search for Cairo, Fontconfig, Freetype, HarfBuzz and Pixman" 2023-04-07 10:12:43 -07:00
color4d.cpp Fix a bunch of C5266 warnings (pointless const on bool/int returns) 2023-05-18 21:35:06 -04:00
cursors.cpp Fix a bunch of C5266 warnings (pointless const on bool/int returns) 2023-05-18 21:35:06 -04:00
dpi_scaling.cpp Improve HiDPI handling of appearance/layer controls 2023-02-22 09:20:36 -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