/frameworks/base/libs/hwui/ |
D | LayerUpdateQueue.cpp | 28 void LayerUpdateQueue::enqueueLayerWithDamage(RenderNode* renderNode, Rect damage) { in enqueueLayerWithDamage() argument 29 damage.roundOut(); in enqueueLayerWithDamage() 30 damage.doIntersect(0, 0, renderNode->getWidth(), renderNode->getHeight()); in enqueueLayerWithDamage() 31 if (!damage.isEmpty()) { in enqueueLayerWithDamage() 34 entry.damage.unionWith(damage); in enqueueLayerWithDamage() 38 mEntries.emplace_back(renderNode, damage); in enqueueLayerWithDamage()
|
D | LayerUpdateQueue.h | 38 Entry(RenderNode* renderNode, const Rect& damage) in Entry() 39 : renderNode(renderNode), damage(damage) {} in Entry() 41 Rect damage; member
|
/frameworks/base/libs/hwui/tests/unit/ |
D | LayerUpdateQueueTests.cpp | 52 EXPECT_EQ(Rect(25, 25, 75, 75), queue.entries()[0].damage); in TEST() 54 EXPECT_EQ(Rect(100, 100, 200, 200), queue.entries()[1].damage); // clipped to bounds in TEST() 56 EXPECT_EQ(Rect(0, 0, 1, 1), queue.entries()[2].damage); // rounded out in TEST() 69 EXPECT_EQ(Rect(10, 10, 40, 40), queue.entries()[0].damage); in TEST()
|
D | RenderNodeTests.cpp | 328 EXPECT_EQ(uirenderer::Rect(0, 0, 200, 400), info.layerUpdateQueue->entries().at(0).damage); in RENDERTHREAD_TEST()
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
D | Hwc2TestProperties.cpp | 573 hwc_region_t damage; in update() local 576 damage.numRects = regionScalar.size(); in update() 578 if (damage.numRects > 0) { in update() 579 hwc_rect_t* rects = new hwc_rect_t[damage.numRects]; in update() 585 for (size_t i = 0; i < damage.numRects; i++) { in update() 592 damage.rects = static_cast<hwc_rect_t const*>(rects); in update() 594 damage.rects = nullptr; in update() 597 mSurfaceDamages.push_back(damage); in update()
|
D | Hwc2Test.cpp | 812 hwc_region_t damage, hwc2_error_t* outErr = nullptr) in setClientTarget() argument 819 acquireFence, static_cast<int>(dataspace), damage)); in setClientTarget() 1696 hwc_region_t damage = { }; in setClientTarget() local 1704 dataspace, damage)); in setClientTarget() 3721 const hwc_region_t damage = { }; in TEST_F() local 3775 acquireFence, dataspace, damage)); in TEST_F() 3800 const hwc_region_t damage = { }; in TEST_F() local 3814 dataspace, damage, &err)); in TEST_F()
|
/frameworks/native/libs/gui/include/gui/ |
D | IGraphicBufferProducer.h | 373 void setSurfaceDamage(const Region& damage) { surfaceDamage = damage; } in setSurfaceDamage()
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWC2.cpp | 841 Error Layer::setSurfaceDamage(const Region& damage) in setSurfaceDamage() argument 843 if (damage.isRect() && mDamageRegion.isRect() && in setSurfaceDamage() 844 (damage.getBounds() == mDamageRegion.getBounds())) { in setSurfaceDamage() 847 mDamageRegion = damage; in setSurfaceDamage() 852 if (damage.isRect() && damage.getBounds() == Rect::INVALID_RECT) { in setSurfaceDamage() 857 auto rectArray = damage.getArray(&rectCount); in setSurfaceDamage()
|
D | ComposerHal.h | 137 const std::vector<IComposerClient::Rect>& damage) = 0; 159 const std::vector<IComposerClient::Rect>& damage) = 0; 352 const std::vector<IComposerClient::Rect>& damage) override; 373 const std::vector<IComposerClient::Rect>& damage) override;
|
D | ComposerHal.cpp | 565 const std::vector<IComposerClient::Rect>& damage) in setClientTarget() argument 585 mWriter.setClientTarget(slot, handle, acquireFence, dataspace, damage); in setClientTarget() 720 const std::vector<IComposerClient::Rect>& damage) in setLayerSurfaceDamage() argument 724 mWriter.setLayerSurfaceDamage(damage); in setLayerSurfaceDamage()
|
D | HWC2.h | 374 [[clang::warn_unused_result]] virtual Error setSurfaceDamage(const android::Region& damage) = 0; 412 Error setSurfaceDamage(const android::Region& damage) override;
|
/frameworks/native/services/surfaceflinger/ |
D | BufferLayerConsumer.cpp | 372 void BufferLayerConsumer::mergeSurfaceDamage(const Region& damage) { in mergeSurfaceDamage() argument 373 if (damage.bounds() == Rect::INVALID_RECT || in mergeSurfaceDamage() 377 mCurrentSurfaceDamage |= damage; in mergeSurfaceDamage()
|
D | BufferLayerConsumer.h | 144 void mergeSurfaceDamage(const Region& damage);
|
/frameworks/native/services/surfaceflinger/tests/fakehwc/ |
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/ |
D | vr_hwc.h | 248 const std::vector<hwc_rect_t>& damage) override; 267 const std::vector<hwc_rect_t>& damage) override;
|
D | vr_hwc.cpp | 697 const std::vector<hwc_rect_t>& damage) { in setLayerSurfaceDamage() argument 707 hwc_layer->info.damaged_regions = damage; in setLayerSurfaceDamage()
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 238 SkRect damage; member
|
D | CanvasContext.cpp | 468 swap.damage = windowDirty; in draw() 731 dirty->join(mSwapHistory[i].damage); in computeDirtyRect()
|
/frameworks/base/libs/hwui/pipeline/skia/ |
D | SkiaPipeline.cpp | 109 const Rect& layerDamage = layers.entries()[i].damage; in renderLayersImpl()
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Transaction_test.cpp | 6177 auto queue = [&](int slot, const Region& damage, nsecs_t displayTime) { in TEST_F() argument 6182 input.setSurfaceDamage(damage); in TEST_F()
|
/frameworks/base/core/java/android/view/ |
D | View.java | 18159 final Rect damage = ai.mTmpInvalRect; in invalidateInternal() local 18160 damage.set(l, t, r, b); in invalidateInternal() 18161 p.invalidateChild(this, damage); in invalidateInternal()
|