Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


SSL RenderingPhase.h  Sprache: C


/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


#ifndef MOZILLA_RENDERINGPHASE_H_
#define MOZILLA_RENDERINGPHASE_H_

#include <cstdint>

#include "mozilla/EnumSet.h"

namespace mozilla {

// Steps in https://html.spec.whatwg.org/#update-the-rendering
// When updating this, please update sRenderingPhaseNames in nsRefreshDriver.
enum class RenderingPhase : uint8_t {
  Reveal = 0,
  FlushAutoFocusCandidates,
  ResizeSteps,
  ScrollSteps,
  EvaluateMediaQueriesAndReportChanges,
  UpdateAnimationsAndSendEvents,
  FullscreenSteps,
  // TODO: Context lost steps?
  AnimationFrameCallbacks,
  Layout,
  ViewTransitionOperations,
  UpdateIntersectionObservations,
  // TODO: Record rendering time
  // TODO: Mark paint timing
  Paint,
  // TODO: Process top layer removals.
  Count,
};

using RenderingPhases = EnumSet<RenderingPhase, uint16_t>;
inline constexpr RenderingPhases AllRenderingPhases() {
  return {
      RenderingPhase::Reveal,
      RenderingPhase::FlushAutoFocusCandidates,
      RenderingPhase::ResizeSteps,
      RenderingPhase::ScrollSteps,
      RenderingPhase::EvaluateMediaQueriesAndReportChanges,
      RenderingPhase::UpdateAnimationsAndSendEvents,
      RenderingPhase::FullscreenSteps,
      RenderingPhase::AnimationFrameCallbacks,
      RenderingPhase::Layout,
      RenderingPhase::ViewTransitionOperations,
      RenderingPhase::UpdateIntersectionObservations,
      RenderingPhase::Paint,
  };
}

}  // namespace mozilla

#endif

Messung
CHZG
941009997

¤ Dauer der Verarbeitung: 0.6 Sekunden  (vorverarbeitet am  2026-11-25) ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,189,033
#Domains=963,838