Flutter Engine
flutter::testing::SkiaGPUObjectLayerTest Class Reference

#include <skia_gpu_object_layer_test.h>

Inheritance diagram for flutter::testing::SkiaGPUObjectLayerTest:
flutter::testing::LayerTestBase< ThreadTest > flutter::testing::CanvasTestBase< ThreadTest > flutter::testing::ThreadTest

Public Member Functions

 SkiaGPUObjectLayerTest ()
 
fml::RefPtr< SkiaUnrefQueueunref_queue ()
 
- Public Member Functions inherited from flutter::testing::LayerTestBase< ThreadTest >
 LayerTestBase ()
 
void use_null_raster_cache ()
 Use no raster cache in the preroll_context() and paint_context() structures. More...
 
void use_mock_raster_cache ()
 Use a mock raster cache in the preroll_context() and paint_context() structures. More...
 
void use_skia_raster_cache ()
 Use a normal raster cache in the preroll_context() and paint_context() structures. More...
 
TextureRegistrytexture_regitry ()
 
RasterCacheraster_cache ()
 
PrerollContextpreroll_context ()
 
Layer::PaintContextpaint_context ()
 
Layer::PaintContextcheck_board_context ()
 
- Public Member Functions inherited from flutter::testing::CanvasTestBase< ThreadTest >
 CanvasTestBase ()=default
 
MockCanvasmock_canvas ()
 
- Public Member Functions inherited from flutter::testing::ThreadTest
 ThreadTest ()
 
fml::RefPtr< fml::TaskRunnerGetCurrentTaskRunner ()
 Get the task runner for the thread that the current unit-test is running on. This creates a message loop as necessary. More...
 
fml::RefPtr< fml::TaskRunnerCreateNewThread (std::string name="")
 Creates a new thread, initializes a message loop on it, and, returns its task runner to the unit-test. The message loop is terminated (and its thread joined) when the test ends. This allows tests to create multiple named threads as necessary. More...
 

Detailed Description

Definition at line 17 of file skia_gpu_object_layer_test.h.

Constructor & Destructor Documentation

◆ SkiaGPUObjectLayerTest()

flutter::testing::SkiaGPUObjectLayerTest::SkiaGPUObjectLayerTest ( )

Definition at line 12 of file skia_gpu_object_layer_test.cc.

13  : unref_queue_(fml::MakeRefCounted<SkiaUnrefQueue>(
fml::RefPtr< fml::TaskRunner > GetCurrentTaskRunner()
Get the task runner for the thread that the current unit-test is running on. This creates a message l...
Definition: thread_test.cc:22
static constexpr TimeDelta FromSeconds(int64_t seconds)
Definition: time_delta.h:49

Member Function Documentation

◆ unref_queue()

fml::RefPtr<SkiaUnrefQueue> flutter::testing::SkiaGPUObjectLayerTest::unref_queue ( )
inline

Definition at line 21 of file skia_gpu_object_layer_test.h.

21 { return unref_queue_; }

The documentation for this class was generated from the following files: