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