Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c229c2a6 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

am 8632b85b: Merge "Fix issues around GL on incorrect thread" into lmp-preview-dev

* commit '8632b85b3ceca1b64ca37843ffd87bc10f4ae72f':
  Fix issues around GL on incorrect thread
parents 3ae7a0c0 56f46abd
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -153,6 +153,11 @@ public:

    // TODO: rename for consistency
    virtual status_t callDrawGLFunction(Functor* functor, Rect& dirty);
protected:
    // NOTE: must override these to avoid calling into super class, which calls GL. These may be
    // removed once DisplayListRenderer no longer inherits from OpenGLRenderer
    virtual void onViewportInitialized() {};
    virtual void onSnapshotRestored() {};

private:
    void insertRestoreToCount();