#include "third_party/blink/renderer/core/paint/paint_layer_painter.h"
#include <optional>
#include "third_party/blink/renderer/core/frame/local_frame.h"
#include "third_party/blink/renderer/core/frame/local_frame_view.h"
#include "third_party/blink/renderer/core/frame/settings.h"
#include "third_party/blink/renderer/core/layout/fragmentation_utils.h"
#include "third_party/blink/renderer/core/layout/layout_video.h"
#include "third_party/blink/renderer/core/layout/layout_view.h"
#include "third_party/blink/renderer/core/paint/box_fragment_painter.h"
#include "third_party/blink/renderer/core/paint/clip_path_clipper.h"
#include "third_party/blink/renderer/core/paint/fragment_data_iterator.h"
#include "third_party/blink/renderer/core/paint/inline_box_fragment_painter.h"
#include "third_party/blink/renderer/core/paint/object_paint_properties.h"
#include "third_party/blink/renderer/core/paint/paint_info.h"
#include "third_party/blink/renderer/core/paint/paint_layer.h"
#include "third_party/blink/renderer/core/paint/paint_layer_paint_order_iterator.h"
#include "third_party/blink/renderer/core/paint/paint_layer_scrollable_area.h"
#include "third_party/blink/renderer/core/paint/scrollable_area_painter.h"
#include "third_party/blink/renderer/core/paint/svg_mask_painter.h"
#include "third_party/blink/renderer/core/paint/timing/paint_timing_detector.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_recorder.h"
#include "third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h"
#include "third_party/blink/renderer/platform/graphics/paint/scoped_display_item_fragment.h"
#include "third_party/blink/renderer/platform/graphics/paint/scoped_effectively_invisible.h"
#include "third_party/blink/renderer/platform/graphics/paint/scoped_paint_chunk_properties.h"
#include "third_party/blink/renderer/platform/graphics/paint/subsequence_recorder.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
#include "ui/gfx/geometry/point3_f.h"
namespace blink {
bool PaintLayerPainter::PaintedOutputInvisible(const ComputedStyle& style) { … }
PhysicalRect PaintLayerPainter::ContentsVisualRect(const FragmentData& fragment,
const LayoutBox& box) { … }
static bool ShouldCreateSubsequence(const PaintLayer& paint_layer,
const GraphicsContext& context,
PaintFlags paint_flags) { … }
static gfx::Rect FirstFragmentVisualRect(const LayoutBoxModelObject& object) { … }
PaintResult PaintLayerPainter::Paint(GraphicsContext& context,
PaintFlags paint_flags) { … }
PaintResult PaintLayerPainter::PaintChildren(
PaintLayerIteration children_to_visit,
GraphicsContext& context,
PaintFlags paint_flags) { … }
void PaintLayerPainter::PaintOverlayOverflowControls(GraphicsContext& context,
PaintFlags paint_flags) { … }
void PaintLayerPainter::PaintFragmentWithPhase(
PaintPhase phase,
const FragmentData& fragment_data,
wtf_size_t fragment_data_idx,
const PhysicalBoxFragment* physical_fragment,
GraphicsContext& context,
PaintFlags paint_flags) { … }
void PaintLayerPainter::PaintWithPhase(PaintPhase phase,
GraphicsContext& context,
PaintFlags paint_flags) { … }
void PaintLayerPainter::PaintForegroundPhases(GraphicsContext& context,
PaintFlags paint_flags) { … }
}