tree: 25b8140f70f8713af5efc20bffb9b831d53c6435 [path history] [tgz]
  1. _add_line_metered_tutorial.md
  2. _baseline_tutorial.md
  3. _callout.md
  4. _client_requested_draw_tutorial.md
  5. README.md
docs/development/languages/fidl/examples/canvas/README.md

FIDL example: Canvas

In this example, we start by creating a 2D line-drawing canvas, then proceed to augment its functionality with various data flow patterns commonly used in FIDL, such as implementing flow control on both sides of the connection, and improving performance by reducing the number of message round trips.

Getting started

<<_baseline_tutorial.md>>

Improving the design

Each of the following sections explores one potential way that we could iterate on the original design. Rather than building on one another sequentially, each presents an independent way in which the base case presented above may be modified or improved.

Basic metering on client requests {#add_line_metered}

<<_add_line_metered_tutorial.md>>

Clients explicitly request draw operations {#client_requested_draw}

<<_client_requested_draw_tutorial.md>>