Home
last modified time | relevance | path

Searched refs:nodeBuffer (Results 1 – 1 of 1) sorted by relevance

/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/render_service/core/pipeline/round_corner_display/
H A Drs_rcd_surface_render_node.cpp200 sptr<SurfaceBuffer> nodeBuffer = GetBuffer(); in SetHardwareResourceToBuffer() local
201 if (nodeBuffer == nullptr) { in SetHardwareResourceToBuffer()
205 …ing::ImageInfo imgInfo = Drawing::ImageInfo::MakeN32Premul(nodeBuffer->GetWidth(), nodeBuffer->Get… in SetHardwareResourceToBuffer()
206 if (!layerBitmap.ReadPixels(imgInfo, reinterpret_cast<void*>(nodeBuffer->GetVirAddr()), in SetHardwareResourceToBuffer()
207 nodeBuffer->GetStride(), 0, 0)) { in SetHardwareResourceToBuffer()
221 sptr<SurfaceBuffer> nodeBuffer = GetBuffer(); in FillHardwareResource() local
222 if (nodeBuffer == nullptr) { in FillHardwareResource()
241 int stride = nodeBuffer->GetStride(); in FillHardwareResource()
245 uint8_t *img = static_cast<uint8_t*>(nodeBuffer->GetVirAddr()); in FillHardwareResource()
246 uint32_t bufferSize = nodeBuffer->GetSize(); in FillHardwareResource()