#include "third_party/blink/renderer/platform/graphics/paint/paint_under_invalidation_checker.h"
#include "base/logging.h"
#include "third_party/blink/renderer/platform/graphics/logging_canvas.h"
#include "third_party/blink/renderer/platform/graphics/paint/drawing_display_item.h"
#include "third_party/blink/renderer/platform/graphics/paint/paint_controller.h"
#include "third_party/blink/renderer/platform/runtime_enabled_features.h"
namespace blink {
PaintUnderInvalidationChecker::PaintUnderInvalidationChecker(
PaintController& paint_controller)
: … { … }
PaintUnderInvalidationChecker::~PaintUnderInvalidationChecker() { … }
bool PaintUnderInvalidationChecker::IsChecking() const { … }
bool PaintUnderInvalidationChecker::IsCheckingSubsequence() const { … }
void PaintUnderInvalidationChecker::Stop() { … }
void PaintUnderInvalidationChecker::WouldUseCachedItem(
wtf_size_t old_item_index) { … }
void PaintUnderInvalidationChecker::CheckNewItem() { … }
void PaintUnderInvalidationChecker::WouldUseCachedSubsequence(
DisplayItemClientId client_id) { … }
void PaintUnderInvalidationChecker::CheckNewChunk() { … }
void PaintUnderInvalidationChecker::WillEndSubsequence(
DisplayItemClientId client_id,
wtf_size_t start_chunk_index) { … }
void PaintUnderInvalidationChecker::CheckNewChunkInternal() { … }
void PaintUnderInvalidationChecker::ShowItemError(
const char* reason,
const DisplayItem& new_item,
const DisplayItem* old_item) const { … }
void PaintUnderInvalidationChecker::ShowSubsequenceError(
const char* reason,
DisplayItemClientId client_id,
const PaintChunk* new_chunk,
const PaintChunk* old_chunk) { … }
const PaintChunks& PaintUnderInvalidationChecker::OldPaintChunks() const { … }
const PaintChunks& PaintUnderInvalidationChecker::NewPaintChunks() const { … }
DisplayItemList& PaintUnderInvalidationChecker::OldDisplayItemList() { … }
DisplayItemList& PaintUnderInvalidationChecker::NewDisplayItemList() { … }
}