- 14 8月, 2015 2 次提交
-
-
由 Adam Barth 提交于
Currently we have a single PictureLayer that everyone draws into. A future patch will teach the system to use multiple PictureLayers.
-
由 Adam Barth 提交于
We'll need this for compositing because we need to switch out the sky.Canvas when we switch compositing layers.
-
- 01 8月, 2015 2 次提交
-
-
由 Adam Barth 提交于
Currently we support only borders with uniform color and width.
-
由 Adam Barth 提交于
We were marking the parent *Widget's* render object as needing layout, but we actually need to walk up the component tree until we find the parent *RenderObjectWrapper* so we can mark actually mark the parent render object as needing layout. Fixes #408
-
- 29 7月, 2015 1 次提交
-
-
由 Adam Barth 提交于
Rather than using a microtask to schedule component build functions, instead use the scheduler. We now tread building just like layout and painting as a visual update.
-
- 17 7月, 2015 1 次提交
-
-
由 Collin Jackson 提交于
-
- 09 7月, 2015 1 次提交
-
-
由 Ian Fischer 提交于
WIP -- need to update some tests at the least. R=abarth@chromium.org, abarth@google.com, ianh@google.com Review URL: https://codereview.chromium.org/1216833003 .
-
- 07 7月, 2015 1 次提交
-
-
由 Eric Seidel 提交于
This does way more than a single CL should do, sorry. - Fixed a bunch of logging/error reporting during loads. - Made it possible for --package-root to be absolute. - Fixed (hypothetically) parts of iOS build to be clang-plugin-compliant. - Made all tests pass in sky_shell - Removed a bunch of layout_tests including windows support. I'll remove all the mojo test harness stuff in a follow-up patch. R=abarth@chromium.org, abarth@google.com Review URL: https://codereview.chromium.org/1215953006.
-
- 30 6月, 2015 2 次提交
-
-
由 Ian Fischer 提交于
Rename RenderCanvas to PaintingCanvas to avoid confusion with other classes that inherit from RenderObject. R=ianh@google.com, abarth@google.com Review URL: https://codereview.chromium.org/1217933002.
-
由 Hixie 提交于
This should be a perf win, but I haven't tested it. Also adds an operator overloading such that Offset + Size -> Rect. Also adds Rect.fromLTWH(). R=abarth@chromium.org Review URL: https://codereview.chromium.org/1209413004.
-
- 27 6月, 2015 1 次提交
-
-
由 Hixie 提交于
Added a OffsetBase class that Size now inherits from, and added a new Offset class that also inherits from OffsetBase. Offset has: - dx and dy members - zero and infinite static constants - a method that returns a new Offset that's the existing one scaled by a scalar - a unary minus operator - operators overloads such that subtracting or adding two Offsets gives another Offset - a toPoint() method Added Offset and Size to the dart bindings, so they can be used from C++. Changed the Canvas API to use Point, Size, and Offset where appropriate: - drawLine uses Points now - drawCircle uses a Point now - drawImage uses a Paint now - the constructor uses a Size Changed Point as follows: - added a unary minus - Point difference now gives an Offset rather than a Size - You can add an Offset to a Point to get a new Point - toSize() has been replaced by toOffset() Changed Rect as follows: - renamed upperLeft and lowerRight to topLeft and bottomRight for consistency with our other APIs - added bottomLeft and topRight for completeness Changed Size as follows: - now inherits from OffsetBase - added *, /, ~/, and % operators for scaling sizes - subtracting a Size from a Size gives an Offset - subtracting an Offset from a Size gives a Size - changed the + operator to take an Offset instead of a Size - added topLeft, bottomLeft, topRight, bottomRight to match Rect - added center for the same reason - added shortestSide getter since that was a common pattern - removed toPoint() Changed DrawLooperLayerInfo as follows: - setOffset member takes an Offset instead of a Point Changed BoxConstraints as follows: - added biggest getter since it was a common pattern - added smallest getter for symmetry Changed BoxShadow as follows: - offset member is an Offset rather than a Size Changed ViewConstraints as follows: - replaced height and width members by a single size member I did some minor code cleanup in nearby files while I was there, including sorting sky/engine/core/core.gni alphabetically, and fixing some warnings in the examples. BUG= R=abarth@chromium.org, chinmaygarde@google.com Review URL: https://codereview.chromium.org/1214833004.
-
- 25 6月, 2015 1 次提交
-
-
由 Ian Fischer 提交于
Decouple Canvas from DisplayList and map Picture and PictureRecorder more directly to their Skia counterparts. Also changes the framework dart code to use the refactored APIs and fixes the various examples and tests. R=abarth@chromium.org, ianh@chromium.org Review URL: https://codereview.chromium.org/1190123003.
-
- 24 6月, 2015 1 次提交
-
-
由 Viktor Lidholt 提交于
Adds drawImageRect to Canvas bindings R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1204783003.
-
- 19 6月, 2015 1 次提交
-
-
由 Matt Perry 提交于
Add a test for RenderDecoratedBox sets up the Paint object correctly. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1185423003.
-
- 18 6月, 2015 2 次提交
-
-
由 Hixie 提交于
- removes the unit testing framework from tests that don't use it - use 'async' where that makes the code less convoluted R=abarth@chromium.org Review URL: https://codereview.chromium.org/1192003003.
-
由 Adam Barth 提交于
The underlying problem is that we lacked a RenderObjectWrapper for the RenderView, which meant we couldn't handle changing the RenderObject that was the root of the RenderView. This CL introduces a RenderViewWrapper and uses it in a new AppContainer widget root. This change allows us to make App a non-magical Component that is inserted into the AppContainer in the newly introduced runApp function. R=ianh@google.com Review URL: https://codereview.chromium.org/1184823006.
-
- 17 6月, 2015 2 次提交
-
-
由 Adam Barth 提交于
Specifically, RaisedButton, FlatButton, and FloatingActionButton. These just test that these classes work in their default configurations. R=ianh@google.com, jackson@chromium.org Review URL: https://codereview.chromium.org/1193453005.
-
由 Hixie 提交于
Create an example app that demonstrates interactive coordination of an fn tree and a raw RenderObject tree. Sector changes: - implement the intrinsic sizing box API on RenderBoxToRenderSectorAdapter - remove some debug print statements - fix getIntrinsicDimensions() on RenderSolidColor to return true values - factor out the default demo RenderObject changes: - BoxConstraints.isInfinite() now returns true only if both dimensions are infinite fn changes: - implement UINodeToRenderBoxAdapter - rename RenderObjectToUINodeAdapter to RenderBoxToUINodeAdapter Tests: - add a test for sector layout - make TestRenderView support being run without the unit test framework R=abarth@chromium.org Review URL: https://codereview.chromium.org/1175423007.
-
- 14 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
This CL moves the bulk of the SkyView code out of the |framework| directory because the |framework| directory was redundant in Dart package import declarations. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1177383006.
-
- 12 6月, 2015 1 次提交
-
-
由 Hixie 提交于
Make it possible to test that the stock app doesn't crash on startup and paints the basic scaffold more or less correctly. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1177043008.
-
- 10 6月, 2015 1 次提交
-
-
由 Adam Barth 提交于
Instead of triggering layout synchronously during AppView construction, we now schedule the initial layout using a magic bootstrapping function. TBR=ianh@google.com Review URL: https://codereview.chromium.org/1172123003.
-
- 09 6月, 2015 1 次提交
-
-
由 Hixie 提交于
Radians are the one true angle unit. R=abarth@chromium.org Review URL: https://codereview.chromium.org/1164393002
-
- 05 6月, 2015 1 次提交
-
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1165013003
-
- 04 6月, 2015 1 次提交
-
-
由 Matt Perry 提交于
Also add operator==, hashCode, toString, and some basic Color constants to Color. R=abarth@chromium.org, ianh@google.com Review URL: https://codereview.chromium.org/1162023004
-
- 03 6月, 2015 2 次提交
-
-
由 Hixie 提交于
R=eseidel@chromium.org Review URL: https://codereview.chromium.org/1166773003
-
由 Matt Perry 提交于
The previous patch broke the sky tests. I have updated the framework to use the new Color class. R=jackson@google.com Review URL: https://codereview.chromium.org/1159663003
-
- 29 5月, 2015 1 次提交
-
-
由 Hixie 提交于
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1153053012
-