Ilya Nikolaevskiy
3d1691f5c5
Fix preemptive mapping of DXGI buffers
...
Previously, a shared memory region was created and filled with pixel
data during capture if requested by a client. But that doesn't work with
current video capture service design: first, a GMB handle is passed once
and then the client is notified when a frame is available in that handle.
To make preemptive mapping work with that design, a shared memory region
is now always created together with the DXGI GMB handle in the capture
service. Then, when a frame is captured and preemptive mapping is needed,
the region is filled with data and a special flag is passed to the
consumer in VideoFrameInfo. Based on that flag a previously received
shared memory region is passed to the frame buffer.
Bug: 1120900
Change-Id: I6f55be94bab76e9f2d8f5ec0e3b7f7e8badb8fa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2905782
Commit-Queue: Ilya Nikolaevskiy <ilnik@chromium.org >
Reviewed-by: Yang Guo <yangguo@chromium.org >
Reviewed-by: Alex Gough <ajgo@chromium.org >
Reviewed-by: Guido Urdaneta <guidou@chromium.org >
Reviewed-by: mark a. foltz <mfoltz@chromium.org >
Reviewed-by: Ricky Liang <jcliang@chromium.org >
Cr-Commit-Position: refs/heads/master@{#886340}
2021-05-25 17:04:19 +00:00
..
2021-05-25 16:10:18 +00:00
2021-05-21 08:15:37 +00:00
2021-05-21 08:15:37 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-05-19 12:59:01 +00:00
2021-05-21 04:23:34 +00:00
2021-05-21 08:15:37 +00:00
2021-04-27 21:24:47 +00:00
2021-05-21 08:15:37 +00:00
2021-05-19 07:40:21 +00:00
2021-05-21 19:23:04 +00:00
2021-05-18 11:11:23 +00:00
2021-04-21 05:26:08 +00:00
2021-04-29 21:08:02 +00:00
2021-05-18 20:31:04 +00:00
2021-05-21 04:23:34 +00:00
2021-05-20 02:47:21 +00:00
2021-05-24 17:24:59 +00:00
2021-05-20 21:39:28 +00:00
2021-04-16 23:56:07 +00:00
2021-04-19 23:58:44 +00:00
2021-05-25 17:04:19 +00:00
2021-05-20 19:56:43 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 08:15:37 +00:00
2021-05-20 00:32:23 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-07 18:59:39 +00:00
2021-04-05 20:40:10 +00:00
2021-05-14 02:14:26 +00:00
2021-05-21 04:23:34 +00:00
2021-05-15 17:56:07 +00:00
2021-05-13 20:10:12 +00:00
2021-05-14 02:14:26 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 19:48:12 +00:00
2021-04-29 08:11:24 +00:00
2021-05-15 17:56:07 +00:00
2021-05-25 17:04:19 +00:00
2021-04-14 17:23:44 +00:00
2021-05-20 09:38:46 +00:00
2021-05-07 18:59:39 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 08:15:37 +00:00
2021-04-19 23:58:44 +00:00
2021-05-25 15:17:59 +00:00
2021-05-15 17:56:07 +00:00
2021-05-18 08:54:35 +00:00
2021-05-15 17:56:07 +00:00
2021-05-25 09:40:44 +00:00
2021-05-21 08:15:37 +00:00
2021-05-21 19:23:04 +00:00
2021-05-20 02:47:21 +00:00
2021-05-13 20:10:12 +00:00
2021-05-25 13:47:03 +00:00
2021-05-20 09:38:46 +00:00
2021-05-15 17:56:07 +00:00
2021-05-16 00:46:26 +00:00
2021-05-15 17:56:07 +00:00
2021-05-01 01:31:25 +00:00
2021-03-30 05:43:46 +00:00
2021-05-25 15:17:59 +00:00
2021-04-19 23:58:44 +00:00
2021-05-19 07:40:21 +00:00
2021-05-20 04:14:08 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-04-13 01:06:45 +00:00
2021-05-24 15:51:47 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 04:23:34 +00:00
2021-05-25 00:37:20 +00:00
2021-05-19 01:21:31 +00:00
2021-05-15 17:56:07 +00:00
2021-05-20 05:27:22 +00:00
2021-05-21 03:05:02 +00:00
2021-05-25 10:36:41 +00:00
2021-05-21 09:33:43 +00:00
2021-05-19 12:59:01 +00:00
2021-05-19 07:40:21 +00:00
2021-03-17 14:21:29 +00:00
2021-03-17 14:21:29 +00:00
2021-05-25 02:58:39 +00:00
2021-04-22 18:44:05 +00:00
2021-05-21 21:38:24 +00:00
2021-04-26 23:12:24 +00:00
2021-05-19 23:31:15 +00:00
2021-05-15 17:56:07 +00:00
2021-04-06 23:27:52 +00:00
2021-04-29 15:26:25 +00:00
2021-03-31 17:44:01 +00:00
2021-05-20 00:32:23 +00:00
2021-05-25 04:11:57 +00:00
2021-04-22 05:33:28 +00:00
2021-03-24 11:42:51 +00:00
2021-05-17 14:52:59 +00:00
2021-05-19 01:06:40 +00:00
2021-05-21 04:23:34 +00:00
2021-05-17 14:52:59 +00:00
2021-04-23 23:13:46 +00:00
2021-05-07 16:20:01 +00:00
2021-05-07 16:20:01 +00:00
2021-03-26 07:26:16 +00:00
2021-03-30 11:00:11 +00:00
2021-05-15 17:56:07 +00:00
2021-05-07 16:20:01 +00:00
2021-04-13 01:49:30 +00:00
2021-05-07 15:01:03 +00:00
2021-05-21 19:23:04 +00:00
2021-05-25 09:40:44 +00:00
2021-04-05 20:40:10 +00:00
2021-05-15 17:56:07 +00:00
2021-04-19 18:21:28 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-17 23:57:21 +00:00
2021-05-17 23:57:21 +00:00
2021-05-19 22:37:45 +00:00
2021-05-15 17:56:07 +00:00
2021-05-07 15:01:03 +00:00
2021-03-31 10:23:46 +00:00
2021-05-24 10:35:34 +00:00
2021-05-05 20:30:56 +00:00
2021-05-15 17:56:07 +00:00
2021-03-17 14:21:29 +00:00
2021-03-17 14:21:29 +00:00
2021-04-19 23:58:44 +00:00
2021-03-11 16:34:16 +00:00
2021-04-19 23:58:44 +00:00
2021-05-06 22:34:36 +00:00
2021-05-06 22:34:36 +00:00
2021-04-19 23:58:44 +00:00
2021-05-13 20:10:12 +00:00
2021-03-11 22:01:58 +00:00
2021-03-01 08:13:54 +00:00
2021-03-01 08:13:54 +00:00
2021-05-21 19:11:46 +00:00
2021-05-13 20:10:12 +00:00
2021-03-22 22:23:11 +00:00
2021-05-19 22:37:45 +00:00
2021-04-28 19:23:30 +00:00
2021-05-15 17:56:07 +00:00
2021-04-19 23:58:44 +00:00
2021-05-15 17:56:07 +00:00
2021-03-11 22:01:58 +00:00
2021-03-14 19:20:08 +00:00
2021-04-19 23:58:44 +00:00
2021-05-15 17:56:07 +00:00
2021-04-23 11:45:18 +00:00
2021-04-23 11:45:18 +00:00
2021-04-08 01:41:22 +00:00
2021-03-03 09:15:33 +00:00
2021-04-23 11:45:18 +00:00
2021-03-03 09:15:33 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-04-26 23:12:24 +00:00
2021-04-19 23:58:44 +00:00
2021-03-02 18:26:48 +00:00
2021-04-29 15:26:25 +00:00
2021-05-15 17:56:07 +00:00
2021-05-19 12:59:01 +00:00
2021-03-22 22:26:24 +00:00
2021-05-13 19:10:03 +00:00
2021-04-19 23:58:44 +00:00
2021-03-23 19:27:02 +00:00
2021-04-29 08:11:24 +00:00
2021-04-29 08:11:24 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-07 11:54:27 +00:00
2021-04-29 08:11:24 +00:00
2021-04-21 05:26:08 +00:00
2021-04-15 22:31:19 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-04-19 23:58:44 +00:00
2021-04-15 03:53:08 +00:00
2021-05-21 19:23:04 +00:00
2021-05-21 19:23:04 +00:00
2021-05-14 09:33:52 +00:00
2021-05-19 03:54:04 +00:00
2021-03-11 22:01:58 +00:00
2021-03-11 22:01:58 +00:00
2021-05-21 21:38:24 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-14 01:30:03 +00:00
2021-04-14 17:23:44 +00:00
2021-05-12 21:05:16 +00:00
2021-04-27 21:14:26 +00:00
2021-04-07 21:30:32 +00:00
2021-05-15 17:56:07 +00:00
2021-05-13 20:10:12 +00:00
2021-05-07 15:01:03 +00:00
2021-05-03 16:38:15 +00:00
2021-03-26 07:26:16 +00:00
2021-05-20 23:32:35 +00:00
2021-04-30 15:44:37 +00:00
2021-05-15 17:56:07 +00:00
2021-05-21 08:15:37 +00:00
2021-04-29 08:11:24 +00:00
2021-05-07 16:20:01 +00:00
2021-03-26 07:26:16 +00:00
2021-04-29 15:26:25 +00:00
2021-03-10 17:06:26 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-05-20 02:47:21 +00:00
2021-05-15 17:56:07 +00:00
2021-04-29 15:26:25 +00:00
2021-04-29 15:26:25 +00:00
2021-04-23 18:22:13 +00:00
2021-03-17 14:21:29 +00:00
2021-05-15 17:56:07 +00:00
2021-04-14 16:17:50 +00:00
2021-04-15 22:31:19 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-04-28 19:21:13 +00:00
2021-04-28 19:21:13 +00:00
2021-05-19 03:54:04 +00:00
2021-04-23 01:45:03 +00:00
2021-04-19 23:58:44 +00:00
2021-03-22 15:50:35 +00:00
2021-05-07 15:01:03 +00:00
2021-05-15 17:56:07 +00:00
2021-05-15 17:56:07 +00:00
2021-03-05 14:45:45 +00:00
2021-04-26 23:12:24 +00:00