Home | History | Annotate | Download | only in base

Lines Matching refs:ISVBuffer

37 ISVBuffer::~ISVBuffer() {
44 status_t ISVBuffer::initBufferInfo(uint32_t hackFormat)
114 status_t ISVBuffer::clearIfNeed()
169 ISVBuffer* isvBuffer = mBuffers.itemAt(i);
170 if (isvBuffer->getHandle() == handle) {
171 delete isvBuffer;
190 ISVBuffer* isvBuffer = mBuffers.itemAt(i);
191 if (isvBuffer->getHandle() == handle) {
197 ISVBuffer* isvBuffer = new ISVBuffer(mWorker, handle,
198 mMetaDataMode ? ISVBuffer::ISV_BUFFER_METADATA : ISVBuffer::ISV_BUFFER_GRALLOC,
199 mNeedClearBuffers ? ISVBuffer::ISV_BUFFER_NEED_CLEAR : 0);
204 mBuffers.push_back(isvBuffer);
216 ISVBuffer* isvBuffer = mBuffers.itemAt(i);
217 if (isvBuffer->getHandle() == (unsigned long)nativeBuffer->handle) {
225 ISVBuffer* isvBuffer = new ISVBuffer(mWorker,
229 mMetaDataMode ? ISVBuffer::ISV_BUFFER_METADATA : ISVBuffer::ISV_BUFFER_GRALLOC,
230 mNeedClearBuffers ? ISVBuffer::ISV_BUFFER_NEED_CLEAR : 0);
236 mBuffers.push_back(isvBuffer);
240 ISVBuffer* ISVBufferManager::mapBuffer(unsigned long handle)
244 ISVBuffer* isvBuffer = mBuffers.itemAt(i);
245 if (isvBuffer->getHandle() == handle)
246 return isvBuffer;
255 if (flag & ISVBuffer::ISV_BUFFER_NEED_CLEAR) {
260 ISVBuffer* isvBuffer = mBuffers.itemAt(i);
261 isvBuffer->setFlag(ISVBuffer::ISV_BUFFER_NEED_CLEAR);