Owen W. Taylor
24733abf68
onscreen: Add CoglFrameInfo and _add_frame_callback() api
...
Add a CoglFrameInfo object that tracks timing information for frames
that are drawn. We track a frame counter and frame timing information
for each CoglOnscreen. Internally a CoglFrameInfo is automatically
created for each frame, delimited by cogl_onscreen_swap_buffers() or
cogl_onscreen_swap_region() calls.
CoglFrameInfos are delivered to applications via frame event callbacks
that can be registered with a new cogl_onscreen_add_frame_callback()
api. Two initial event types (dispatched on all platforms) have been
defined; a _SYNC event used for throttling the frame rate of
applications and a _COMPLETE event used so signify the end of a frame.
Note: This new _add_frame_callback() api makes the
cogl_onscreen_add_swap_complete_callback() api redundant and so it
should be considered deprecated. Since the _add_swap_complete_callback()
api is still experimental api, we will be looking to quickly migrate
users to the new api so we can remove the old api.
Reviewed-by: Robert Bragg <robert@linux.intel.com>
(cherry picked from commit 700401667db2522045e4623d78797b17f9184501)
2013-01-30 20:09:49 +00:00
..
2013-01-25 18:21:09 +00:00
2013-01-22 17:48:07 +00:00
2012-08-06 14:27:38 +01:00
2013-01-30 20:09:49 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:18 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 18:00:11 +00:00
2013-01-22 18:00:11 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:47:39 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2011-12-06 18:51:57 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:03 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:47:24 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:40 +01:00
2012-08-06 18:51:33 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00: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
2013-01-22 17:48:15 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:18 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:08 +00:00
2013-01-22 17:48:15 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-22 17:48:18 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:18 +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:48:13 +00:00
2012-09-17 23:06:20 +01:00
2012-08-06 14:27:45 +01:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00: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
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00: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-22 17:48:05 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:15 +00:00
2013-01-18 17:28:25 +00:00
2013-01-22 17:48:12 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 18:51:32 +01:00
2013-01-22 20:11:25 +00:00
2013-01-22 17:48:16 +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
2012-02-20 23:16:37 +00:00
2013-01-22 17:48:15 +00:00
2013-01-22 17:48:12 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:05 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 20:09:49 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:16 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:19 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:01 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:05 +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:48:15 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2013-01-30 20:09:49 +00:00
2013-01-22 17:48:14 +00:00
2013-01-22 17:48:19 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2012-09-03 15:51:44 +01:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-25 18:21:09 +00:00
2012-09-03 15:51:45 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:14 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:57:22 +00:00
2013-01-30 19:57:22 +00:00
2012-08-06 14:27:41 +01:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2013-01-22 17:48:16 +00:00
2013-01-22 17:48:07 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:13 +00:00
2012-08-06 14:27:39 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:19 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:09 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:17 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 17:48:15 +00:00
2013-01-25 18:21:09 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2012-08-14 18:55:42 +01:00
2013-01-22 17:48:11 +00:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:16 +00:00
2012-09-03 15:48:05 +01:00
2012-08-06 14:27:39 +01:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:13 +00:00
2013-01-30 20:09:49 +00:00
2012-02-20 23:12:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-30 19:56:45 +00:00
2013-01-22 17:48:13 +00:00
2013-01-22 17:48:17 +00:00
2013-01-22 17:48:05 +00:00
2013-01-22 17:48:17 +00:00
2013-01-30 20:09:49 +00:00
2012-08-06 14:27:42 +01:00
2013-01-22 17:48:16 +00:00
2013-01-30 20:09:49 +00:00
2013-01-18 17:28:25 +00:00