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

* commit '8632b85b3ceca1b64ca37843ffd87bc10f4ae72f':
  Fix issues around GL on incorrect thread
This commit is contained in:
Chris Craik
2014-06-05 22:22:51 +00:00
committed by Android Git Automerger

View File

@@ -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();