hclam@chromium.org
a02f64e4b9
Implement asynchronous operation for RWHVP::CopyFromCompositingSurface on Mac
...
Current implementation blocks the UI thread for a long period of time.
This change uses asynchronous operation to copy the frame buffer.
I have tested this manually with two cases:
1. Thumbnail generation
Tested thumbnails are generated successfully with --force-compositing-mode.
I have also verified that CopyTo() now completes almost instantaneously while
FinishCopy() completes in a relatively short time. Total time that UI thread
is blocked is about 1/4 of previous implementation.
2. Resource destruction
Manually tested that if CompositingIOSurface is destroyed before
asynchronous copy is finished then GL resources associated with the copy
is destroyed.
BUG=145587
Review URL: https://chromiumcodereview.appspot.com/10917307
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@158395 0039d316-1c4b-4281-b951-d872f2087c98
2012-09-24 21:32:41 +00:00
..
2012-09-20 23:08:33 +00:00
2012-09-24 19:23:56 +00:00
2012-09-18 03:04:09 +00:00
2012-09-21 21:05:46 +00:00
2012-09-11 21:41:01 +00:00
2012-08-16 17:07:32 +00:00
2012-08-13 22:50:19 +00:00
2012-09-24 18:02:14 +00:00
2012-09-24 10:52:39 +00:00
2012-09-10 07:06:39 +00:00
2012-09-12 16:47:46 +00:00
2012-09-23 19:37:24 +00:00
2012-09-05 06:06:04 +00:00
2012-09-20 03:32:35 +00:00
2012-07-25 04:01:07 +00:00
2012-08-24 01:06:58 +00:00
2012-09-24 21:32:41 +00:00
2012-09-14 18:36:28 +00:00
2012-08-01 14:30:15 +00:00
2012-09-23 21:56:24 +00:00
2012-07-27 01:24:06 +00:00
2012-09-18 03:04:09 +00:00
2012-08-09 22:28:40 +00:00
2012-09-17 18:55:25 +00:00
2012-07-30 21:00:43 +00:00
2012-07-17 01:25:34 +00:00
2012-09-18 10:26:36 +00:00
2012-09-20 21:49:53 +00:00
2012-09-10 14:42:54 +00:00
2012-09-19 20:28:52 +00:00
2012-07-11 07:04:07 +00:00
2012-08-24 22:57:29 +00:00
2012-07-11 07:04:07 +00:00
2012-08-29 21:18:15 +00:00
2012-07-23 21:21:23 +00:00
2012-06-04 02:23:17 +00:00
2012-06-04 02:31:27 +00:00
2012-07-11 07:04:07 +00:00
2012-06-29 16:34:33 +00:00
2012-07-11 07:04:07 +00:00
2012-07-11 07:04:07 +00:00
2012-07-30 21:00:43 +00:00
2012-07-11 07:04:07 +00:00
2012-07-26 04:50:36 +00:00
2012-07-19 05:32:10 +00:00
2012-07-19 05:32:10 +00:00
2012-07-27 23:53:00 +00:00
2012-07-11 07:04:07 +00:00
2012-08-22 21:44:07 +00:00
2012-09-15 01:52:16 +00:00
2012-07-31 20:30:08 +00:00
2012-07-31 20:30:08 +00:00
2012-08-15 12:51:42 +00:00
2012-08-15 12:51:42 +00:00
2012-08-31 21:08:05 +00:00
2012-08-31 21:08:05 +00:00
2012-08-24 01:06:58 +00:00
2012-08-24 01:06:58 +00:00
2012-07-18 16:25:54 +00:00
2012-07-18 16:25:54 +00:00
2012-07-12 18:19:45 +00:00
2012-07-12 18:19:45 +00:00
2012-07-12 18:19:45 +00:00
2012-06-04 02:23:17 +00:00
2012-05-15 20:28:50 +00:00
2012-07-11 07:04:07 +00:00
2012-07-11 07:04:07 +00:00
2012-09-12 19:00:48 +00:00
2012-06-07 15:31:40 +00:00
2012-07-11 07:04:07 +00:00
2012-07-24 01:31:31 +00:00
2012-05-27 07:18:46 +00:00
2012-07-11 07:04:07 +00:00
2012-09-12 02:56:55 +00:00
2012-08-29 00:32:21 +00:00
2012-07-26 16:09:46 +00:00
2012-09-04 23:08:54 +00:00
2012-07-11 07:04:07 +00:00
2012-04-27 23:40:50 +00:00
2012-06-25 17:03:10 +00:00
2012-09-11 19:12:36 +00:00
2012-09-06 20:58:56 +00:00
2012-07-26 16:09:46 +00:00
2012-09-24 15:05:20 +00:00
2012-09-24 15:05:20 +00:00
2012-06-11 18:02:03 +00:00
2012-07-17 23:40:17 +00:00
2012-08-21 00:05:53 +00:00
2012-07-16 15:23:05 +00:00
2012-07-11 07:04:07 +00:00
2012-09-24 20:05:02 +00:00
2012-09-24 20:05:02 +00:00
2012-04-25 00:05:17 +00:00
2012-04-27 23:40:50 +00:00
2012-04-27 23:40:50 +00:00
2012-06-25 17:03:10 +00:00
2012-04-27 23:40:50 +00:00
2012-07-11 07:04:07 +00:00
2012-09-18 03:04:09 +00:00
2012-09-15 05:12:34 +00:00
2012-07-11 07:04:07 +00:00
2012-07-27 03:11:56 +00:00
2012-09-06 20:38:03 +00:00
2012-08-18 08:54:34 +00:00
2012-07-11 07:04:07 +00:00
2012-09-21 02:31:18 +00:00
2012-09-18 03:04:09 +00:00
2012-09-22 00:23:20 +00:00
2012-09-18 03:04:09 +00:00
2012-07-31 01:16:35 +00:00
2012-09-14 03:05:39 +00:00
2012-07-31 21:28:52 +00:00
2012-08-24 01:06:58 +00:00
2012-08-24 01:06:58 +00:00
2012-09-01 00:52:15 +00:00
2012-09-01 00:52:15 +00:00
2012-09-01 00:52:15 +00:00
2012-09-01 00:52:15 +00:00
2012-07-19 18:02:03 +00:00
2012-07-11 07:04:07 +00:00
2012-07-27 02:03:17 +00:00
2012-07-27 02:03:17 +00:00
2012-09-13 21:42:40 +00:00
2012-07-11 07:04:07 +00:00
2012-08-28 00:44:29 +00:00