Lines Matching refs:bufInfo
1309 BufferInfo bufInfo{mask, 0, nullptr, nullptr, 0, 0, colorMode, 0};
1310 bufInfo.width = mask.GetWidth();
1311 bufInfo.height = mask.GetHeight();
1312 bufInfo.stride = bufInfo.width * DrawUtils::GetByteSizeByColorMode(bufInfo.mode);
1313 BaseGfxEngine::GetInstance()->AdjustLineStride(bufInfo);
1314 imageInfo.header.colorMode = bufInfo.mode;
1315 imageInfo.dataSize = bufInfo.stride * bufInfo.height;
1316 imageInfo.header.width = bufInfo.width;
1317 imageInfo.header.height = bufInfo.height;
1320 bufInfo.virAddr = ImageCacheMalloc(imageInfo);
1321 if (bufInfo.virAddr == nullptr) {
1328 imageInfo.data = reinterpret_cast<uint8_t*>(bufInfo.virAddr);
1329 if (memset_s(bufInfo.virAddr, imageInfo.dataSize, 0, imageInfo.dataSize) != EOK) {
1335 bufInfo.phyAddr = bufInfo.virAddr;
1338 rootView->UpdateBufferInfo(&bufInfo);