qt6-bb10/src/gui
Lars Knoll afb326f071 Refactor lockedAlphaMapForGlyph
Simply return a Glyph pointer and not a QImage to avoid allocating and
deleting lots of d pointers for QImage when drawing text. Saves one
new/delete pair per glyph drawn and speeds up text drawing by 10% for
relatively large glyphs (probably more for smaller ones).

The qtext::paintLayoutToPixmap() benchmark shows a 16% improvement
in performance with this change.

Renamed the method to glyphData().

Change-Id: I7a353de521e4f4321c770fb1ac6043d33f6f332c
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2019-08-08 11:18:02 +02:00
..
accessible Add accessibility notification role 2019-06-12 10:29:45 +02:00
animation Modernize the "animation" feature 2018-10-12 14:26:15 +00:00
doc Document how to use CMake on Qt Core, Qt GUI's central pages 2019-05-07 07:46:21 +00:00
image QPixmapCache: guard against usage from non-main threads 2019-07-10 12:43:23 +02:00
itemmodels Documentation: Add \nullptr macro and use where applicable 2019-01-10 22:16:07 +00:00
kernel eglfs: Fix raster windows 2019-08-07 11:46:19 +00:00
math3d QVector3D: fix documentation spelling error 2019-06-19 10:25:57 +02:00
opengl Enable shader cache for ES2 when GL_OES_get_program_binary is present 2019-07-25 01:49:48 -05:00
painting Refactor lockedAlphaMapForGlyph 2019-08-08 11:18:02 +02:00
text Refactor lockedAlphaMapForGlyph 2019-08-08 11:18:02 +02:00
util Only generate temporaries when it makes sense 2019-05-02 12:47:05 +00:00
vulkan Doc: Move literal code block to a separate file 2018-10-15 10:55:18 +00:00
Qt5GuiConfigExtras.cmake.in Fix generation of the Qt5::GLESv2 target on ARM 2019-03-05 13:31:42 +00:00
QtGui.dynlist
configure.json configure: skip Freetype/Fontconfig autodetection only on MSVC 2019-05-03 17:00:42 +00:00
configure.pri Fix determination of OpenGL include paths on macOS, take 3 2019-04-27 07:32:53 +00:00
gui.pro Modernize the "animation" feature 2018-10-12 14:26:15 +00:00
qtgui.tracepoints Don't pass scope args to _exit trace points 2019-04-30 07:42:19 +00:00