Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
Loading...
Searching...
No Matches
entity_playground.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_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
6
#define FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
7
8
#include "
impeller/playground/playground_test.h
"
9
10
#include "
impeller/entity/contents/content_context.h
"
11
#include "
impeller/entity/entity.h
"
12
#include "
impeller/typographer/typographer_context.h
"
13
14
namespace
impeller
{
15
16
class
EntityPlayground
:
public
PlaygroundTest
{
17
public
:
18
using
EntityPlaygroundCallback
=
19
std::function<bool(
ContentContext
&
context
,
RenderPass
& pass)>;
20
21
EntityPlayground
();
22
23
~EntityPlayground
();
24
25
bool
OpenPlaygroundHere
(
Entity
entity);
26
27
bool
OpenPlaygroundHere
(
EntityPlaygroundCallback
callback
);
28
29
private
:
30
EntityPlayground
(
const
EntityPlayground
&) =
delete
;
31
32
EntityPlayground
& operator=(
const
EntityPlayground
&) =
delete
;
33
};
34
35
}
// namespace impeller
36
37
#endif
// FLUTTER_IMPELLER_ENTITY_ENTITY_PLAYGROUND_H_
impeller::ContentContext
Definition
content_context.h:123
impeller::Entity
Definition
entity.h:26
impeller::EntityPlayground
Definition
entity_playground.h:16
impeller::EntityPlayground::~EntityPlayground
~EntityPlayground()
impeller::EntityPlayground::EntityPlayground
EntityPlayground()
impeller::EntityPlayground::OpenPlaygroundHere
bool OpenPlaygroundHere(Entity entity)
Definition
entity_playground.cc:17
impeller::EntityPlayground::EntityPlaygroundCallback
std::function< bool(ContentContext &context, RenderPass &pass)> EntityPlaygroundCallback
Definition
entity_playground.h:19
impeller::PlaygroundTest
Definition
playground_test.h:24
impeller::RenderPass
Render passes encode render commands directed as one specific render target into an underlying comman...
Definition
render_pass.h:30
content_context.h
entity.h
callback
FlutterDesktopBinaryReply callback
Definition
flutter_windows_view_unittests.cc:53
impeller
Definition
texture.h:16
playground_test.h
context
std::shared_ptr< ContextGLES > context
Definition
render_pass_gles_unittests.cc:74
typographer_context.h
impeller
entity
entity_playground.h
Generated on Sun Jul 5 2026 07:45:15 for Flutter Engine Uber Docs by
1.9.8