Searched refs:hwcRects (Results 1 - 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestProperties.cpp691 hwc_rect_t* hwcRects = new hwc_rect_t[size]; local
693 hwcRects[i].left = rects[i].left;
694 hwcRects[i].top = rects[i].top;
695 hwcRects[i].right = rects[i].right;
696 hwcRects[i].bottom = rects[i].bottom;
698 mVisibleRegion.rects = hwcRects;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp767 std::vector<Hwc2::IComposerClient::Rect> hwcRects; local
769 hwcRects.push_back({rectArray[rect].left, rectArray[rect].top,
773 intError = mComposer.setLayerSurfaceDamage(mDisplayId, mId, hwcRects);
857 std::vector<Hwc2::IComposerClient::Rect> hwcRects; local
859 hwcRects.push_back({rectArray[rect].left, rectArray[rect].top,
863 auto intError = mComposer.setLayerVisibleRegion(mDisplayId, mId, hwcRects);

Completed in 62 milliseconds