commit 3d590d3bd71a3522d525ce71220e99bd25b6a648
Merge: 4762698 4f4383c
Author: Jean-Marc Lasgouttes <[email protected]>
Date: Fri Sep 8 17:05:13 2017 +0200
Merge remote-tracking branch 'features/properpaint'
Now painting the workarea is done at paint events as should be.
Explicit painting after updating metrics has been replaced by a much
lighter procedure (updatePosCache) to update the insets positions cache.
Expected benefits:
- better performance
- proper use of subpixel aliasing
The LyXRC variable use_qimage is not needed anymore and is therefore
removed.
development/PAINTING_ANALYSIS | 49 +--
lib/configure.py | 2 +-
lib/scripts/prefs2prefs_prefs.py | 20 ++-
src/BufferView.cpp | 111 +++++---
src/BufferView.h | 18 +-
src/Cursor.cpp | 13 -
src/Cursor.h | 2 -
src/LyXRC.cpp | 17 +-
src/LyXRC.h | 3 -
src/MetricsInfo.h | 2 +-
src/RowPainter.cpp | 2 +-
src/TextMetrics.cpp | 32 ++-
src/TextMetrics.h | 5 +
src/frontends/Makefile.am | 1 +
src/frontends/NullPainter.h | 109 +++++++
src/frontends/Painter.h | 7 +-
src/frontends/qt4/FindAndReplace.cpp | 4 +-
src/frontends/qt4/GuiApplication.cpp | 11 +-
src/frontends/qt4/GuiPainter.cpp | 26 +--
src/frontends/qt4/GuiPainter.h | 3 +
src/frontends/qt4/GuiView.cpp | 8 +-
src/frontends/qt4/GuiView.h | 2 +-
src/frontends/qt4/GuiWorkArea.cpp | 523 +++++++++++++------------------
src/frontends/qt4/GuiWorkArea.h | 14 +-
src/frontends/qt4/GuiWorkArea_Private.h | 88 ++----
src/mathed/InsetMathMacroTemplate.cpp | 18 +-
26 files changed, 532 insertions(+), 558 deletions(-)