-
Pawel Osciak authored
This is a reland of de566f6b Relanding with relevant *_EXPORTs added to fix the component build. Original change's description: > Add support for protected gpu memory buffers and a secure mode to ArcVDA. > > 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/689818 > Reviewed-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} Bug: b:27174405, b:62575861, b:27204780 Change-Id: I147aee03c72ea0d04def1f17ba88ea3a5abd50f6 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 TBR=kcwu@chromium.org,owenlin@chromium.org,hidehiko@chromium.org,sky@chromium.org,rjkroege@chromium.org,reveman@chromium.org,dcheng@chromium.org,jorgelo@chromium.org Change-Id: I147aee03c72ea0d04def1f17ba88ea3a5abd50f6 Reviewed-on: https://chromium-review.googlesource.com/748041 Reviewed-by: Pawel Osciak <posciak@chromium.org> Commit-Queue: Pawel Osciak <posciak@chromium.org> Cr-Commit-Position: refs/heads/master@{#513056}
74fce383