Home
last modified time | relevance | path

Searched refs:mSurfaceDamage (Results 1 – 12 of 12) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestClientTarget.cpp55 mSurfaceDamage(coverage) in Hwc2TestClientTargetSupport()
57 mBufferArea.setDependent(&mSurfaceDamage); in Hwc2TestClientTargetSupport()
101 return mSurfaceDamage.get(); in getSurfaceDamage()
DHwc2TestLayer.cpp52 mSurfaceDamage(getCoverage(Hwc2TestPropertyName::SurfaceDamage, coverage, in Hwc2TestLayer()
59 mBufferArea.setDependent(&mSurfaceDamage); in Hwc2TestLayer()
171 return mSurfaceDamage.get(); in getSurfaceDamage()
236 return mSurfaceDamage.advance(); in advanceSurfaceDamage()
DHwc2TestClientTarget.h61 &mDataspace, &mSurfaceDamage, &mBufferArea
66 Hwc2TestSurfaceDamage mSurfaceDamage; variable
DHwc2TestLayer.h82 &mSurfaceDamage, &mBlendMode, &mBufferArea, &mDisplayFrame,
96 Hwc2TestSurfaceDamage mSurfaceDamage; variable
DHwc2TestProperties.cpp68 mSurfaceDamage = surfaceDamage; in setDependent()
69 if (mSurfaceDamage) { in setDependent()
70 mSurfaceDamage->updateBufferArea(get()); in setDependent()
99 if (mSurfaceDamage) in updateDependents()
100 mSurfaceDamage->updateBufferArea(curr); in updateDependents()
DHwc2TestProperties.h162 Hwc2TestSurfaceDamage* mSurfaceDamage = nullptr; variable
/frameworks/native/libs/gui/
DBufferItem.cpp55 mSurfaceDamage(), in BufferItem()
102 size += mSurfaceDamage.getFlattenedSize(); in getFlattenedSize()
153 status_t err = mSurfaceDamage.flatten(buffer, size); in flatten()
155 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in flatten()
219 status_t err = mSurfaceDamage.unflatten(buffer, size); in unflatten()
221 FlattenableUtils::advance(buffer, size, mSurfaceDamage.getFlattenedSize()); in unflatten()
DBufferQueueProducer.cpp892 item.mSurfaceDamage = surfaceDamage; in queueBuffer()
941 if (last.mSurfaceDamage.bounds() == Rect::INVALID_RECT || in queueBuffer()
942 item.mSurfaceDamage.bounds() == Rect::INVALID_RECT) { in queueBuffer()
943 item.mSurfaceDamage = Region::INVALID_REGION; in queueBuffer()
945 item.mSurfaceDamage |= last.mSurfaceDamage; in queueBuffer()
DBufferQueueConsumer.cpp228 outBuffer->mSurfaceDamage = Region::INVALID_REGION; in acquireBuffer()
/frameworks/native/libs/gui/include/gui/
DBufferItem.h116 Region mSurfaceDamage; variable
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp316 mConsumer->mergeSurfaceDamage(mQueueItems[0].mSurfaceDamage); in updateTexImage()
352 mConsumer->mergeSurfaceDamage(mQueueItems[0].mSurfaceDamage); in updateTexImage()
DBufferLayerConsumer.cpp283 mCurrentSurfaceDamage = item.mSurfaceDamage; in updateAndReleaseLocked()