-
Pawel Osciak authored
A protected gpu memory buffer is a buffer that can be referred to by a GpuMemoryBufferHandle, which does not provide access to the buffer's contents. Such handle can be shared with and received from clients that should not have access to the buffer's contents. When such handle is passed to the ProtectedGpuMemoryBufferManager service by its privileged client, it can be translated into another GpuMemoryBufferHandle, which allows access to the buffer. Also, implement a ProtectedMemoryManager to provide an allocation and lookup service for such buffers for gbm. Finally, add secure mode API to the ArcVideoAccelerator stack and integrate it with the above, to provide a secure codec mode implementation. TEST=E2E video playback tests BUG=b:27174405,b:62575861,b:27204780 Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Change-Id: I80259db35463f7ed0cc3acc28bf767e55e46c8b8 Reviewed-on: https://chromium-review.googlesource.com/689818Reviewed-by:
Kuang-che Wu <kcwu@chromium.org> Reviewed-by:
Owen Lin <owenlin@chromium.org> Reviewed-by:
Hidehiko Abe <hidehiko@chromium.org> Reviewed-by:
Scott Violet <sky@chromium.org> Reviewed-by:
Robert Kroeger <rjkroege@chromium.org> Reviewed-by:
David Reveman <reveman@chromium.org> Reviewed-by:
Daniel Cheng <dcheng@chromium.org> Reviewed-by:
Antoine Labour <piman@chromium.org> Reviewed-by:
Jorge Lucangeli Obes <jorgelo@chromium.org> Commit-Queue: Pawel Osciak <posciak@chromium.org> Cr-Commit-Position: refs/heads/master@{#512797}
de566f6b