Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
tester_context.h
Go to the documentation of this file.
1
// Copyright 2013 The Flutter Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef FLUTTER_SHELL_TESTING_TESTER_CONTEXT_H_
6
#define FLUTTER_SHELL_TESTING_TESTER_CONTEXT_H_
7
8
#include <memory>
9
10
#include "
flutter/flow/surface.h
"
11
#include "
flutter/impeller/renderer/context.h
"
12
13
namespace
flutter
{
14
15
class
TesterContext
{
16
public
:
17
virtual
~TesterContext
() =
default
;
18
19
virtual
std::shared_ptr<impeller::Context>
GetImpellerContext
()
const
= 0;
20
21
virtual
std::unique_ptr<Surface>
CreateRenderingSurface
() = 0;
22
};
23
24
}
// namespace flutter
25
26
#endif
// FLUTTER_SHELL_TESTING_TESTER_CONTEXT_H_
flutter::TesterContext
Definition
tester_context.h:15
flutter::TesterContext::GetImpellerContext
virtual std::shared_ptr< impeller::Context > GetImpellerContext() const =0
flutter::TesterContext::CreateRenderingSurface
virtual std::unique_ptr< Surface > CreateRenderingSurface()=0
flutter::TesterContext::~TesterContext
virtual ~TesterContext()=default
surface.h
context.h
flutter
Definition
asset_manager.cc:10
shell
testing
tester_context.h
Generated on Tue Jan 20 2026 04:53:23 for Flutter Engine Uber Docs by
1.9.8