#include "gtest/gtest.h"
#include <epoxy/egl.h>
#include "flutter/fml/logging.h"
#include "flutter/shell/platform/linux/fl_backing_store_provider.h"
#include "flutter/shell/platform/linux/testing/fl_test_gtk_logs.h"
#include "flutter/shell/platform/linux/testing/mock_renderer.h"
Go to the source code of this file.
Functions | |
TEST (FlRendererTest, RestoresGLState) | |
static gdouble | renderer_get_refresh_rate (FlRenderer *renderer) |
TEST (FlRendererTest, RefreshRate) | |
Variables | |
static constexpr double | kExpectedRefreshRate = 120.0 |
|
static |
Definition at line 56 of file fl_renderer_test.cc.
References kExpectedRefreshRate.
Referenced by TEST().
TEST | ( | FlRendererTest | , |
RefreshRate | |||
) |
Definition at line 60 of file fl_renderer_test.cc.
References fl_dart_project_new(), fl_renderer_get_refresh_rate(), kExpectedRefreshRate, and renderer_get_refresh_rate().
TEST | ( | FlRendererTest | , |
RestoresGLState | |||
) |
Definition at line 14 of file fl_renderer_test.cc.
References fl_backing_store_provider_new(), fl_dart_project_new(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_start(), fl_renderer_wait_for_frame(), and fl_view_new().
|
staticconstexpr |
Definition at line 55 of file fl_renderer_test.cc.
Referenced by renderer_get_refresh_rate(), and TEST().