Lines Matching refs:RequestedLayerState
252 auto getBlendMode(const LayerSnapshot& snapshot, const RequestedLayerState& requested) { in getBlendMode()
282 bool needsInputInfo(const LayerSnapshot& snapshot, const RequestedLayerState& requested) { in needsInputInfo()
300 void updateMetadata(LayerSnapshot& snapshot, const RequestedLayerState& requested, in updateMetadata()
345 snapshot.changes = ftl::Flags<RequestedLayerState::Changes>(); in getRootSnapshot()
394 const RequestedLayerState* requested = in tryFastUpdate()
404 for (const RequestedLayerState* requested : args.layerLifecycleManager.getChangedLayers()) { in tryFastUpdate()
413 ~(RequestedLayerState::Changes::Content | RequestedLayerState::Changes::Buffer).get()) != in tryFastUpdate()
430 mRootSnapshot.changes = RequestedLayerState::Changes::AffectsChildren | in updateSnapshots()
431 RequestedLayerState::Changes::Geometry; in updateSnapshots()
435 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Visibility; in updateSnapshots()
532 const RequestedLayerState* layer = hierarchy.getLayer(); in updateSnapshotsInHierarchy()
540 snapshot->changes |= RequestedLayerState::Changes::Created; in updateSnapshotsInHierarchy()
564 snapshot->changes.clear(RequestedLayerState::Changes::FrameRate); in updateSnapshotsInHierarchy()
583 const RequestedLayerState& layer, in createSnapshot()
600 RequestedLayerState::Changes::Hierarchy | in sortSnapshotsByZ()
601 RequestedLayerState::Changes::Visibility)) { in sortSnapshotsByZ()
674 childSnapshot.changes.test(RequestedLayerState::Changes::FrameRate)) { in updateChildState()
696 snapshot.changes |= childSnapshot.changes & RequestedLayerState::Changes::FrameRate; in updateChildState()
707 const RequestedLayerState& requested, in updateSnapshot()
711 ftl::Flags<RequestedLayerState::Changes> parentChanges = parentSnapshot.changes & in updateSnapshot()
712 (RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Geometry | in updateSnapshot()
713 RequestedLayerState::Changes::Visibility | RequestedLayerState::Changes::Metadata | in updateSnapshot()
714 RequestedLayerState::Changes::AffectsChildren | in updateSnapshot()
715 RequestedLayerState::Changes::FrameRate | RequestedLayerState::Changes::GameMode); in updateSnapshot()
717 if (args.displayChanges) snapshot.changes |= RequestedLayerState::Changes::Geometry; in updateSnapshot()
726 snapshot.changes.any(RequestedLayerState::Changes::Visibility | in updateSnapshot()
727 RequestedLayerState::Changes::Created); in updateSnapshot()
738 !snapshot.changes.test(RequestedLayerState::Changes::Created)) { in updateSnapshot()
740 snapshot.changes.any(RequestedLayerState::Changes::Geometry | in updateSnapshot()
741 RequestedLayerState::Changes::Input)) { in updateSnapshot()
747 if (forceUpdate || snapshot.changes.any(RequestedLayerState::Changes::Mirror)) { in updateSnapshot()
787 if (forceUpdate || snapshot.changes.test(RequestedLayerState::Changes::GameMode)) { in updateSnapshot()
814 if (forceUpdate || snapshot.changes.any(RequestedLayerState::Changes::FrameRate)) { in updateSnapshot()
835 if (forceUpdate || snapshot.changes.any(RequestedLayerState::Changes::Geometry)) { in updateSnapshot()
841 snapshot.changes.any(RequestedLayerState::Changes::Geometry)) { in updateSnapshot()
846 snapshot.changes.any(RequestedLayerState::Changes::Geometry)) { in updateSnapshot()
851 snapshot.changes.any(RequestedLayerState::Changes::Geometry | in updateSnapshot()
852 RequestedLayerState::Changes::Input)) { in updateSnapshot()
872 const RequestedLayerState& requested, in updateRoundedCorner()
909 const RequestedLayerState& requested, in updateLayerBounds()
954 RequestedLayerState::reduce(Rect(snapshot.geomLayerBounds), in updateLayerBounds()
962 RequestedLayerState::reduce(snapshot.croppedBufferSize, requested.transparentRegion); in updateLayerBounds()
968 void LayerSnapshotBuilder::updateShadows(LayerSnapshot& snapshot, const RequestedLayerState&, in updateShadows() argument
988 const RequestedLayerState& requested, in updateInput()
1123 static constexpr ftl::Flags<RequestedLayerState::Changes> AFFECTS_INPUT = in updateTouchableRegionCrop()
1124 RequestedLayerState::Changes::Visibility | RequestedLayerState::Changes::Created | in updateTouchableRegionCrop()
1125 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Geometry | in updateTouchableRegionCrop()
1126 RequestedLayerState::Changes::Input; in updateTouchableRegionCrop()