Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
weixin_43355755
engine
提交
ad223fd9
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,发现更多精彩内容 >>
提交
ad223fd9
编写于
7月 16, 2015
作者:
C
Collin Jackson
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
README updates
上级
0254e9ed
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
19 addition
and
24 deletion
+19
-24
README.md
README.md
+2
-2
sky/README.md
sky/README.md
+5
-5
sky/sdk/README.md
sky/sdk/README.md
+12
-17
未找到文件。
README.md
浏览文件 @
ad223fd9
...
...
@@ -7,8 +7,8 @@ More specifically, Sky is a rendering engine, a scripting engine, an
Sky is optimized for today's, and tomorrow's, mobile devices. We are focused
on low-latency input, high frame rates, and we are purely mobile first.
For information about using
our
latest stable release of Sky, please
see the
[
Sky SDK
](
https://github.com/domokit/sky_sdk/
)
project page
.
For information about using
the
latest stable release of Sky, please
see the
[
Sky SDK
README
](
sky/sdk/README
)
.
For information about contributing to Sky, please see
[
CONTRIBUTING.md
](
CONTRIBUTING.md
)
.
sky/README.md
浏览文件 @
ad223fd9
Sky
===
For information about using
our latest stable release of Sky, pleas
e
see the
[
Sky SDK
](
https://github.com/domokit/sky_sdk/
)
project page
.
For information about using
the latest stable release of Sky, please see th
e
[
Sky SDK
](
sdk/
)
.
For more
current information about the bleeding edge of the Sky
framework, see
[
the sdk/
directory
](
sdk/lib/
)
.
For more
information about the Sky framework, see
[
the sdk/lib
directory
](
sdk/lib/
)
.
For details about the internals of Sky's engine, see
[
the engine/
directory
](
engine/
)
.
For information about contributing to Sky, please see
[
HACKING.md
](
HACK
ING.md
)
.
[
CONTRIBUTING.md
](
../CONTRIBUT
ING.md
)
.
sky/sdk/README.md
浏览文件 @
ad223fd9
Contributing
============
[
sky_sdk
](
https://github.com/domokit/sky_sdk
)
is generated from the
[
mojo repository
](
https://github.com/domokit/mojo
)
using
[
deploy_sdk.py
](
https://github.com/domokit/
mojo
/blob/master/sky/tools/deploy_sdk.py
)
This SDK
is generated from the
[
Sky repository
](
https://github.com/domokit/sky_engine
)
using
[
deploy_sdk.py
](
https://github.com/domokit/
sky_engine
/blob/master/sky/tools/deploy_sdk.py
)
Static files (including this README.md) are located under
[
sky/sdk
](
https://github.com/domokit/
mojo
/tree/master/sky/sdk
)
. Pull
requests and issue reports are glady accepted at the
[
mojo repository
](
https://github.com/domokit/mojo
)
!
[
sky/sdk
](
https://github.com/domokit/
sky_engine
/tree/master/sky/sdk
)
. Pull
requests and issue reports are glad
l
y accepted at the
[
Sky repository
](
https://github.com/domokit/sky_engine
)
!
Sky
===
...
...
@@ -118,10 +118,7 @@ Set up your computer
2.
Install the
`adb`
tool from the Android SDK:
-
https://developer.android.com/sdk/installing/index.html
3.
Install the Sky SDK:
-
`git clone https://github.com/domokit/sky_sdk.git`
4.
Ensure that
`$DART_SDK`
is set to the path of your Dart SDK and
`adb`
3.
Ensure that
`$DART_SDK`
is set to the path of your Dart SDK and
`adb`
(inside
`platform-tools`
in the android sdk) is in your
`$PATH`
.
Set up your device
...
...
@@ -156,10 +153,8 @@ run one of the examples in this SDK, try:
installed on the device.)
4.
Use
`adb logcat`
to view any errors or Dart
`print()`
output from the app.
`adb logcat -s chromium`
can be used to filter only adb messages from
`SkyDemo.apk`
(which for
[
legacy reasons
](
https://github.com/domokit/mojo/issues/129
)
still uses the
android log tag
`chromium`
).
`adb logcat -s sky`
can be used to filter only adb messages from
`SkyDemo.apk`
.
Measuring Performance
---------------------
...
...
@@ -187,7 +182,7 @@ Although it is possible to bundle the Sky Engine in your own app (instead of
running your code inside SkyDemo.apk), right now doing so is difficult.
There is one example of doing so if you're feeling brave:
https://github.com/domokit/
mojo
/tree/master/sky/sdk/example/stocks
https://github.com/domokit/
sky_engine
/tree/master/sky/sdk/example/stocks
Eventually we plan to make this much easier and support platforms other than
Android, but that work is yet in progress.
...
...
@@ -210,8 +205,8 @@ service to allow Sky Framework Dart code to interface with the underlying
platform's Keyboard, but also to expose any additional non-Dart business logic
to Sky/Dart UI code.
As an example,
[
SkyApplication
](
https://github.com/domokit/
mojo
/blob/master/sky/shell/org/domokit/sky/shell/SkyApplication.java
)
As an example,
[
SkyApplication
](
https://github.com/domokit/
sky_engine
/blob/master/sky/shell/org/domokit/sky/shell/SkyApplication.java
)
exposes a mojo
`network_service`
(required by Sky Engine C++ code)
[
SkyDemoApplication
](
https://github.com/domokit/
mojo
/blob/master/sky/apk/demo/org/domokit/sky/demo/SkyDemoApplication.java
)
[
SkyDemoApplication
](
https://github.com/domokit/
sky_engine
/blob/master/sky/apk/demo/org/domokit/sky/demo/SkyDemoApplication.java
)
additionally exposes
`keyboard_service`
and
`sensor_service`
for use by the Sky
Framework from Dart.
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录