/frameworks/base/libs/hwui/ |
H A D | LayerUpdateQueue.cpp | 28 void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { argument 29 damage.roundOut(); 30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight()); 31 if (!damage.isEmpty()) { 34 entry.damage.unionWith(damage); 38 mEntries.emplace_back(renderNode, damage);
|
H A D | LayerUpdateQueue.h | 37 Entry(RenderNode* renderNode, const Rect& damage) argument 38 : renderNode(renderNode), damage(damage) {} 40 Rect damage; member in struct:android::uirenderer::LayerUpdateQueue::Entry
|
H A D | FrameBuilder.cpp | 85 Rect layerDamage = layers.entries()[i].damage; 86 // TODO: ensure layer damage can't be larger than layer
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | LayerUpdateQueueTests.cpp | 52 EXPECT_EQ(Rect(25, 25, 75, 75), queue.entries()[0].damage); 54 EXPECT_EQ(Rect(100, 100, 200, 200), queue.entries()[1].damage); // clipped to bounds 56 EXPECT_EQ(Rect(0, 0, 1, 1), queue.entries()[2].damage); // rounded out 69 EXPECT_EQ(Rect(10, 10, 40, 40), queue.entries()[0].damage);
|
H A D | RenderNodeTests.cpp | 322 // damage rect. 326 EXPECT_EQ(uirenderer::Rect(0, 0, 200, 400), info.layerUpdateQueue->entries().at(0).damage);
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestProperties.cpp | 548 dmp << "\tsurface damage: region count " << curr.numRects << "\n"; 573 hwc_region_t damage; local 576 damage.numRects = regionScalar.size(); 578 if (damage.numRects > 0) { 579 hwc_rect_t* rects = new hwc_rect_t[damage.numRects]; 585 for (size_t i = 0; i < damage.numRects; i++) { 592 damage.rects = static_cast<hwc_rect_t const*>(rects); 594 damage.rects = nullptr; 597 mSurfaceDamages.push_back(damage);
|
H A D | Hwc2Test.cpp | 524 " damage"; 812 hwc_region_t damage, hwc2_error_t* outErr = nullptr) 819 acquireFence, static_cast<int>(dataspace), damage)); 1696 hwc_region_t damage = { }; local 1704 dataspace, damage)); 3302 /* TESTCASE: Tests that the HWC2 can set the surface damage of a layer. */ 3309 /* TESTCASE: Tests that the HWC2 can update the surface damage of a layer. */ 3316 /* TESTCASE: Tests that the HWC2 cannot set the surface damage of a bad layer. */ 3721 const hwc_region_t damage = { }; local 3775 acquireFence, dataspace, damage)); 810 setClientTarget(hwc2_display_t display, buffer_handle_t handle, int32_t acquireFence, Dataspace dataspace, hwc_region_t damage, hwc2_error_t* outErr = nullptr) argument 3800 const hwc_region_t damage = { }; local [all...] |
/frameworks/native/include/gui/ |
H A D | IGraphicBufferProducer.h | 364 void setSurfaceDamage(const Region& damage) { surfaceDamage = damage; } argument
|
/frameworks/native/libs/gui/include/gui/ |
H A D | IGraphicBufferProducer.h | 364 void setSurfaceDamage(const Region& damage) { surfaceDamage = damage; } argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | ComposerHal.h | 136 const std::vector<IComposerClient::Rect>& damage) = 0; 158 const std::vector<IComposerClient::Rect>& damage) = 0; 333 const std::vector<IComposerClient::Rect>& damage) override; 354 const std::vector<IComposerClient::Rect>& damage) override;
|
H A D | ComposerHal.cpp | 522 const std::vector<IComposerClient::Rect>& damage) 542 mWriter.setClientTarget(slot, handle, acquireFence, dataspace, damage); 674 const std::vector<IComposerClient::Rect>& damage) 678 mWriter.setLayerSurfaceDamage(damage); 519 setClientTarget(Display display, uint32_t slot, const sp<GraphicBuffer>& target, int acquireFence, Dataspace dataspace, const std::vector<IComposerClient::Rect>& damage) argument 673 setLayerSurfaceDamage(Display display, Layer layer, const std::vector<IComposerClient::Rect>& damage) argument
|
H A D | HWC2.cpp | 599 // TODO: Properly encode client target surface damage 799 Error Layer::setSurfaceDamage(const Region& damage) argument 801 // We encode default full-screen damage as INVALID_RECT upstream, but as 0 804 if (damage.isRect() && damage.getBounds() == Rect::INVALID_RECT) { 809 auto rectArray = damage.getArray(&rectCount);
|
H A D | HWC2.h | 315 const android::Region& damage);
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
H A D | FakeComposerClient.h | 95 int32_t dataspace, const std::vector<hwc_rect_t>& damage) override; 109 const std::vector<hwc_rect_t>& damage) override;
|
/frameworks/native/services/vr/hardware_composer/impl/ |
H A D | vr_hwc.h | 251 const std::vector<hwc_rect_t>& damage) override; 270 const std::vector<hwc_rect_t>& damage) override;
|
H A D | vr_hwc.cpp | 495 const std::vector<hwc_rect_t>& /* damage */) { 623 const std::vector<hwc_rect_t>& damage) { 633 hwc_layer->info.damaged_regions = damage; 622 setLayerSurfaceDamage(Display display, Layer layer, const std::vector<hwc_rect_t>& damage) argument
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 228 SkRect damage; member in struct:android::uirenderer::renderthread::CanvasContext::SwapHistory
|
H A D | CanvasContext.cpp | 474 swap.damage = windowDirty; 786 // to the damage history (happens below) 787 // So we need to damage 790 dirty->join(mSwapHistory[i].damage);
|
/frameworks/base/libs/hwui/pipeline/skia/ |
H A D | SkiaPipeline.cpp | 113 const Rect& layerDamage = layers.entries()[i].damage;
|
/frameworks/base/core/java/android/view/ |
H A D | View.java | 16428 // Propagate the damage rectangle to the parent view. 16432 final Rect damage = ai.mTmpInvalRect; 16433 damage.set(l, t, r, b); 16434 p.invalidateChild(this, damage); 16503 * Tells the parent view to damage this view's bounds. [all...] |