Mercurial > vim
comparison src/gui_dwrite.h @ 13150:808625d4b71b v8.0.1449
patch 8.0.1449: slow redrawing with DirectX
commit https://github.com/vim/vim/commit/a338adcf222b6a24e26ea5ae6a2ad27f914acb38
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 31 20:51:47 2018 +0100
patch 8.0.1449: slow redrawing with DirectX
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 31 Jan 2018 21:00:08 +0100 |
parents | 18e6f4addce9 |
children |
comparison
equal
deleted
inserted
replaced
13149:46794b7ab97a | 13150:808625d4b71b |
---|---|
72 const INT *lpDx); | 72 const INT *lpDx); |
73 void DWriteContext_FillRect(DWriteContext *ctx, const RECT *rc, COLORREF color); | 73 void DWriteContext_FillRect(DWriteContext *ctx, const RECT *rc, COLORREF color); |
74 void DWriteContext_DrawLine(DWriteContext *ctx, int x1, int y1, int x2, int y2, | 74 void DWriteContext_DrawLine(DWriteContext *ctx, int x1, int y1, int x2, int y2, |
75 COLORREF color); | 75 COLORREF color); |
76 void DWriteContext_SetPixel(DWriteContext *ctx, int x, int y, COLORREF color); | 76 void DWriteContext_SetPixel(DWriteContext *ctx, int x, int y, COLORREF color); |
77 void DWriteContext_Scroll(DWriteContext *ctx, int x, int y, const RECT *rc); | |
77 void DWriteContext_Flush(DWriteContext *ctx); | 78 void DWriteContext_Flush(DWriteContext *ctx); |
78 void DWriteContext_Close(DWriteContext *ctx); | 79 void DWriteContext_Close(DWriteContext *ctx); |
79 | 80 |
80 void DWriteContext_SetRenderingParams( | 81 void DWriteContext_SetRenderingParams( |
81 DWriteContext *ctx, | 82 DWriteContext *ctx, |