diff options
author | David Robillard <d@drobilla.net> | 2020-02-18 23:24:11 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-18 23:24:11 +0100 |
commit | 2495d2deb77c8474d7bbe467a0d033909ee3263c (patch) | |
tree | 98bc630e7450137085707ca8ffc99c689bfd9915 /test/glad/glad.c | |
parent | 0059c630d7406f672c113d6dc6da78810160ddbb (diff) | |
download | pugl-2495d2deb77c8474d7bbe467a0d033909ee3263c.tar.gz pugl-2495d2deb77c8474d7bbe467a0d033909ee3263c.tar.bz2 pugl-2495d2deb77c8474d7bbe467a0d033909ee3263c.zip |
X11: Use ephemeral Cairo surfaces for drawing
This uses a similar approach to Gtk, where surfaces are created every draw
call. It is a bit slower for a single application in most cases, but uses less
memory when drawing isn't happening and plays more nicely with other views or
applications.
Diffstat (limited to 'test/glad/glad.c')
0 files changed, 0 insertions, 0 deletions