commit | 7d869776dbe066853df10d3221eb901674305903 | [log] [tgz] |
---|---|---|
author | Jiyong Park <jiyong@google.com> | Tue Apr 09 00:57:04 2024 +0900 |
committer | Jiyong Park <jiyong@google.com> | Wed Apr 10 14:51:04 2024 +0900 |
tree | eb6d55765a0753ef57c801c645a7ce8e646567ce | |
parent | 9eaae1d4925c2d693595a839283bf02441913529 [diff] |
Refactor android display backend Major changes included in this change: * Eliminate the unnecessary copy of each frame. Now crosvm draws directly on the buffer returned by surfaceflinger. * In doing so, crosvm respects stride set by Android. * The scaling routine is removed as surfaceflinger scales the buffer when it doesn't match with the surface size. This allows us to drop the dependency to libyuv. * AndroidDisplayContext is created in its constructor so that any failure during the construction doesn't leak memory. Bug: 331900473 Test: N/A Change-Id: Icc47f50a62696d3c959e8cb16dc531fe28d25ab5
Android Virtualization Framework (AVF) provides secure and private execution environments for executing code. AVF is ideal for security-oriented use cases that require stronger isolation assurances over those offered by Android’s app sandbox.
Visit our public doc site to learn more about what AVF is, what it is for, and how it is structured. This repository contains source code for userspace components of AVF.
If you want a quick start, see the getting started guideline and follow the steps there.
For in-depth explanations about individual topics and components, visit the following links.
AVF components:
AVF APIs:
How-Tos: