Mercurial > vim
comparison src/globals.h @ 16986:03f3a9ca2770 v8.1.1493
patch 8.1.1493: redrawing with popups is slow and causes flicker
commit https://github.com/vim/vim/commit/33796b39b9f00b42ca57fa00dbbb52316d9d38ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 8 16:01:13 2019 +0200
patch 8.1.1493: redrawing with popups is slow and causes flicker
Problem: Redrawing with popups is slow and causes flicker.
Solution: Avoid clearing and redrawing using a zindex mask.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 08 Jun 2019 16:15:04 +0200 |
parents | 9138e2c60bf1 |
children | d4a7c690c8e6 |
comparison
equal
deleted
inserted
replaced
16985:914898e347fe | 16986:03f3a9ca2770 |
---|---|
67 * N == 0 for no label | 67 * N == 0 for no label |
68 * N < 0 for closing tab page -N | 68 * N < 0 for closing tab page -N |
69 * N == -999 for closing current tab page | 69 * N == -999 for closing current tab page |
70 */ | 70 */ |
71 EXTERN short *TabPageIdxs INIT(= NULL); | 71 EXTERN short *TabPageIdxs INIT(= NULL); |
72 | |
73 #ifdef FEAT_TEXT_PROP | |
74 // Array with size Rows x Columns containing zindex of popups. | |
75 EXTERN short *popup_mask INIT(= NULL); | |
76 | |
77 // Flag set to TRUE when popup_mask needs to be updated. | |
78 EXTERN int popup_mask_refresh INIT(= TRUE); | |
79 | |
80 // Tab that was used to fill popup_mask. | |
81 EXTERN tabpage_T *popup_mask_tab INIT(= NULL); | |
82 | |
83 // Zindex in for screen_char(): if lower than the value in "popup_mask" | |
84 // drawing the character is skipped. | |
85 EXTERN int screen_zindex INIT(= 0); | |
86 #endif | |
72 | 87 |
73 EXTERN int screen_Rows INIT(= 0); /* actual size of ScreenLines[] */ | 88 EXTERN int screen_Rows INIT(= 0); /* actual size of ScreenLines[] */ |
74 EXTERN int screen_Columns INIT(= 0); /* actual size of ScreenLines[] */ | 89 EXTERN int screen_Columns INIT(= 0); /* actual size of ScreenLines[] */ |
75 | 90 |
76 /* | 91 /* |