5#include "flutter/shell/platform/linux/testing/mock_renderer.h"
12G_DEFINE_TYPE(FlMockRenderer, fl_mock_renderer, fl_renderer_get_type())
26 if (
self->get_refresh_rate !=
nullptr) {
34 FL_RENDERER_CLASS(klass)->make_resource_current =
37 FL_RENDERER_CLASS(klass)->get_refresh_rate =
45 FlMockRendererGetRefreshRate get_refresh_rate) {
46 FlMockRenderer* fl_mock_renderer = FL_MOCK_RENDERER(
47 g_object_new_valist(fl_mock_renderer_get_type(),
nullptr,
nullptr));
48 fl_mock_renderer->get_refresh_rate = get_refresh_rate;
49 return fl_mock_renderer;
G_DEFINE_TYPE(FlBasicMessageChannelResponseHandle, fl_basic_message_channel_response_handle, G_TYPE_OBJECT) static void fl_basic_message_channel_response_handle_dispose(GObject *object)
static gdouble fl_mock_renderer_default_get_refresh_rate(FlRenderer *renderer)
static void fl_mock_renderer_make_current(FlRenderer *renderer)
static void fl_mock_renderer_class_init(FlMockRendererClass *klass)
static void fl_mock_renderer_init(FlMockRenderer *self)
static void fl_mock_renderer_make_resource_current(FlRenderer *renderer)
FlMockRenderer * fl_mock_renderer_new(FlMockRendererGetRefreshRate get_refresh_rate)
static void fl_mock_renderer_clear_current(FlRenderer *renderer)
FlRenderer parent_instance
FlMockRendererGetRefreshRate get_refresh_rate