diff options
Diffstat (limited to 'services/surfaceflinger/SurfaceFlingerConsumer.h')
-rw-r--r-- | services/surfaceflinger/SurfaceFlingerConsumer.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/surfaceflinger/SurfaceFlingerConsumer.h b/services/surfaceflinger/SurfaceFlingerConsumer.h index 1aaba18..a90a8b9 100644 --- a/services/surfaceflinger/SurfaceFlingerConsumer.h +++ b/services/surfaceflinger/SurfaceFlingerConsumer.h @@ -28,6 +28,8 @@ namespace android { */ class SurfaceFlingerConsumer : public GLConsumer { public: + static const status_t BUFFER_REJECTED = UNKNOWN_ERROR + 8; + struct ContentsChangedListener: public FrameAvailableListener { virtual void onSidebandStreamChanged() = 0; }; @@ -68,6 +70,9 @@ public: sp<NativeHandle> getSidebandStream() const; + // See IGraphicBufferConsumer::setShadowQueueSize + void setShadowQueueSize(size_t size); + nsecs_t computeExpectedPresent(const DispSync& dispSync); private: |