Don't use SharedMemory[Handle] to hold a DXGI resource handle
Impending changes to Mojo IPC will require that handles serialized as shared memory handles are actually shared memory handles. DXGI resources are not, but are being transported using GpuMemoryBufferHandle's shared_memory field. This introduces a Windows-only GpuMemoryBufferHandle field for a generic HANDLE to be used for DXGI resources, as well as a corresponding mojom field for the same purpose. There should be no net effect on the behavior of the system wrt handle lifetime or usage. Bug: 826213 Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel;master.tryserver.blink:linux_trusty_blink_rel;master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2;luci.chromium.try:win_optional_gpu_tests_rel Change-Id: I5d510e0ebdb60d4872fc428a95ce681dd18369dc Reviewed-on: https://chromium-review.googlesource.com/1011600Reviewed-by:Kenneth Russell <kbr@chromium.org> Reviewed-by:
Sunny Sachanandani <sunnyps@chromium.org> Reviewed-by:
Bill Orr <billorr@chromium.org> Reviewed-by:
Tom Sepez <tsepez@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Commit-Queue: Ken Rockot <rockot@chromium.org> Cr-Commit-Position: refs/heads/master@{#551231}
Showing
Please register or sign in to comment