Home
last modified time | relevance | path

Searched refs:bitmapHeight (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.cpp171 uint32_t bitmapHeight = static_cast<uint32_t>(layerBitmap.GetHeight()); in PrepareHardwareResourceBuffer() local
173 if (bitmapHeight <= 0 || bitmapWidth <= 0 || layerInfo->layerHeight <= 0) { in PrepareHardwareResourceBuffer()
177 SetRcdBufferHeight(bitmapHeight); 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()