1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Windows: Consolidate graphics invalidation regions

Regions marked as dirty by repaint calls are now queued up and
dispatched when the corresponding physical display device is
refreshed
This commit is contained in:
Tom Poole 2022-05-06 19:29:01 +01:00
parent acefc92f88
commit 05a42424f9
3 changed files with 289 additions and 2 deletions

View file

@ -60,6 +60,7 @@
#include <commctrl.h>
#include <UIAutomation.h>
#include <sapi.h>
#include <Dxgi.h>
#if JUCE_WEB_BROWSER
#include <exdisp.h>
@ -72,6 +73,7 @@
#pragma comment(lib, "vfw32.lib")
#pragma comment(lib, "imm32.lib")
#pragma comment(lib, "comctl32.lib")
#pragma comment(lib, "dxgi.lib")
#if JUCE_OPENGL
#pragma comment(lib, "OpenGL32.Lib")