From e1296e295e7d4f1104d2c90b1f51d52251358bea Mon Sep 17 00:00:00 2001 From: Tomaž Vajngerl Date: Fri, 24 Jun 2016 16:42:45 +0800 Subject: tdf#100411 start the flush timer when batching (PostBatchDraw) When we batch a draw command we need to start the flush timer (if not already started) as otherwise it could happen that we won't flush the offscreen texture at the correct time or at all. This fixes a problem with drawing of pop-up "help" text. Change-Id: I6afcf173c3ac517ed0612cd413d95e28c19faa81 --- vcl/inc/openglgdiimpl.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vcl/inc/openglgdiimpl.hxx') diff --git a/vcl/inc/openglgdiimpl.hxx b/vcl/inc/openglgdiimpl.hxx index 4269df1e0c24..cf10036f296c 100644 --- a/vcl/inc/openglgdiimpl.hxx +++ b/vcl/inc/openglgdiimpl.hxx @@ -170,6 +170,8 @@ public: // operations to do after painting void PostDraw(); + void PostBatchDraw(); + protected: bool AcquireContext(bool bForceCreate = false); bool ReleaseContext(); -- cgit v1.2.3