Flutter Engine
raster_cache.cc File Reference
#include "flutter/flow/raster_cache.h"
#include <vector>
#include "flutter/common/constants.h"
#include "flutter/flow/layers/layer.h"
#include "flutter/flow/paint_utils.h"
#include "flutter/fml/logging.h"
#include "flutter/fml/trace_event.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkImage.h"
#include "third_party/skia/include/core/SkPicture.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/GrDirectContext.h"

Go to the source code of this file.

Namespaces

 flutter
 

Functions

static bool flutter::CanRasterizePicture (SkPicture *picture)
 
static bool flutter::IsPictureWorthRasterizing (SkPicture *picture, bool will_change, bool is_complex)
 
static std::unique_ptr< RasterCacheResult > flutter::Rasterize (GrDirectContext *context, const SkMatrix &ctm, SkColorSpace *dst_color_space, bool checkerboard, const SkRect &logical_rect, const std::function< void(SkCanvas *)> &draw_function)