Lines Matching refs:buffInfo_
59 buffInfo_ = nullptr;
115 (void)memset_s(buffInfo_->virAddr, width_ * height_ * pixelBytes, 0, width_ * height_ * pixelBytes);
116 sfDev_->Flip(reinterpret_cast<uint8_t *>(buffInfo_->virAddr));
132 if (buffInfo_ != nullptr) {
133 return buffInfo_.get();
150 buffInfo_ = std::make_unique<OHOS::BufferInfo>();
151 buffInfo_->rect = { 0, 0, static_cast<int16_t>(width_ - 1), static_cast<int16_t>(height_ - 1) };
152 buffInfo_->mode = static_cast<OHOS::ColorMode>(colorMode_);
153 buffInfo_->color = bkgColor_;
154 buffInfo_->virAddr = virAddr_.get();
155 buffInfo_->phyAddr = buffInfo_->virAddr;
156 buffInfo_->stride = static_cast<uint32_t>(width_ * pixelBytes);
157 buffInfo_->width = width_;
158 buffInfo_->height = height_;
160 return buffInfo_.get();
165 if ((sfDev_ == nullptr) || (buffInfo_ == nullptr)) {
171 sfDev_->Flip(reinterpret_cast<uint8_t *>(buffInfo_->virAddr));