#include "gtest/gtest.h"
#include "flutter/fml/logging.h"
#include "flutter/shell/platform/linux/fl_framebuffer.h"
#include "flutter/shell/platform/linux/testing/fl_test_gtk_logs.h"
#include "flutter/shell/platform/linux/testing/mock_epoxy.h"
#include "flutter/shell/platform/linux/testing/mock_renderer.h"
#include <epoxy/egl.h>
Go to the source code of this file.
Functions | |
TEST (FlRendererTest, BackgroundColor) | |
TEST (FlRendererTest, RestoresGLState) | |
static gdouble | renderer_get_refresh_rate (FlRenderer *renderer) |
TEST (FlRendererTest, RefreshRate) | |
TEST (FlRendererTest, BlitFramebuffer) | |
TEST (FlRendererTest, BlitFramebufferExtension) | |
TEST (FlRendererTest, NoBlitFramebuffer) | |
TEST (FlRendererTest, BlitFramebufferNvidia) | |
Variables | |
static constexpr double | kExpectedRefreshRate = 120.0 |
|
static |
Definition at line 92 of file fl_renderer_test.cc.
References kExpectedRefreshRate.
Referenced by TEST().
TEST | ( | FlRendererTest | , |
BackgroundColor | |||
) |
Definition at line 15 of file fl_renderer_test.cc.
References fl_renderer_create_backing_store(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_wait_for_frame(), and type.
TEST | ( | FlRendererTest | , |
BlitFramebuffer | |||
) |
Definition at line 107 of file fl_renderer_test.cc.
References fl_renderer_create_backing_store(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_wait_for_frame(), and type.
TEST | ( | FlRendererTest | , |
BlitFramebufferExtension | |||
) |
Definition at line 139 of file fl_renderer_test.cc.
References fl_renderer_create_backing_store(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_wait_for_frame(), and type.
TEST | ( | FlRendererTest | , |
BlitFramebufferNvidia | |||
) |
Definition at line 206 of file fl_renderer_test.cc.
References fl_renderer_create_backing_store(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_wait_for_frame(), and type.
TEST | ( | FlRendererTest | , |
NoBlitFramebuffer | |||
) |
Definition at line 176 of file fl_renderer_test.cc.
References fl_renderer_create_backing_store(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_setup(), fl_renderer_wait_for_frame(), and type.
TEST | ( | FlRendererTest | , |
RefreshRate | |||
) |
Definition at line 96 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 45 of file fl_renderer_test.cc.
References fl_dart_project_new(), fl_framebuffer_new(), fl_renderer_add_view(), fl_renderer_present_layers(), fl_renderer_render(), fl_renderer_wait_for_frame(), fl_view_new(), and view.
|
staticconstexpr |
Definition at line 91 of file fl_renderer_test.cc.
Referenced by renderer_get_refresh_rate(), and TEST().