• Home
  • Raw
  • Download

Lines Matching refs:mImpl

203     return mImpl->handle();  in handle()
207 return mImpl->getAllocatorId(); in getAllocatorId()
212 : _C2LinearRangeAspect(impl.get(), range.offset(), range.size()), mImpl(impl) { in C2Block1D()
228 mImpl(impl), in C2ReadView()
232 : _C2LinearCapacityAspect(0u), mImpl(std::make_shared<Impl>(error)), mOffset(0u) { in C2ReadView()
237 return mImpl->error() ? nullptr : mImpl->data() + mOffset; in data()
241 return mImpl->error(); in error()
246 return C2ReadView(mImpl, mOffset + subRange.offset(), subRange.size()); in subView()
260 …: _C2EditableLinearRangeAspect(std::make_unique<C2LinearCapacity>(impl->size()).get()), mImpl(impl… in C2WriteView()
263 : _C2EditableLinearRangeAspect(nullptr), mImpl(std::make_shared<Impl>(error)) {} in C2WriteView()
265 uint8_t *C2WriteView::base() { return mImpl->data(); } in base()
267 uint8_t *C2WriteView::data() { return mImpl->data() + offset(); } in data()
269 c2_status_t C2WriteView::error() const { return mImpl->error(); } in error()
280 c2_status_t error = mImpl->getAllocation()->map( in map()
285 new ReadViewBuddy::Impl(*mImpl, (uint8_t *)base, offset(), len), in map()
297 C2LinearRange subRange(*mImpl, offset_, size_); in subBlock()
298 return C2ConstLinearBlock(mImpl, subRange, mFence); in subBlock()
310 c2_status_t error = mImpl->getAllocation()->map( in map()
315 new WriteViewBuddy::Impl(*mImpl, (uint8_t *)base, 0, len), in map()
327 return ConstLinearBlockBuddy(mImpl, C2LinearRange(*this, offset_, size_), fence); in share()
391 if (block.mImpl) { in GetLinearBlockPoolData()
392 return block.mImpl->poolData(); in GetLinearBlockPoolData()
766 : mAllocator(allocator), mLocalId(localId), mImpl(new Impl(allocator)) {} in C2PooledBlockPool()
775 if (mImpl) { in fetchLinearBlock()
776 return mImpl->fetchLinearBlock(capacity, usage, block); in fetchLinearBlock()
787 if (mImpl) { in fetchGraphicBlock()
788 return mImpl->fetchGraphicBlock(width, height, format, usage, block); in fetchGraphicBlock()
794 if (mImpl) { in getConnectionId()
795 return mImpl->getConnectionId(); in getConnectionId()
864 : mImpl(impl), mWritable(writable) { in Mapped()
866 const C2Rect crop = mImpl->crop(); in Mapped()
869 mError = mImpl->getAllocation()->map( in Mapped()
889 mImpl->getAllocation()->unmap(mData, crop, nullptr); in Mapped()
904 : mImpl(nullptr), mWritable(false), mError(error) { in Mapped()
914 mImpl->getAllocation()->unmap(mData, mImpl->crop(), nullptr); in ~Mapped()
931 const std::shared_ptr<_C2Block2DImpl> mImpl; member
993 return mImpl->handle(); in handle()
997 return mImpl->getAllocatorId(); in getAllocatorId()
1002 : _C2PlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2Block2D()
1018 : _C2EditablePlanarSectionAspect(impl.get(), section.crop()), mImpl(impl) { in C2GraphicView()
1022 return mImpl->mapping()->data(); in data()
1026 return mImpl->mapping()->data(); in data()
1030 return mImpl->mapping()->layout(); in layout()
1034 return C2GraphicView(mImpl, C2PlanarSection(*mImpl, rect)); in subView()
1038 return C2GraphicView(mImpl, C2PlanarSection(*mImpl, rect)); in subView()
1042 return mImpl->mapping()->error(); in error()
1055 mImpl->map(false /* writable */, &fence); in map()
1057 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map()
1059 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1063 return C2ConstGraphicBlock(mImpl, C2PlanarSection(*mImpl, crop().intersect(rect)), mFence); in subBlock()
1076 mImpl->map(true /* writable */, &fence); in map()
1078 std::shared_ptr<GraphicViewBuddy::Impl>(new GraphicViewBuddy::Impl(*mImpl, mapping)); in map()
1080 mapping->error(), fence, GraphicViewBuddy(gvi, C2PlanarSection(*mImpl, crop()))); in map()
1084 return ConstGraphicBlockBuddy(mImpl, C2PlanarSection(*mImpl, crop), fence); in share()
1123 if (block.mImpl) { in GetGraphicBlockPoolData()
1124 return block.mImpl->poolData(); in GetGraphicBlockPoolData()
1176 C2BufferData::C2BufferData(const std::vector<C2ConstLinearBlock> &blocks) : mImpl(new Impl(blocks))… in C2BufferData()
1177 C2BufferData::C2BufferData(const std::vector<C2ConstGraphicBlock> &blocks) : mImpl(new Impl(blocks)… in C2BufferData()
1179 C2BufferData::type_t C2BufferData::type() const { return mImpl->type(); } in type()
1182 return mImpl->linearBlocks(); in linearBlocks()
1186 return mImpl->graphicBlocks(); in graphicBlocks()
1304 : mImpl(new Impl(this, blocks)) {} in C2Buffer()
1307 : mImpl(new Impl(this, blocks)) {} in C2Buffer()
1309 const C2BufferData C2Buffer::data() const { return mImpl->data(); } in data()
1312 return mImpl->registerOnDestroyNotify(onDestroyNotify, arg); in registerOnDestroyNotify()
1316 return mImpl->unregisterOnDestroyNotify(onDestroyNotify, arg); in unregisterOnDestroyNotify()
1320 return mImpl->info(); in info()
1324 return mImpl->setInfo(info); in setInfo()
1328 return mImpl->hasInfo(index); in hasInfo()
1332 return mImpl->getInfo(index); in getInfo()
1336 return mImpl->removeInfo(index); in removeInfo()