kicad/common/gal/opengl
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
..
SmaaAreaTex.h Add smaa (subsample morphological antialiasing) 2017-01-11 16:20:37 +01:00
SmaaSearchTex.h Add smaa (subsample morphological antialiasing) 2017-01-11 16:20:37 +01:00
antialiasing.cpp Move all the shaders to glsl files (and fix the processor more) 2022-05-12 23:37:44 -04:00
antialiasing.h Further simplification of AA regime 2021-06-08 17:20:41 -07:00
bitmap_font_desc.c Move builtin font resources out of opengl_gal translation unit 2017-01-11 16:20:33 +01:00
bitmap_font_img.c Move builtin font resources out of opengl_gal translation unit 2017-01-11 16:20:33 +01:00
cached_container.cpp Fix compil on msys2 (Structured Exception Handling not really supported) 2023-02-05 10:39:25 +01:00
cached_container_gpu.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
cached_container_ram.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
font-specification.svg update font code along with the changes done in the msdf atlas tool (use codepoint spans and refined char placement) 2016-10-20 14:31:09 +02:00
gl_resources.cpp Formatting. 2022-01-11 14:34:16 +00:00
gl_resources.h OpenGL antialising code clean up & formatting 2017-01-11 16:20:37 +01:00
gpu_manager.cpp Replace PROF_COUNTER with PROF_TIMER in some conditional places. 2022-09-27 14:07:47 +00:00
noncached_container.cpp Start expunging NULL. 2021-07-15 15:44:45 -04:00
opengl_compositor.cpp Cleanup. 2021-10-03 19:42:29 +01:00
opengl_gal.cpp Cache LIB_PIN text extents for performance. 2023-05-27 16:32:11 +01:00
shader.cpp Fix a bunch of compiler warnings 2023-04-11 17:01:30 +00:00
ubuntu-font-licence-1.0.txt Added licence for the GAL bitmap font 2016-08-03 17:02:43 +02:00
utils.cpp Cleanup. 2021-10-03 19:42:29 +01:00
vertex_container.cpp GAL memory allocation fixes. 2021-02-22 08:15:09 -05:00
vertex_item.cpp GAL code cleaning. 2021-02-16 17:25:27 -05:00
vertex_manager.cpp Remove unneeded assert 2022-11-04 11:49:50 -07:00