28 Commits

Author SHA1 Message Date
Adam Barth
2dc2fac0d8 Build fix 2016-08-07 16:40:24 -07:00
Adam Barth
c65c32f602 Enable gn --check for more directories (#2884)
This required us to fix a backwards dependency from flutter/lib/ui to
sky/shell.
2016-08-07 13:52:24 -07:00
Adam Barth
9668ba422f Remove //base from DartController 2016-08-07 12:35:25 -07:00
Adam Barth
53d6b50ff9 Fix build 2016-08-05 21:13:48 -07:00
Adam Barth
33da97b1f6 Remove more //base dependencies (#2880) 2016-08-05 20:31:30 -07:00
Adam Barth
52b4d62e6f Remove mojo_converter.h (#2879)
We can use the one from //lib/tonic instead.
2016-08-05 16:50:40 -07:00
Adam Barth
1c9c7aa826 Switch to using //lib/tonic's DartWrappable (#2878)
This removes most (all?) of our dependency on base::RefCountedThreadSafe.
2016-08-05 16:43:35 -07:00
Adam Barth
f0967c24e5 Remove more //base dependencies (#2870)
WTF is now //base clean.
2016-08-05 00:00:24 -07:00
Adam Barth
5feb8266f8 Switch //sky/engine to ftl::TaskRunner (#2866)
The ftl::TaskRunner is still based on a base::MessageLoop, but this patch paves
the way to replace the message loop on Fuchsia.
2016-08-04 19:25:04 -07:00
Adam Barth
1e250cfc5f Migrate more code to //lib/tonic (#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
Adam Barth
bc19388819 Switch to //lib/tonic's DartConverter (#2858)
Also, switch over to //lib/tonic's typed data classes.
2016-08-03 14:09:07 -07:00
Adam Barth
2629d5e73b Remove a pile of dead code (#2855)
* Remove time

* Remove rand

* Remove array buffers

* Remove more code

* Remove more image decoding code

* Remove more code

* Remove old public API

* Remove more old public headers

* Remove layout test support

* Remove WebPrivateOwnPtr

* Remove WebString

* Remove worker pool
2016-08-03 09:14:34 -07:00
Ian Hickson
b66f005445 Add some documentation for drawPoints. (#2843) 2016-08-01 22:21:08 -07:00
Chinmay Garde
37a1d87317 Fallback to creating Skia managed images on platforms that dont provide a GL context on the resource loader. (#2849) 2016-08-01 16:39:02 -07:00
Chinmay Garde
ace8307aab Asynchronous texture upload. (#2837) 2016-08-01 16:05:45 -07:00
Dragoș Tiselice
e633c2a478 Renamed 2 RRect constructors. (#2832)
RRect.fromLTRBCustom -> RRect.fromLTRBAndCorners
RRect.fromRectCustom -> RRect.fromRectAndCorners
2016-07-27 11:11:14 -07:00
Adam Barth
7c87227702 Update Skia (#2825) 2016-07-26 12:33:37 -07:00
Dragoș Tiselice
a5c04b0a51 Added custom radii for each corner of RRect. (#2820)
In order to implement more detailed animation in Flutter, precise
handling of the rounded corner's radii is necessary. This commit
adds a data structure Radius and updated RRect accordingly.
2016-07-26 12:25:41 -07:00
Adam Barth
9c6fc0fb1e Add default hint values (#2818)
This is required because boolean values cannot be null.
2016-07-22 12:22:05 -07:00
Adam Barth
9eb5df4146 Add a way to hint the compositor (#2816)
The code that draws the picture knows more about the picture (and the future)
than we do. This patch gives them a way to hint us about what's going to
happen with the picture in the future.
2016-07-22 11:07:14 -07:00
Adam Barth
3291edef41 Add Rect.fromPoints (#2799)
Fixes https://github.com/flutter/flutter/issues/4926
2016-07-15 08:32:59 -07:00
Jason Simmons
2eb81e33bc Documentation for the dart:jni library (#2774) 2016-06-30 12:33:58 -07:00
Adam Barth
661946e3e1 Add operator== to ColorFilter (#2769)
Fixes #69
2016-06-20 20:39:19 -07:00
Adam Barth
f13875ca92 Move Canvas into //flutter/lib/ui (#2754)
This patch moves the remainder of painting and compositing into their
new home (and updates their style to match Google C++ Style).
2016-06-14 23:14:14 -07:00
Adam Barth
9bc546abef Remove Dart_GetField from Paint marshalling (#2753)
This should make almost every Canvas call significantly faster.
2016-06-14 21:11:11 -07:00
Adam Barth
8e475a9570 Move most of //sky/engine/core/painting to //flutter/lib/ui/painting (#2752)
These parts don't depend on engine anymore. Also reformat them to match Google
C++ style.
2016-06-13 17:23:34 -07:00
Adam Barth
46b73701f8 Start moving dart:ui into //flutter/lib/ui (#2750)
This patch moves the geometry classes.
2016-06-13 15:30:33 -07:00
Adam Barth
12fab2f28a Move dart:jni to //flutter/lib/jni (#2744)
This patch disentangles dart:jni from //sky/engine and moves it into
//flutter/lib/jni. Eventually dart:ui will move into a peer directory.
2016-06-11 09:15:39 -07:00