scheduleInitialFrame method

void scheduleInitialFrame ()

Bootstrap the rendering pipeline by scheduling the first frame.

This should only be called once, and must be called before changing configuration. It is typically called immediately after calling the constructor.

Implementation

void scheduleInitialFrame() {
  assert(owner != null);
  assert(_rootTransform == null);
  scheduleInitialLayout();
  scheduleInitialPaint(_updateMatricesAndCreateNewRootLayer());
  assert(_rootTransform != null);
  owner.requestVisualUpdate();
}