Searched refs:bufferAllocator_ (Results 1 – 2 of 2) sorted by relevance
58 bufferAllocator_ = factory->GetBufferAllocator(bufferSourceType_); in Init()59 if (bufferAllocator_ == nullptr) { in Init()64 if (bufferAllocator_->Init() != RC_OK) { in Init()78 if (bufferAllocator_ == nullptr) { in PrepareBuffer()85 bufferAllocator_->AllocBuffer(bufferWidth_, bufferHeight_, bufferUsage_, bufferFormat_); in PrepareBuffer()90 if (RC_OK != bufferAllocator_->MapBuffer(buffer)) { in PrepareBuffer()115 if (bufferAllocator_ == nullptr) { in DestroyBuffer()124 RetCode ret = bufferAllocator_->UnmapBuffer(it); in DestroyBuffer()128 ret = bufferAllocator_->FreeBuffer(it); in DestroyBuffer()139 RetCode ret = bufferAllocator_->UnmapBuffer(it); in DestroyBuffer()[all …]
66 std::shared_ptr<IBufferAllocator> bufferAllocator_ = nullptr; variable