Lines Matching refs:RequestedLayerState
249 auto getBlendMode(const LayerSnapshot& snapshot, const RequestedLayerState& requested) { in getBlendMode()
260 snapshot.changes |= RequestedLayerState::Changes::Visibility; in updateVisibility()
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()
395 const RequestedLayerState* requested = in tryFastUpdate()
405 for (const RequestedLayerState* requested : args.layerLifecycleManager.getChangedLayers()) { in tryFastUpdate()
414 ~(RequestedLayerState::Changes::Content | RequestedLayerState::Changes::Buffer).get()) != in tryFastUpdate()
432 rootSnapshot.changes = RequestedLayerState::Changes::AffectsChildren | in updateSnapshots()
433 RequestedLayerState::Changes::Geometry; in updateSnapshots()
437 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Visibility; in updateSnapshots()
530 const RequestedLayerState* layer = hierarchy.getLayer(); in updateSnapshotsInHierarchy()
538 snapshot->changes |= RequestedLayerState::Changes::Created; in updateSnapshotsInHierarchy()
578 const RequestedLayerState& layer, in createSnapshot()
597 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Visibility | in sortSnapshotsByZ()
598 RequestedLayerState::Changes::Input)) { in sortSnapshotsByZ()
670 RequestedLayerState::Changes::Hierarchy) && in updateFrameRateFromChildSnapshot()
671 !childSnapshot.changes.any(RequestedLayerState::Changes::FrameRate) && in updateFrameRateFromChildSnapshot()
672 !snapshot.changes.any(RequestedLayerState::Changes::FrameRate)) { in updateFrameRateFromChildSnapshot()
701 snapshot.changes |= RequestedLayerState::Changes::FrameRate; in updateFrameRateFromChildSnapshot()
711 const RequestedLayerState& requested, in updateSnapshot()
715 ftl::Flags<RequestedLayerState::Changes> parentChanges = parentSnapshot.changes & in updateSnapshot()
716 (RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Geometry | in updateSnapshot()
717 RequestedLayerState::Changes::Visibility | RequestedLayerState::Changes::Metadata | in updateSnapshot()
718 RequestedLayerState::Changes::AffectsChildren | RequestedLayerState::Changes::Input | in updateSnapshot()
719 RequestedLayerState::Changes::FrameRate | RequestedLayerState::Changes::GameMode); in updateSnapshot()
721 if (args.displayChanges) snapshot.changes |= RequestedLayerState::Changes::Geometry; in updateSnapshot()
730 snapshot.changes.any(RequestedLayerState::Changes::Visibility | in updateSnapshot()
731 RequestedLayerState::Changes::Created); in updateSnapshot()
758 !snapshot.changes.test(RequestedLayerState::Changes::Created)) { in updateSnapshot()
760 snapshot.changes.any(RequestedLayerState::Changes::Geometry | in updateSnapshot()
761 RequestedLayerState::Changes::BufferSize | in updateSnapshot()
762 RequestedLayerState::Changes::Input)) { in updateSnapshot()
768 if (forceUpdate || snapshot.changes.any(RequestedLayerState::Changes::Mirror)) { in updateSnapshot()
804 if (forceUpdate || snapshot.changes.test(RequestedLayerState::Changes::GameMode)) { in updateSnapshot()
833 RequestedLayerState::Changes::Hierarchy) || in updateSnapshot()
834 snapshot.changes.any(RequestedLayerState::Changes::FrameRate | in updateSnapshot()
835 RequestedLayerState::Changes::Hierarchy)) { in updateSnapshot()
849 snapshot.changes |= RequestedLayerState::Changes::FrameRate; in updateSnapshot()
884 if (forceUpdate || snapshot.changes.any(RequestedLayerState::Changes::Geometry)) { in updateSnapshot()
890 snapshot.changes.any(RequestedLayerState::Changes::Geometry | in updateSnapshot()
891 RequestedLayerState::Changes::BufferUsageFlags)) { in updateSnapshot()
896 snapshot.changes.any(RequestedLayerState::Changes::Geometry)) { in updateSnapshot()
901 snapshot.changes.any(RequestedLayerState::Changes::Geometry | in updateSnapshot()
902 RequestedLayerState::Changes::Input)) { in updateSnapshot()
922 const RequestedLayerState& requested, in updateRoundedCorner()
964 const RequestedLayerState& requested, in updateLayerBounds()
1009 RequestedLayerState::reduce(Rect(snapshot.geomLayerBounds), in updateLayerBounds()
1017 RequestedLayerState::reduce(snapshot.croppedBufferSize, requested.transparentRegion); in updateLayerBounds()
1023 void LayerSnapshotBuilder::updateShadows(LayerSnapshot& snapshot, const RequestedLayerState&, in updateShadows() argument
1046 const RequestedLayerState& requested, in updateInput()
1194 static constexpr ftl::Flags<RequestedLayerState::Changes> AFFECTS_INPUT = in updateTouchableRegionCrop()
1195 RequestedLayerState::Changes::Visibility | RequestedLayerState::Changes::Created | in updateTouchableRegionCrop()
1196 RequestedLayerState::Changes::Hierarchy | RequestedLayerState::Changes::Geometry | in updateTouchableRegionCrop()
1197 RequestedLayerState::Changes::Input; in updateTouchableRegionCrop()