Home
last modified time | relevance | path

Searched refs:bitmapWidth (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.cpp172 uint32_t bitmapWidth = static_cast<uint32_t>(layerBitmap.GetWidth()); in PrepareHardwareResourceBuffer() local
173 if (bitmapHeight <= 0 || bitmapWidth <= 0 || layerInfo->layerHeight <= 0) { in PrepareHardwareResourceBuffer()
178 SetRcdBufferWidth(bitmapWidth); in PrepareHardwareResourceBuffer()
182 rcdExtInfo_.srcRect_ = RectI(0, 0, bitmapWidth, bitmapHeight); in PrepareHardwareResourceBuffer()
183 rcdExtInfo_.dstRect_ = RectI(0, 0, bitmapWidth, bitmapHeight); in PrepareHardwareResourceBuffer()
186 rcdExtInfo_.srcRect_ = RectI(0, 0, bitmapWidth, bitmapHeight); in PrepareHardwareResourceBuffer()
187 … rcdExtInfo_.dstRect_ = RectI(0, layerInfo->layerHeight - bitmapHeight, bitmapWidth, bitmapHeight); in PrepareHardwareResourceBuffer()