Home
last modified time | relevance | path

Searched refs:surfaceDamage (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/gui/
DIGraphicBufferProducerFlattenables.cpp37 surfaceDamage.getFlattenedSize() + in getFlattenedSize()
65 result = surfaceDamage.flatten(buffer, size); in flatten()
69 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in flatten()
100 result = surfaceDamage.unflatten(buffer, size); in unflatten()
104 FlattenableUtils::advance(buffer, size, surfaceDamage.getFlattenedSize()); in unflatten()
DBufferQueueProducer.cpp900 const Region& surfaceDamage = input.getSurfaceDamage(); in queueBuffer() local
1015 item.mSurfaceDamage = surfaceDamage; in queueBuffer()
/frameworks/native/libs/gui/include/gui/
DIGraphicBufferProducer.h325 fence(_fence), surfaceDamage(), in timestamp()
362 const Region& getSurfaceDamage() const { return surfaceDamage; } in getSurfaceDamage()
363 void setSurfaceDamage(const Region& damage) { surfaceDamage = damage; } in setSurfaceDamage()
376 Region surfaceDamage; member
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/
DLayerFECompositionState.h168 Region surfaceDamage; member
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp207 if (!h2b(hInput.surfaceDamage, &bInput.surfaceDamage)) { in queueBuffer()
DH2BGraphicBufferProducer.cpp60 !b2h(from.surfaceDamage, &to->surfaceDamage) || in b2h()
/frameworks/native/services/surfaceflinger/CompositionEngine/src/
DOutputLayer.cpp575 const Region& surfaceDamage = getState().overrideInfo.buffer in writeOutputIndependentPerFrameStateToHWC() local
578 : outputIndependentState.surfaceDamage); in writeOutputIndependentPerFrameStateToHWC()
580 if (auto error = hwcLayer->setSurfaceDamage(surfaceDamage); error != hal::Error::NONE) { in writeOutputIndependentPerFrameStateToHWC()
583 outputIndependentState.surfaceDamage.dump(LOG_TAG); in writeOutputIndependentPerFrameStateToHWC()
/frameworks/native/libs/gui/bufferqueue/1.0/
DConversion.cpp1204 getFlattenedSize(t.surfaceDamage) + in getFlattenedSize()
1259 status = flatten(t.surfaceDamage, buffer, size); in flatten()
1318 return unflatten(&(t->surfaceDamage), buffer, size); in unflatten()
DH2BGraphicBufferProducer.cpp518 return unflatten(&(t->surfaceDamage), buffer, size); in unflatten()
/frameworks/native/services/surfaceflinger/FrontEnd/
DLayerSnapshot.cpp361 updateSurfaceDamage(requested, requested.hasReadyFrame(), forceFullDamage, surfaceDamage); in merge()
DLayerSnapshotBuilder.cpp326 snapshot.surfaceDamage.clear(); in clearChanges()
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/
DOutputLayerTest.cpp832 mLayerFEState.surfaceDamage = kSurfaceDamage; in OutputLayerWriteStateToHWCTest()
889 const Region& surfaceDamage = kSurfaceDamage, in expectPerFrameCommonCalls()
899 EXPECT_CALL(*mHwcLayer, setSurfaceDamage(RegionEq(surfaceDamage))).WillOnce(Return(kError)); in expectPerFrameCommonCalls()
/frameworks/native/services/surfaceflinger/
DLayerProtoHelper.cpp392 LayerProtoHelper::writeToProto(snapshot.surfaceDamage, in writeSnapshotToProto()
DLayer.cpp646 snapshot->surfaceDamage = surfaceDamageRegion; in preparePerFrameCompositionState()
3361 bool Layer::setSurfaceDamageRegion(const Region& surfaceDamage) { in setSurfaceDamageRegion() argument
3362 if (mDrawingState.surfaceDamageRegion.hasSameRects(surfaceDamage)) return false; in setSurfaceDamageRegion()
3363 mDrawingState.surfaceDamageRegion = surfaceDamage; in setSurfaceDamageRegion()
3366 setIsSmallDirty(surfaceDamage, getTransform()); in setSurfaceDamageRegion()
4471 setIsSmallDirty(snapshot->surfaceDamage, snapshot->localTransform); in setIsSmallDirty()