Package icyllis.arc3d.core

# Class DisplayListRecorder

java.lang.Object
icyllis.arc3d.core.DisplayListRecorder

All Implemented Interfaces:
  `AutoCloseable`

public final class DisplayListRecorder extends Object implements AutoCloseable
This class is intended to be used as:

- Get an `SurfaceCharacterization` representing the intended gpu-backed destination `Surface`
- Create a `DisplayListRecorder`
- Get the canvas and render into it
- Snap off and hold on to an `DisplayList`
- Once your app actually needs the pixels, call Surface::draw(DeferredDisplayList*)

This class never accesses the GPU but performs all the cpu work it can. It is thread-safe (i.e., one can break a scene into tiles and perform their cpu-side work in parallel ahead of time).

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DisplayListRecorder(SurfaceCharacterization c)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DisplayListRecorder

    public DisplayListRecorder(SurfaceCharacterization c)

- ## Method Details

  - ### close

    public void close()
    Specified by:
      `close` in interface `AutoCloseable`