Skip to content

Cells

Context


Goal

  • A single physical phone with various virtual phone images for scenarios such as working phones vs personal phones


Implementation

Graphics

  • GPU Context:
    Similar to how the CPU context switch is done, when switching between foreground and background phones, the GPU context of the original foreground phone is saved, and the GPU context of the new foreground phone is loaded.

  • Screen Memory:
    Each virtual phone has a dedicated backing memory for screen memory. The GPU however, is not connected to these memory areas. When there is a context switch, we update the pointer to point to these backing memory areas, so we can swap between screen memory that is displayed to the users.

Power


Takeaway


My Question

Back to top