Flutter Engine
The Flutter Engine
Namespaces | Macros | Functions
rasterizer_unittests.cc File Reference
#include "flutter/shell/common/rasterizer.h"
#include <memory>
#include <optional>
#include "flutter/flow/frame_timings.h"
#include "flutter/fml/synchronization/count_down_latch.h"
#include "flutter/fml/time/time_point.h"
#include "flutter/shell/common/thread_host.h"
#include "flutter/testing/testing.h"
#include "third_party/skia/include/core/SkColorSpace.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "third_party/skia/include/gpu/GrTypes.h"
#include "third_party/skia/include/gpu/ganesh/SkSurfaceGanesh.h"
#include "gmock/gmock.h"

Go to the source code of this file.

Namespaces

namespace  flutter
 

Macros

#define FML_USED_ON_EMBEDDER
 

Functions

 flutter::TEST (RasterizerTest, create)
 
static std::unique_ptr< FrameTimingsRecorder > flutter::CreateFinishedBuildRecorder (fml::TimePoint timestamp)
 
static std::unique_ptr< FrameTimingsRecorder > flutter::CreateFinishedBuildRecorder ()
 
 flutter::TEST (RasterizerTest, drawEmptyPipeline)
 
 flutter::TEST (RasterizerTest, drawWithExternalViewEmbedderExternalViewEmbedderSubmitFrameCalled)
 
 flutter::TEST (RasterizerTest, drawWithExternalViewEmbedderAndThreadMergerNotMergedExternalViewEmbedderSubmitFrameNotCalled)
 
 flutter::TEST (RasterizerTest, drawWithExternalViewEmbedderAndThreadsMergedExternalViewEmbedderSubmitFrameCalled)
 
 flutter::TEST (RasterizerTest, drawLastLayerTreeWithThreadsMergedExternalViewEmbedderAndEndFrameCalled)
 
 flutter::TEST (RasterizerTest, externalViewEmbedderDoesntEndFrameWhenNoSurfaceIsSet)
 
 flutter::TEST (RasterizerTest, externalViewEmbedderDoesntEndFrameWhenNotUsedThisFrame)
 
 flutter::TEST (RasterizerTest, externalViewEmbedderDoesntEndFrameWhenPipelineIsEmpty)
 
 flutter::TEST (RasterizerTest, drawMultipleViewsWithExternalViewEmbedder)
 
 flutter::TEST (RasterizerTest, drawWithGpuEnabledAndSurfaceAllowsDrawingWhenGpuDisabledDoesAcquireFrame)
 
 flutter::TEST (RasterizerTest, drawWithGpuDisabledAndSurfaceAllowsDrawingWhenGpuDisabledDoesAcquireFrame)
 
 flutter::TEST (RasterizerTest, drawWithGpuEnabledAndSurfaceDisallowsDrawingWhenGpuDisabledDoesAcquireFrame)
 
 flutter::TEST (RasterizerTest, drawWithGpuDisabledAndSurfaceDisallowsDrawingWhenGpuDisabledDoesntAcquireFrame)
 
 flutter::TEST (RasterizerTest, FrameTimingRecorderShouldStartRecordingRasterTimeBeforeSurfaceAcquireFrame)
 
 flutter::TEST (RasterizerTest, drawLayerTreeWithCorrectFrameTimingWhenPipelineIsMoreAvailable)
 
 flutter::TEST (RasterizerTest, TeardownFreesResourceCache)
 
 flutter::TEST (RasterizerTest, TeardownNoSurface)
 
 flutter::TEST (RasterizerTest, presentationTimeSetWhenVsyncTargetInFuture)
 
 flutter::TEST (RasterizerTest, presentationTimeNotSetWhenVsyncTargetInPast)
 

Macro Definition Documentation

◆ FML_USED_ON_EMBEDDER

#define FML_USED_ON_EMBEDDER

Definition at line 5 of file rasterizer_unittests.cc.