5#ifndef FLUTTER_FLOW_RASTER_CACHE_UTIL_H_
6#define FLUTTER_FLOW_RASTER_CACHE_UTIL_H_
8#include "flutter/fml/logging.h"
46 FML_LOG(INFO) <<
"Attempted to raster cache non-finite display list";
bool mapRect(SkRect *dst, const SkRect &src, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const
#define FML_LOG(severity)
sk_sp< SkBlender > blender SkRect rect
void roundOut(SkIRect *dst) const
static bool CanRasterizeRect(const SkRect &cull_rect)
static bool ComputeIntegralTransCTM(const SkMatrix &in, SkMatrix *out)
Snap the translation components of the |in| matrix to integers and store the snapped matrix in |out|.
static SkMatrix GetIntegralTransCTM(const SkMatrix &ctm)
Snap the translation components of the matrix to integers.
static SkRect GetRoundedOutDeviceBounds(const SkRect &rect, const SkMatrix &ctm)
static constexpr int kDefaultPictureAndDisplayListCacheLimitPerFrame
static constexpr int kMinimumRendersBeforeCachingFilterLayer
static SkM44 GetIntegralTransCTM(const SkM44 &ctm)
Snap the translation components of the matrix to integers.
static SkRect GetDeviceBounds(const SkRect &rect, const SkMatrix &ctm)