diff options
Diffstat (limited to 'include/gui/SurfaceTextureClient.h')
-rw-r--r-- | include/gui/SurfaceTextureClient.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/include/gui/SurfaceTextureClient.h b/include/gui/SurfaceTextureClient.h index 50fd1ba..108126d 100644 --- a/include/gui/SurfaceTextureClient.h +++ b/include/gui/SurfaceTextureClient.h @@ -93,6 +93,9 @@ private: int dispatchSetCrop(va_list args); int dispatchSetPostTransformCrop(va_list args); int dispatchSetUsage(va_list args); +#ifdef QCOM_BSP + int dispatchSetBuffersSize(va_list args); +#endif int dispatchLock(va_list args); int dispatchUnlockAndPost(va_list args); @@ -103,7 +106,9 @@ protected: virtual int perform(int operation, va_list args); virtual int query(int what, int* value) const; virtual int setSwapInterval(int interval); - +#ifdef QCOM_BSP + virtual int setBuffersSize(int size); +#endif virtual int lockBuffer_DEPRECATED(ANativeWindowBuffer* buffer); virtual int connect(int api); @@ -161,6 +166,12 @@ private: // at the next deuque operation. It is initialized to 0. uint32_t mReqUsage; +#ifdef QCOM_BSP + // mReqSize is the size of the buffer that will be requested + // at the next dequeue operation. It is initialized to 0. + uint32_t mReqSize; +#endif + // mTimestamp is the timestamp that will be used for the next buffer queue // operation. It defaults to NATIVE_WINDOW_TIMESTAMP_AUTO, which means that // a timestamp is auto-generated when queueBuffer is called. |