Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 SKY SDK | 1 SKY SDK |
| 2 ======== | 2 ======== |
| 3 | 3 |
| 4 Sky and Sky's SDK are designed as layered frameworks, where each layer | 4 Sky and Sky's SDK are designed as layered frameworks, where each layer |
| 5 depends on the ones below it but could be replaced wholesale. | 5 depends on the ones below it but could be replaced wholesale. |
| 6 | 6 |
| 7 The bottom-most layer is the Sky Platform, which is exposed to Dart | 7 The bottom-most layer is the Sky Platform, which is exposed to Dart |
| 8 code as [various ```dart:``` packages](https://api.dartlang.org/), | 8 code as [various ```dart:``` packages](https://api.dartlang.org/), |
| 9 including ```dart:sky```. | 9 including ```dart:sky```. |
| 10 | 10 |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 56 | dart:sky | | | Host | | 56 | dart:sky | | | Host | |
| 57 +--------+---+ | | APIs | C++ | 57 +--------+---+ | | APIs | C++ |
| 58 | Skia | Dart | +------+ ObjC | 58 | Skia | Dart | +------+ ObjC |
| 59 +--------+--------+ | Java | 59 +--------+--------+ | Java |
| 60 | Mojo | | 60 | Mojo | |
| 61 +-----------------------------+ ------- | 61 +-----------------------------+ ------- |
| 62 | Host Operating System | C/C++ | 62 | Host Operating System | C/C++ |
| 63 +-----------------------------+ ------- | 63 +-----------------------------+ ------- |
| 64 | 64 |
| 65 TODO(ianh): document dart:sky and the Host APIs somewhere | 65 TODO(ianh): document dart:sky and the Host APIs somewhere |
| 66 | |
| 67 Sky Engine API | |
| 68 -------------- | |
| 69 | |
| 70 The Sky engine API provides effecient, immutable wrappers | |
| 71 for common Skia C++ types, notably Color, Point, and Rect. | |
| 72 Because these wrappers are immutable, they are suitable | |
| 73 for storage in final member variables of widget classes. | |
| 74 More complex Skia wrappers such as Paint and RRect are | |
| 75 mutable, to more closely match the Skia APIs. We recommend | |
| 76 constructing wrappers for complex Skia classes dynamically | |
| 77 during the painting phase based on the underlying state of | |
| 78 the widget. | |
|
abarth-chromium
2015/06/25 18:04:12
This text is good, but I'm not sure this is the ri
Hixie
2015/06/25 18:22:36
Yeah we weren't sure where to put it. We considere
abarth-chromium
2015/06/25 18:34:01
Yeah, we're clearly going to need docs for all the
| |
| OLD | NEW |