Renderer
Inheritors
Properties
Getter/Setter for the underlying C++ pointer value.
A lock to synchronize access to the C++ renderer object between the UI thread (which handles lifecycle events like delete()) and the Choreographer thread (which executes doFrame()). This prevents a race condition where the UI thread might nullify the C++ pointer while the worker thread is still using it.
Whether this objects underlying pointer is still valid.
Optional callback for EGL context-loss lifecycle events (Lost/Recovered).
Functions
Increments the references for this counter. Cannot be used for initialization - use refs.incrementAndGet instead.
Decrements the reference counter.
Schedule a new frame callback to the Choreographer loop, calling back to doFrame.
Sets the drawing surface for the renderer.
Calls stopThread and removes any pending FrameCallbacks from the Choreographer.