qt6-bb10/src
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
..
3rdparty ANGLE: Invalidate client window area when resizing swap chain 2019-06-21 12:30:32 +02:00
android Android: Stick with buildToolsVersion 28.0.3 2019-06-28 12:03:29 +03:00
angle ANGLE: Invalidate client window area when resizing swap chain 2019-06-21 12:30:32 +02:00
concurrent Doc: Correct documentation of QFuture::cancel 2019-06-11 11:11:43 +00:00
corelib QMutexPool: fix memory order of atomic operations 2019-08-05 19:30:37 +00:00
dbus Qt D-Bus: Document CMake commands 2019-06-21 11:04:05 +02:00
gui Refactor lockedAlphaMapForGlyph 2019-08-08 11:18:02 +02:00
network Plug a memory leak introduced in e24a4976be 2019-07-31 09:25:30 +02:00
opengl QtOpenGL: Unify license headers 2019-01-29 10:41:46 +00:00
openglextensions Move forward-declaration inside of namespace 2019-05-15 10:58:49 +00:00
platformheaders Ability to switch language under platform eglfs/linuxfb 2019-01-25 15:00:07 +00:00
platformsupport Refactor lockedAlphaMapForGlyph 2019-08-08 11:18:02 +02:00
plugins macOS: Fix tab button rendering issue 2019-08-08 01:38:10 -06:00
printsupport printsupport: Fix clang-cl warning 2019-04-09 07:00:02 +00:00
sql Replace executedQuery when executing a new query 2019-01-30 23:08:04 +00:00
testlib Apple test logger: Handle test log messages without a context 2019-03-26 19:15:26 +00:00
tools qlalr: fix compilation with C++20 2019-08-01 11:20:27 +00:00
widgets Don't rely on QWidget::internalWinId in QWidgetBackingStore 2019-08-07 13:45:34 +02:00
winmain qtmain_winrt: Avoid nullptrs in str*cmp which cause crashes 2019-05-17 09:26:33 +00:00
xml Doc: Clarify state of Qt Xml 2019-05-24 11:54:55 +02:00
src.pro Fix build with -no-feature-printer 2019-07-11 13:58:36 +02:00