20087 Commits

Author SHA1 Message Date
Adam Barth
7a27ca85cc Add Fuchsia's tonic to DEPS (#2852)
We will eventually remove our version of tonic and use this one instead.
2016-08-02 20:23:03 -07:00
Chinmay Garde
1f03d60a27 Delay setting up the accessibility bridge till after the flutter view has appeared. (#2854) 2016-08-02 12:39:55 -07:00
Adam Barth
3096a05a7b Remove more of //skia/ext (#2853)
This patch removes a bunch of dead code in //skia/ext.
2016-08-02 09:18:48 -07:00
Adam Barth
410bc4c313 Remove skia::RefPtr (#2851)
Also, remove the hacks that integrate Skia ref counting with WTF. Now we
just use sk_sp everywhere for managing Skia ref counts.
2016-08-01 22:21:37 -07:00
Ian Hickson
b66f005445 Add some documentation for drawPoints. (#2843) 2016-08-01 22:21:08 -07:00
Adam Barth
17ebc33a61 Remove //third_party/ply (#2850)
We don't use this anymore.
2016-08-01 20:54:48 -07:00
Adam Barth
6320dd9077 Fix build 2016-08-01 17:15:33 -07:00
Adam Barth
fd515f2f98 Roll dart to fix build 2016-08-01 16:55:33 -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
Adam Barth
a415e0e748 Fix Linux build 2016-08-01 16:35:08 -07:00
Adam Barth
fcc642e42b Finish removing //base dependency from //flow (#2848)
This patch introduces a //glue library that isolates our dependency on //base.
This will let us clean up our //base dependencies ahead of actually being able
to fully remove them.
2016-08-01 16:27:48 -07:00
Chinmay Garde
ace8307aab Asynchronous texture upload. (#2837) 2016-08-01 16:05:45 -07:00
Adam Barth
d6476a65c3 Port //flow to //lib/ftl (#2847)
This patch removes almost all //base dependency of //flow. The only dependency
left is on tracing.
2016-08-01 15:11:56 -07:00
Adam Barth
27a77e4568 Add //lib/ftl (#2846)
This patch starts the process of porting Flutter to run on Fuchsia by
adding FTL to DEPS. We will eventually replace //base with //lib/ftl.
2016-08-01 14:32:51 -07:00
John McCutchan
b23f07e5c7 Initial modified libraries support (#2845) 2016-08-01 12:30:44 -07:00
Chinmay Garde
e849e0942a Update CONTRIBUTING.md to add iOS engine development instructions. (#2844) 2016-07-29 16:22:35 -07:00
Jason Simmons
349cf38ba2 Another OpenGL library build system fix (#2842) 2016-07-28 12:02:42 -07:00
Jason Simmons
62772bbf66 Link to the OpenGL library to fix the host_debug_unopt build (#2841) 2016-07-28 11:24:08 -07:00
Jason Simmons
c4b2e675b1 Filter for either "warning" or "error" for some dartanalyzer messages (#2840)
The buildbot and Travis are running inconsistent versions of the analyzer
2016-07-28 09:50:49 -07:00
Jason Simmons
bdd1431079 Roll Dart (#2838) 2016-07-27 17:12:55 -07:00
Jason Simmons
3dac5a71ea Drop the last layer tree when tearing down the rasterizer (#2836)
The LayerTree may be holding references to obsolete Skia/GPU resources,
notably the GrGLGpu.  The old GrGLGpu should be deleted before a new
GrGLGpu is created during the next rasterizer setup.

Fixes https://github.com/flutter/flutter/issues/5074
2016-07-27 15:31:50 -07:00
Adam Barth
84872e4fd6 Update README.md (#2835) 2016-07-27 13:46:06 -07:00
Jason Simmons
f12f9b448e Restore "Capture Skia trace events" (#2834) 2016-07-27 11:31:31 -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
Jason Simmons
d72c9e0f06 Fix the Linux engine build (#2833) 2016-07-27 10:38:45 -07:00
Ian Hickson
4f78a67dd4 Revert "Capture Skia trace events" (#2831) 2016-07-27 08:51:03 -07:00
Jason Simmons
eae38aef3a Capture Skia trace events (#2830) 2016-07-26 17:06:06 -07:00
Chinmay Garde
2b18a40f0b Utilities for creating texture backed SkImages. (#2829) 2016-07-26 16:26:04 -07:00
Matt Perry
f5c907d663 Fix bug with text input where the cursor would render before a single (#2828)
trailing space rather than after.

We were including an empty rectangle in the list of TextBoxes for that
range.

BUG=https://github.com/flutter/flutter/issues/4911
2016-07-26 18:13:44 -04:00
Chinmay Garde
60f2622c8b Compile in SIMD related files on x86 and arm64. Fixes iOS simulator/device builds. (#2826)
* Compile in SIMD related file on SK_CPU_X86. Fixes iOS simulator builds.
* Unconditionally enable SIMD use on arm64.
2016-07-26 14:18:45 -07:00
Ian Hickson
e99cbb038e Tool for managing licenses. (#2822) 2016-07-26 13:10:57 -07:00
Chinmay Garde
b34d69becb Disable chattly log in SimpleFontData and stop reading VDMX metrics for fonts on iOS/OSX. (#2824) 2016-07-26 12:51:08 -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
11dd5cada9 Add trace events to swap buffers (#2823) 2016-07-26 12:16:32 -07:00
Jason Simmons
d71a864e58 Clear invalid resources from the raster cache when the surface is destroyed (#2821) 2016-07-25 16:14:34 -07:00
James Robinson
8305580497 Switch from gnu++11 to c++11 on android and linux (#2819) 2016-07-22 16:02:32 -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
Jason Simmons
789c1e799f Disable rendering if the rasterizer can not create a GL/EGL context (#2817)
Fixes https://github.com/flutter/flutter/issues/4972
2016-07-22 11:13:21 -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
Jason Simmons
9546168c37 Recreate the EGL surface after a resize in order to correctly handle screen rotation on Android (#2813) 2016-07-21 15:13:26 -07:00
John McCutchan
d75656b033 Roll Dart forward to 8dc35ba47ee5f43e0f6ed8d9b6a3914a2c4d9577 (#2815)
- [x] Fixes devfs opening too many files.
- [x] Build fixes related to Fuschia support
2016-07-21 14:57:08 -07:00
Chinmay Garde
b164edaea8 Revert "Only suppress the sampling profiler on Mac/iOS when the engine is in …" (#2814) 2016-07-21 14:18:05 -07:00
Ian Hickson
104c7e21e3 Revert "Roll Dart forward to c373aa760af720ec095b9a4293b74ef991d93bc8" (#2812) 2016-07-21 13:33:36 -07:00
Ian Hickson
751c4642b4 Revert "Roll Dart to 136c3ddf47fd5c000b7ab536250276783e1422e1" (#2811) 2016-07-21 13:33:25 -07:00
John McCutchan
a3075fedb5 Roll Dart to 136c3ddf47fd5c000b7ab536250276783e1422e1 (#2810) 2016-07-21 13:04:21 -07:00
John McCutchan
d236f6b82c Roll Dart forward to c373aa760af720ec095b9a4293b74ef991d93bc8 (#2809) 2016-07-21 11:18:34 -07:00
Chinmay Garde
5ed6b6ec26 Minor update to the name of the argument used to find the fallback font. (#2808) 2016-07-20 11:49:37 -07:00
John McCutchan
855e23910a Add intent for running from a script file (#2807) 2016-07-20 10:35:45 -07:00
Jason Simmons
0df124f969 Add an alternate name for an FLX built in profile mode (#2806) 2016-07-19 15:13:08 -07:00