Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9b21948 authored by Alec Mouri's avatar Alec Mouri
Browse files

Add common infrastructure for defining a Scene

Define a simple DSL for defining a scene of SurfaceControls.

For example:

val rootScene = scene {
  content { data ->
      // Make a RenderNode
  }
  ...
  // Add more child scenes
  scene {
      ...
  }
  ...
}

Internally, a Scene will build a tree of SurfaceControls and push
content to the display.

Bug: 405591499
Flag: EXEMPT test only
Test: apk runs locally
Change-Id: I9e6ebf9d32967e21a45fc9e3a1f4a71866062a7b
parent c892ddf1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment