Lines Matching refs:mImpl
199 return mImpl->handle(); in handle()
203 return mImpl->getAllocatorId(); in getAllocatorId()
208 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
224 mImpl(impl), in C2ReadView()
228 : _C2LinearCapacityAspect(0u), mImpl(std::make_shared<Impl>(error)), mOffset(0u) { in C2ReadView()
233 return mImpl->error() ? nullptr : mImpl->data() + mOffset; in data()
237 return mImpl->error(); in error()
242 return C2ReadView(mImpl, mOffset + subRange.offset(), subRange.size()); in subView()
256 …: _C2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl… in C2WriteView()
259 : _C2EditableLinearRangeAspect(nullptr), mImpl(std::make_shared<Impl>(error)) {} in C2WriteView()
261 uint8_t *C2WriteView::base() { return mImpl->data(); } in base()
263 uint8_t *C2WriteView::data() { return mImpl->data() + offset(); } in data()
265 c2_status_t C2WriteView::error() const { return mImpl->error(); } in error()
276 c2_status_t error = mImpl->getAllocation()->map( in map()
281 new ReadViewBuddy::Impl(*mImpl, (uint8_t *)base, offset(), len), in map()
293 C2LinearRange subRange(*mImpl, offset_, size_); in subBlock()
294 return C2ConstLinearBlock(mImpl, subRange, mFence); in subBlock()
306 c2_status_t error = mImpl->getAllocation()->map( in map()
311 new WriteViewBuddy::Impl(*mImpl, (uint8_t *)base, 0, len), in map()
323 return ConstLinearBlockBuddy(mImpl, C2LinearRange(*this, offset_, size_), fence); in share()
387 if (block.mImpl) { in GetLinearBlockPoolData()
388 return block.mImpl->poolData(); in GetLinearBlockPoolData()
740 : mAllocator(allocator), mLocalId(localId), mImpl(new Impl(allocator)) {} in C2PooledBlockPool()
749 if (mImpl) { in fetchLinearBlock()
750 return mImpl->fetchLinearBlock(capacity, usage, block); in fetchLinearBlock()
761 if (mImpl) { in fetchGraphicBlock()
762 return mImpl->fetchGraphicBlock(width, height, format, usage, block); in fetchGraphicBlock()
768 if (mImpl) { in getConnectionId()
769 return mImpl->getConnectionId(); in getConnectionId()
838 : mImpl(impl), mWritable(writable) { in Mapped()
840 const C2Rect crop = mImpl->crop(); in Mapped()
843 mError = mImpl->getAllocation()->map( in Mapped()
863 mImpl->getAllocation()->unmap(mData, crop, nullptr); in Mapped()
878 : mImpl(nullptr), mWritable(false), mError(error) { in Mapped()
888 mImpl->getAllocation()->unmap(mData, mImpl->crop(), nullptr); in ~Mapped()
905 const std::shared_ptr<_C2Block2DImpl> mImpl; member
967 return mImpl->handle(); in handle()
971 return mImpl->getAllocatorId(); in getAllocatorId()
976 : _C2PlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2Block2D()
992 : _C2EditablePlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2GraphicView()
996 return mImpl->mapping()->data(); in data()
1000 return mImpl->mapping()->data(); in data()
1004 return mImpl->mapping()->layout(); in layout()
1008 return C2GraphicView(mImpl, C2PlanarSection(*mImpl, rect)); in subView()
1012 return C2GraphicView(mImpl, C2PlanarSection(*mImpl, rect)); in subView()
1016 return mImpl->mapping()->error(); in error()
1029 mImpl->map(false /* writable */, &fence); in map()
1031 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map()
1033 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1037 return C2ConstGraphicBlock(mImpl, C2PlanarSection(*mImpl, crop().intersect(rect)), mFence); in subBlock()
1050 mImpl->map(true /* writable */, &fence); in map()
1052 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map()
1054 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1058 return ConstGraphicBlockBuddy(mImpl, C2PlanarSection(*mImpl, crop), fence); in share()
1097 if (block.mImpl) { in GetGraphicBlockPoolData()
1098 return block.mImpl->poolData(); in GetGraphicBlockPoolData()
1149 C2BufferData::C2BufferData(const std::vector<C2ConstLinearBlock> &blocks) : mImpl(new Impl(blocks))… in C2BufferData()
1150 C2BufferData::C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks) : mImpl(new Impl(blocks)… in C2BufferData()
1152 C2BufferData::type_t C2BufferData::type() const { return mImpl->type(); } in type()
1155 return mImpl->linearBlocks(); in linearBlocks()
1159 return mImpl->graphicBlocks(); in graphicBlocks()
1248 : mImpl(new Impl(this, blocks)) {} in C2Buffer()
1251 : mImpl(new Impl(this, blocks)) {} in C2Buffer()
1253 const C2BufferData C2Buffer::data() const { return mImpl->data(); } in data()
1256 return mImpl->registerOnDestroyNotify(onDestroyNotify, arg); in registerOnDestroyNotify()
1260 return mImpl->unregisterOnDestroyNotify(onDestroyNotify, arg); in unregisterOnDestroyNotify()
1264 return mImpl->info(); in info()
1268 return mImpl->setInfo(info); in setInfo()
1272 return mImpl->hasInfo(index); in hasInfo()
1276 return mImpl->getInfo(index); in getInfo()
1280 return mImpl->removeInfo(index); in removeInfo()