diff options
author | David Robillard <d@drobilla.net> | 2020-02-18 10:00:27 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-18 23:19:44 +0100 |
commit | 2bae8905a97aa8a29826c78311c826d61f075e0e (patch) | |
tree | 8cfdf8cf0c50a31a784b061b54e9540740284f0e /pugl/pugl_stub.h | |
parent | 73b8c91e71676a66ef27b981da147fdf5344fded (diff) | |
download | pugl-2bae8905a97aa8a29826c78311c826d61f075e0e.tar.gz pugl-2bae8905a97aa8a29826c78311c826d61f075e0e.tar.bz2 pugl-2bae8905a97aa8a29826c78311c826d61f075e0e.zip |
Remove immediate dispatch of exposed rects
This was a hack to support only exposing the rects that were explicitly exposed
with puglPostRedisplayRect(), but it caused flaky drawing issues because it
circumvented the deferral of exposure until the end of the loop. Instead,
simply expand the pending expose to be dispatched later as usual.
This means that only the union will be exposed in the end, so more area might
be drawn than necessary, but this is probably good enough. If not, we will
have to maintain a set of rects and be more clever about combining them.
Diffstat (limited to 'pugl/pugl_stub.h')
0 files changed, 0 insertions, 0 deletions