Flutter Engine
The Flutter Engine
Namespaces | Functions
mock_raster_cache.cc File Reference
#include "flutter/flow/testing/mock_raster_cache.h"
#include "flutter/flow/layers/display_list_raster_cache_item.h"
#include "flutter/flow/layers/layer.h"
#include "flutter/flow/raster_cache.h"
#include "flutter/flow/raster_cache_item.h"
#include "include/core/SkMatrix.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 
namespace  flutter::testing
 

Functions

PrerollContextHolder flutter::testing::GetSamplePrerollContextHolder (LayerStateStack &state_stack, RasterCache *raster_cache, FixedRefreshRateStopwatch *raster_time, FixedRefreshRateStopwatch *ui_time)
 
PaintContextHolder flutter::testing::GetSamplePaintContextHolder (LayerStateStack &state_stack, RasterCache *raster_cache, FixedRefreshRateStopwatch *raster_time, FixedRefreshRateStopwatch *ui_time)
 
bool flutter::testing::RasterCacheItemPrerollAndTryToRasterCache (DisplayListRasterCacheItem &display_list_item, PrerollContext &context, PaintContext &paint_context, const SkMatrix &matrix)
 
void flutter::testing::RasterCacheItemPreroll (DisplayListRasterCacheItem &display_list_item, PrerollContext &context, const SkMatrix &matrix)
 
bool flutter::testing::RasterCacheItemTryToRasterCache (DisplayListRasterCacheItem &display_list_item, PaintContext &paint_context)