diff options
author | Martin Robinson <mrobinson@igalia.com> | 2012-02-02 20:38:51 -0800 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2013-01-08 15:09:33 -0800 |
commit | d1184b69e8871180b7b357a02d1a0bed3e68d897 (patch) | |
tree | fceea1b19cef059e68b07594b3cbee9b304762e0 /test/Makefile.sources | |
parent | 7401455cb4136473521b9f33b09944aa0bc66971 (diff) |
gl: Do less work when acquiring and releasing devices
After acquiring a GL device and the same GL context, surface, and
display combination is already active outside of Cairo, do not ask EGL
or GLX to change the current context as that may cause a flush on some
drivers. Also do not unset the context when releasing the device for the
same reason.
Diffstat (limited to 'test/Makefile.sources')
-rw-r--r-- | test/Makefile.sources | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/Makefile.sources b/test/Makefile.sources index 1bf93e523..1f0388599 100644 --- a/test/Makefile.sources +++ b/test/Makefile.sources @@ -391,6 +391,7 @@ ft_font_test_sources = \ ft-text-antialias-none.c gl_surface_test_sources = \ + gl-device-release.c \ gl-surface-source.c quartz_surface_test_sources = quartz-surface-source.c |