Searched refs:newRects (Results 1 – 1 of 1) sorted by relevance
1306 auto newRects = static_cast<hwc_rect_t*>(std::malloc(size)); in cloneHWCRegion() local1307 std::copy_n(region.rects, region.numRects, newRects); in cloneHWCRegion()1308 region.rects = newRects; in cloneHWCRegion()2252 hwc_rect_t* newRects = static_cast<hwc_rect_t*>( in applyCommonState() local2254 std::copy(pending.begin(), pending.end(), newRects); in applyCommonState()2255 hwc1VisibleRegion.rects = const_cast<const hwc_rect_t*>(newRects); in applyCommonState()