Loading include/gui/BufferQueueProducer.h +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ public: // handle if any. virtual status_t setSidebandStream(const sp<NativeHandle>& stream); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // setBufferSize enables us to specify user defined sizes for the buffers // that need to be allocated by surfaceflinger for its client. This is // useful for cases where the client doesn't want the gralloc to calculate Loading include/gui/GraphicBufferAlloc.h +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ public: virtual ~GraphicBufferAlloc(); virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual void setGraphicBufferSize(int size); private: int mBufferSize; Loading include/gui/IGraphicBufferAlloc.h +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public: */ virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) = 0; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual void setGraphicBufferSize(int size) = 0; #endif }; Loading include/gui/IGraphicBufferProducer.h +1 −1 Original line number Diff line number Diff line Loading @@ -482,7 +482,7 @@ public: virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) = 0; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // setBufferSize enables to specify the user defined size of the buffer // that needs to be allocated by surfaceflinger for its client. This is // useful for cases where the client doesn't want the gralloc to calculate Loading include/gui/Surface.h +3 −3 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ private: int dispatchSetCrop(va_list args); int dispatchSetPostTransformCrop(va_list args); int dispatchSetUsage(va_list args); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY int dispatchSetBuffersSize(va_list args); #endif int dispatchLock(va_list args); Loading Loading @@ -178,7 +178,7 @@ protected: virtual int setBuffersTimestamp(int64_t timestamp); virtual int setCrop(Rect const* rect); virtual int setUsage(uint32_t reqUsage); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual int setBuffersSize(int size); #endif Loading Loading @@ -229,7 +229,7 @@ private: // at the next deuque operation. It is initialized to 0. uint32_t mReqUsage; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // mReqSize is the size of the buffer that will be requested // at the next dequeue operation. It is initialized to 0. uint32_t mReqSize; Loading Loading
include/gui/BufferQueueProducer.h +1 −1 Original line number Diff line number Diff line Loading @@ -169,7 +169,7 @@ public: // handle if any. virtual status_t setSidebandStream(const sp<NativeHandle>& stream); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // setBufferSize enables us to specify user defined sizes for the buffers // that need to be allocated by surfaceflinger for its client. This is // useful for cases where the client doesn't want the gralloc to calculate Loading
include/gui/GraphicBufferAlloc.h +1 −1 Original line number Diff line number Diff line Loading @@ -35,7 +35,7 @@ public: virtual ~GraphicBufferAlloc(); virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual void setGraphicBufferSize(int size); private: int mBufferSize; Loading
include/gui/IGraphicBufferAlloc.h +1 −1 Original line number Diff line number Diff line Loading @@ -38,7 +38,7 @@ public: */ virtual sp<GraphicBuffer> createGraphicBuffer(uint32_t w, uint32_t h, PixelFormat format, uint32_t usage, status_t* error) = 0; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual void setGraphicBufferSize(int size) = 0; #endif }; Loading
include/gui/IGraphicBufferProducer.h +1 −1 Original line number Diff line number Diff line Loading @@ -482,7 +482,7 @@ public: virtual void allocateBuffers(bool async, uint32_t width, uint32_t height, uint32_t format, uint32_t usage) = 0; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // setBufferSize enables to specify the user defined size of the buffer // that needs to be allocated by surfaceflinger for its client. This is // useful for cases where the client doesn't want the gralloc to calculate Loading
include/gui/Surface.h +3 −3 Original line number Diff line number Diff line Loading @@ -149,7 +149,7 @@ private: int dispatchSetCrop(va_list args); int dispatchSetPostTransformCrop(va_list args); int dispatchSetUsage(va_list args); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY int dispatchSetBuffersSize(va_list args); #endif int dispatchLock(va_list args); Loading Loading @@ -178,7 +178,7 @@ protected: virtual int setBuffersTimestamp(int64_t timestamp); virtual int setCrop(Rect const* rect); virtual int setUsage(uint32_t reqUsage); #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY virtual int setBuffersSize(int size); #endif Loading Loading @@ -229,7 +229,7 @@ private: // at the next deuque operation. It is initialized to 0. uint32_t mReqUsage; #ifdef QCOM_BSP #ifdef QCOM_BSP_LEGACY // mReqSize is the size of the buffer that will be requested // at the next dequeue operation. It is initialized to 0. uint32_t mReqSize; Loading