Commit to reduce flicker is causing massive flicker in GerbView
Description
There was a commit with hash 106259f6 on July 10 with the title Set DoubleBuffering to reduce flicker.
Unfortunately it is causing massive flicker in GerbView. I tested a build of Pcbnew to see if it was an overall problem, but that program worked fine. This is on Win10 using an NVIDIA Quadro 2000 video card.
Steps to reproduce
- Run a build of GerbView built with the 106259f6 commit.
- Program main client window flickers to an unusable degree.
KiCad Version
Application: GerbView
Version: (5.99.0-2265-g35a5960f7-dirty), debug build
Libraries:
wxWidgets 3.0.5
libcurl/7.70.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.40.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Jul 10 2020 18:53:22
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OCE: 6.9.1
Curl: 7.70.0
ngspice: 32
Compiler: GCC 10.1.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=OFF
KICAD_SCRIPTING_MODULES=OFF
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=OFF
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=OFF
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
KICAD_STDLIB_DEBUG=OFF
KICAD_STDLIB_LIGHT_DEBUG=OFF
KICAD_SANITIZE=OFF