#include <thread>#include "gtest/gtest.h"#include "flutter/common/constants.h"#include "flutter/fml/synchronization/waitable_event.h"#include "flutter/shell/platform/linux/fl_compositor_software.h"#include "flutter/shell/platform/linux/fl_task_runner.h"#include "flutter/shell/platform/linux/public/flutter_linux/fl_dart_project.h"#include <gdk/gdkwayland.h>Go to the source code of this file.
Functions | |
| TEST (FlCompositorSoftwareTest, Render) | |
| TEST (FlCompositorSoftwareTest, Resize) | |
| TEST | ( | FlCompositorSoftwareTest | , |
| Render | |||
| ) |
Definition at line 16 of file fl_compositor_software_test.cc.
References engine, fl_compositor_present_layers(), fl_compositor_render(), fl_compositor_software_new(), fl_dart_project_new(), fl_engine_new(), fl_task_runner_new(), g_autoptr(), height, kFlutterBackingStoreTypeSoftware, kFlutterLayerContentTypeBackingStore, layers, surface, FlutterBackingStore::type, FlutterLayer::type, and width.
| TEST | ( | FlCompositorSoftwareTest | , |
| Resize | |||
| ) |
Definition at line 55 of file fl_compositor_software_test.cc.
References engine, fl_compositor_present_layers(), fl_compositor_render(), fl_compositor_software_new(), fl_dart_project_new(), fl_engine_new(), fl_task_runner_new(), g_autoptr(), kFlutterBackingStoreTypeSoftware, kFlutterLayerContentTypeBackingStore, fml::AutoResetWaitableEvent::Signal(), surface, FlutterBackingStore::type, FlutterLayer::type, and fml::AutoResetWaitableEvent::Wait().