Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
1121fda4
E
engine
项目概览
weixin_43355755
/
engine
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
E
engine
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
1121fda4
编写于
6月 13, 2019
作者:
G
gaaclarke
提交者:
GitHub
6月 13, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Added class docstrings for classes inside of shell/common. (#9303)
Added class docstrings for classes inside of shell/common.
上级
96a592b6
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
26 addition
and
0 deletion
+26
-0
shell/common/animator.h
shell/common/animator.h
+4
-0
shell/common/engine.h
shell/common/engine.h
+3
-0
shell/common/isolate_configuration.h
shell/common/isolate_configuration.h
+1
-0
shell/common/persistent_cache.h
shell/common/persistent_cache.h
+3
-0
shell/common/pipeline.h
shell/common/pipeline.h
+2
-0
shell/common/platform_view.h
shell/common/platform_view.h
+2
-0
shell/common/rasterizer.h
shell/common/rasterizer.h
+1
-0
shell/common/run_configuration.h
shell/common/run_configuration.h
+3
-0
shell/common/shell.h
shell/common/shell.h
+2
-0
shell/common/surface.h
shell/common/surface.h
+1
-0
shell/common/thread_host.h
shell/common/thread_host.h
+1
-0
shell/common/vsync_waiter.h
shell/common/vsync_waiter.h
+2
-0
shell/common/vsync_waiter_fallback.h
shell/common/vsync_waiter_fallback.h
+1
-0
未找到文件。
shell/common/animator.h
浏览文件 @
1121fda4
...
...
@@ -22,6 +22,10 @@ namespace testing {
class
ShellTest
;
}
/// Executor of animations.
///
/// In conjunction with the |VsyncWaiter| it allows callers (typically Dart
/// code) to schedule work that ends up generating a |LayerTree|.
class
Animator
final
{
public:
class
Delegate
{
...
...
shell/common/engine.h
浏览文件 @
1121fda4
...
...
@@ -29,6 +29,9 @@
namespace
flutter
{
/// Manager of the root Dart isolate and the relay of platform messages.
///
/// Also setups up dart::ui bindings and handles restarts.
class
Engine
final
:
public
RuntimeDelegate
{
public:
// Used by Engine::Run
...
...
shell/common/isolate_configuration.h
浏览文件 @
1121fda4
...
...
@@ -19,6 +19,7 @@
namespace
flutter
{
/// Abstract Base Class that will configure a |DartIsolate|.
class
IsolateConfiguration
{
public:
static
std
::
unique_ptr
<
IsolateConfiguration
>
InferFromSettings
(
...
...
shell/common/persistent_cache.h
浏览文件 @
1121fda4
...
...
@@ -17,6 +17,9 @@
namespace
flutter
{
/// A cache of SkData that gets stored to disk.
///
/// This is mainly used for Shaders but is also written to by Dart.
class
PersistentCache
:
public
GrContextOptions
::
PersistentCache
{
public:
// Mutable static switch that can be set before GetCacheForProcess. If true,
...
...
shell/common/pipeline.h
浏览文件 @
1121fda4
...
...
@@ -24,6 +24,8 @@ enum class PipelineConsumeResult {
size_t
GetNextPipelineTraceID
();
/// A thread-safe queue of resources for a single consumer and a single
/// producer.
template
<
class
R
>
class
Pipeline
:
public
fml
::
RefCountedThreadSafe
<
Pipeline
<
R
>>
{
public:
...
...
shell/common/platform_view.h
浏览文件 @
1121fda4
...
...
@@ -25,6 +25,8 @@ namespace flutter {
class
Shell
;
/// Abstract Base Class that represents the platform specific view we will be
/// rendering to.
class
PlatformView
{
public:
class
Delegate
{
...
...
shell/common/rasterizer.h
浏览文件 @
1121fda4
...
...
@@ -20,6 +20,7 @@
namespace
flutter
{
/// Takes |LayerTree|s and draws its contents.
class
Rasterizer
final
:
public
SnapshotDelegate
{
public:
class
Delegate
{
...
...
shell/common/run_configuration.h
浏览文件 @
1121fda4
...
...
@@ -18,6 +18,9 @@
namespace
flutter
{
/// Configuration pertaining to how we will execute the Dart code.
///
/// For example: what will be the first function we execute (entrypoint).
class
RunConfiguration
{
public:
static
RunConfiguration
InferFromSettings
(
...
...
shell/common/shell.h
浏览文件 @
1121fda4
...
...
@@ -34,6 +34,8 @@
namespace
flutter
{
/// Wraps up all the different components of Flutter engine and coordinates them
/// through a series of delegates.
class
Shell
final
:
public
PlatformView
::
Delegate
,
public
Animator
::
Delegate
,
public
Engine
::
Delegate
,
...
...
shell/common/surface.h
浏览文件 @
1121fda4
...
...
@@ -41,6 +41,7 @@ class SurfaceFrame {
FML_DISALLOW_COPY_AND_ASSIGN
(
SurfaceFrame
);
};
/// Abstract Base Class that represents where we will be rendering content.
class
Surface
{
public:
Surface
();
...
...
shell/common/thread_host.h
浏览文件 @
1121fda4
...
...
@@ -12,6 +12,7 @@
namespace
flutter
{
/// The collection of all the threads used by the engine.
struct
ThreadHost
{
enum
Type
{
Platform
=
1
<<
0
,
...
...
shell/common/vsync_waiter.h
浏览文件 @
1121fda4
...
...
@@ -15,6 +15,8 @@
namespace
flutter
{
/// Abstract Base Class that represents a platform specific mechanism for
/// getting callbacks when a vsync event happens.
class
VsyncWaiter
:
public
std
::
enable_shared_from_this
<
VsyncWaiter
>
{
public:
using
Callback
=
std
::
function
<
void
(
fml
::
TimePoint
frame_start_time
,
...
...
shell/common/vsync_waiter_fallback.h
浏览文件 @
1121fda4
...
...
@@ -12,6 +12,7 @@
namespace
flutter
{
/// A |VsyncWaiter| that will fire at 60 fps irrespective of the vsync.
class
VsyncWaiterFallback
final
:
public
VsyncWaiter
{
public:
VsyncWaiterFallback
(
TaskRunners
task_runners
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录