Neil Roberts
9f107ab3fb
Support window resizing in the SDL 2 winsys
...
The SDL2 winsys will now set the SDL_WINDOW_RESIZABLE flag on the
window before creating it if the resizable property is set on the
onscreen. Note that there doesn't appear to be a way in SDL to change
the flag later so unlike the other winsyses it will only take affect
if it is set before allocating the framebuffer.
The winsys now registers a callback for SDL events so that it can
report window size changes back to the application.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 0dea9aeb897faf029828379b120970477df3c7d5)
2013-01-22 17:48:04 +00:00
..
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:38 +01:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:47:39 +00:00
2012-08-06 14:27:45 +01:00
2012-09-17 23:06:20 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:58 +00:00
2012-08-06 14:27:44 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:59 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:47:59 +00:00
2012-08-06 14:27:45 +01:00
2013-01-18 10:53:29 +00:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:47:59 +00:00
2013-01-22 17:47:39 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:59 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:03 +00:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:47:24 +00:00
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:03 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 18:51:33 +01:00
2012-09-03 15:51:45 +01:00
2012-09-03 15:47:56 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:02 +00:00
2013-01-22 17:48:03 +00:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:03 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:04 +00:00
2013-01-22 17:48:02 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-09-17 23:06:21 +01:00
2013-01-22 17:47:58 +00:00
2013-01-08 14:56:25 +01:00
2013-01-22 17:47:39 +00:00
2012-09-17 23:06:20 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:59 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:48:03 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:40 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-18 17:28:25 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:43 +01:00
2013-01-18 17:28:25 +00:00
2013-01-18 17:28:25 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2012-09-17 11:47:04 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-02-20 23:16:37 +00:00
2013-01-22 17:48:02 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:42 +01:00
2013-01-18 10:53:29 +00:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:38 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:59 +00:00
2013-01-18 10:53:29 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-09-03 15:51:44 +01:00
2013-01-18 10:53:29 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2012-09-03 15:51:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 18:51:32 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:41 +01:00
2012-08-06 14:27:41 +01:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:01 +00:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:47:58 +00:00
2013-01-18 10:53:29 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:00 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:48:00 +00:00
2013-01-22 17:47:39 +00:00
2012-08-06 14:27:44 +01:00
2013-01-22 17:48:00 +00:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:48:00 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:02 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:04 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-09-03 15:48:05 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:45 +01:00
2012-03-20 14:26:44 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:47:39 +00:00
2013-01-18 10:53:29 +00:00
2012-02-20 23:12:45 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:47:39 +00:00
2013-01-18 10:53:29 +00:00
2012-08-06 14:27:39 +01:00
2013-01-18 10:53:29 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:47:58 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:47:58 +00:00
2013-01-22 17:48:03 +00:00
2013-01-18 17:28:25 +00:00