#include "third_party/blink/renderer/platform/graphics/compositing/chunk_to_layer_mapper.h"
#include "base/logging.h"
#include "third_party/blink/renderer/platform/graphics/paint/geometry_mapper.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_chunk.h"
#include "ui/gfx/geometry/rect_conversions.h"
namespace blink {
ChunkToLayerMapper::ChunkToLayerMapper(const PropertyTreeState& layer_state,
const gfx::Vector2dF& layer_offset)
: … { … }
void ChunkToLayerMapper::SwitchToChunk(const PaintChunk& chunk) { … }
void ChunkToLayerMapper::SwitchToChunkWithState(
const PaintChunk& chunk,
const PropertyTreeState& new_chunk_state) { … }
gfx::Rect ChunkToLayerMapper::MapVisualRect(const gfx::Rect& rect) const { … }
gfx::Rect ChunkToLayerMapper::MapUsingGeometryMapper(
const gfx::Rect& rect) const { … }
gfx::Rect ChunkToLayerMapper::MapVisualRectFromState(
const gfx::Rect& rect,
const PropertyTreeState& state) const { … }
void ChunkToLayerMapper::InflateForRasterEffectOutset(gfx::RectF& rect) const { … }
}