1# Graphics Models
2
3There are three components to the graphics model, each modeling EGL memory
4use:
51. For each `android.view.TextureView` instance:
6    2 * (4 * width * height)
7
82. For each `android.view.Surface$HwuiContext` instance:
9    3 * (4 * width * height)
10
113. For each initialized `android.view.ThreadedRenderer`:
12    3 * (4 * width * height)
13
14Note: 4 is the number of bytes per pixel. 2 or 3 is the maximum number of
15buffers that may be allocated.
16
17The actionable breakdown is the breakdown by `TextureView`,
18`Surface$HwuiContext` and `ThreadedRenderer` instance, with further details
19about the width and height associated with each instance.
20
21For example, an application with a single 64x256 `TextureView` instance will
22be shown as taking up 128 KB.
23