Adam Barth
ee18bf8eae
Cull offscreen child views ( flutter/engine#3267 )
...
There's no reason to present offscreen child views to Mozart.
2016-11-23 13:36:12 -08:00
Chinmay Garde
fa8c14973b
Rework switches in the shell so that they display help text for all flags. ( flutter/engine#3259 )
2016-11-22 16:58:55 -08:00
Chinmay Garde
b4b8509397
Remove defunct reference to //third_party/libjpeg. ( flutter/engine#3261 )
2016-11-22 16:55:53 -08:00
P.Y. Laligand
941b411c4f
Enable analysis of flutter_app targets. ( flutter/engine#3256 )
2016-11-22 16:40:01 -08:00
John McCutchan
efa648618d
Follow on fix to my previous fix. ( flutter/engine#3257 )
...
- [x] Use Dart_GetLoadedLibraries which is available in product builds.
2016-11-22 12:45:56 -08:00
John McCutchan
f5d89a6a7a
Bug fixes for sky_snapshot --compile-all mode ( flutter/engine#3255 )
2016-11-22 12:39:43 -08:00
Todd Volkert
517901475a
Stop passing use_libjpeg_turbo arg in gn ( flutter/engine#3252 )
2016-11-22 10:36:31 -08:00
John McCutchan
b7fa647d22
Add --compile-all to sky_snapshot ( flutter/engine#3251 )
2016-11-22 07:50:34 -08:00
P.Y. Laligand
798a5ca63f
Build sky on Fuchsia. ( flutter/engine#3247 )
...
This requires an updated buildroot.
2016-11-21 13:53:32 -08:00
Chinmay Garde
40ae490ca8
Disable profiling by default. Allow enabling via --enable-dart-profiling. ( flutter/engine#3238 )
2016-11-21 11:50:42 -08:00
Adam Barth
85abbfaa3e
Fix Mozart blends of child views ( flutter/engine#3248 )
...
We need to compute the paint bounds of ChildViewLayers during Preroll.
Also, we need to allocate a BlendPtr before writing into it.
2016-11-18 23:49:30 -08:00
P.Y. Laligand
3a1caa55b3
Import Dart rules from buildroot, to make them available in Fuchsia. ( flutter/engine#3246 )
...
This also removes a reference to mojo_gni.
2016-11-18 15:24:14 -08:00
Adam Barth
6e603372ba
Composite child views in proper paint order ( flutter/engine#3243 )
...
We push a bit up the tree during preroll to learn whether there system
composited layers below each layer. During update scene, we squash down
to paint tasks, which we execute after publishing the new scene.
2016-11-18 12:54:54 -08:00
Chinmay Garde
f8944f85f5
Use a custom Skia font manager that delegates to FontCacheLinux on Linux. ( flutter/engine#3245 )
2016-11-18 12:52:02 -08:00
Chinmay Garde
b312bb153f
Remove mojo/public from DEPS and update buildroot. ( flutter/engine#3240 )
2016-11-17 16:24:44 -08:00
Chinmay Garde
5730cf9d82
Update Skia and get using its BUILD.gn instead of maintaining own own copy. ( flutter/engine#3233 )
2016-11-17 12:36:16 -08:00
John McCutchan
c49eb9a680
Disable Dart's profiler in unoptimized builds ( flutter/engine#3234 )
2016-11-17 10:14:53 -08:00
Adam Barth
c693907f61
Fix Mozart child views ( flutter/engine#3232 )
...
When we pipelined the drawing commands we caused UpdateScene to be called
before Preroll, which isn't allowed. Now we call Preroll, UpdateScene, and
Paint separately.
2016-11-16 15:30:57 -08:00
Sigurd Meldgaard
762d1367b3
Faster hash codes. ( flutter/engine#3214 )
...
* Faster hash codes.
Mask the intermediate values when computing composite
hash codes.
* WIP
* WIP
* WIP
2016-11-16 12:28:25 -08:00
Adam Barth
d26fc5be2f
Update pointer change constants in Java ( flutter/engine#3231 )
...
I updated the C++ and Dart sides but forgot to update the Java side.
Fixes https://github.com/flutter/flutter/issues/6891
2016-11-16 10:13:28 -08:00
Adam Barth
bd95aafbe5
Add support for hover pointer events ( flutter/engine#3227 )
...
These are implemented on macOS and Fuchsia.
2016-11-15 20:18:22 -08:00
Chinmay Garde
eceff83817
Enable android_full_debug on —unoptimized builds. ( flutter/engine#3228 )
...
Previously, —unoptimized builds on Android would include debug symbols but still would be optimized. This killed the experience in the debugger on Android.
2016-11-15 17:44:39 -08:00
Jason Simmons
443de688fb
Enable engine builds for Android ARM64 targets ( flutter/engine#3225 )
2016-11-15 14:56:08 -08:00
Jason Simmons
8d2f80a6c2
Update the Flutter GDB script to work with Android N ( flutter/engine#3220 )
2016-11-11 16:02:05 -08:00
Jason Simmons
d9392e7fbb
Move destruction of PictureLayer's SkPicture to the IO thread ( flutter/engine#3219 )
...
The picture may hold references to images backed by GPU textures that must
be deleted on the IO thread.
2016-11-11 13:43:23 -08:00
Chinmay Garde
77d1df9d19
Randomize the color of the checkerboard pattern per raster cache entry. ( flutter/engine#3218 )
2016-11-10 18:21:12 -08:00
Adam Barth
8ed446e1d0
Add support for child view on Fuchsia ( flutter/engine#3217 )
2016-11-10 18:03:00 -08:00
Chinmay Garde
e4c2169524
Give the Mac window an autosave identifier. ( flutter/engine#3215 )
2016-11-10 14:36:18 -08:00
Adam Barth
ab894d55d5
Add support for Fuchsia IDL on Fuchsia ( flutter/engine#3211 )
2016-11-10 13:12:32 -08:00
Jason Simmons
0ce2408afb
Show clearer logs during startup if OpenGL is unavailable ( flutter/engine#3207 )
2016-11-07 17:01:42 -08:00
Adam Barth
1d7337b4d8
Switch Flutter to //lib/fidl ( flutter/engine#3206 )
2016-11-07 15:51:42 -08:00
Chinmay Garde
b09b35cc06
Tell the raster cache when checkerboarding preferences have been updated. ( flutter/engine#3205 )
2016-11-07 15:29:03 -08:00
Ian Hickson
d0de04bfa7
Update CONTRIBUTING.md ( flutter/engine#3203 )
...
At some point recently we started putting a JSON file in the out/ directory and this broke this suggested build script.
This patch makes the script more resilient to such files.
2016-11-04 14:36:27 -07:00
Chinmay Garde
e1cdf9ef48
Add SceneBuilder.setCheckerboardRasterCacheImages with documentation. ( flutter/engine#3202 )
2016-11-03 17:28:11 -07:00
Chinmay Garde
6dbbb9c0a5
Fix PipelineProducer traces. Also add back the OnDisplayLink trace on iOS. ( flutter/engine#3201 )
2016-11-03 17:04:21 -07:00
Chinmay Garde
20ad790b7f
Allow checkerboarding raster cache entries for debugging purposes (can be toggled from Dart). ( flutter/engine#3200 )
2016-11-03 13:59:57 -07:00
Jason Simmons
b91c77590b
Set the IME action label to null if the label is null in the configuration JSON object ( flutter/engine#3199 )
...
(JSONObject.getString() will return the string "null" for a JSON null value)
Fixes https://github.com/flutter/flutter/issues/6643
2016-11-03 12:08:15 -07:00
Petr Hosek
b0015c4e06
Split the snapshot generation into a separate action ( flutter/engine#3168 )
...
This is to ensure that the depfile generated by the snapshotter has
the correct target.
2016-11-02 14:38:09 -07:00
John McCutchan
23843e3d29
Have sky_snapshot --print-deps print parse errors on standard error ( flutter/engine#3196 )
2016-11-02 22:05:47 +01:00
Jason Simmons
17815b3421
Roll Dart ( flutter/engine#3194 )
...
Update DartServiceIsolate/FlutterView because VMServiceIO_NotifyServerState
now provides a URI for the observatory
2016-11-01 17:11:56 -07:00
Chinmay Garde
7f99dd8528
Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition. ( flutter/engine#3193 )
...
* Initialize AndroidSurfaceGL and its associated resource context before ANativeWindow acquisition.
This allows us to create the IO thread context way earlier and service load requests on the same. Before this patch, early lifecycle loads would use the default Skia texture loader instead of the Async texture loader we provide.
Fixes https://github.com/flutter/flutter/issues/6581
* Don't destroy surface_gl_ PlatformViewAndroid::ReleaseSurface.
2016-11-01 15:02:56 -07:00
Jason Simmons
cfddf80a97
Fix warning about converting a null snapshot override path ( flutter/engine#3190 )
2016-11-01 14:38:27 -07:00
Jason Simmons
12af865808
Move SkPicture destruction to the IO thread to fix a GL memory leak ( flutter/engine#3192 )
...
An SkPicture may hold a reference to an SkImage backed by a GL texture.
The GL texture is associated with the resource context bound to the IO
thread and must be deleted through that context.
2016-11-01 14:31:20 -07:00
John McCutchan
0a7dfa77ba
Fix profile and release mode isolate spawning ( flutter/engine#3191 )
...
Fixes #6496
2016-11-01 21:28:41 +01:00
Jason Simmons
2db913d253
Fix a leak of RenderObjects in Paragraph/ParagraphBuilder ( flutter/engine#3189 )
...
The RenderView destructor does not delete its descendants.
RenderObject::destroy must be called to delete the object tree along with
other cleanup tasks.
Also associate a CustomFontData with dynamically loaded fonts in order to get
the desired FontDataCache behavior at RenderObject::destroy time.
2016-10-31 11:16:04 -07:00
Adam Barth
f04d8c0314
Unlink from mojo ( flutter/engine#3187 )
...
After this patch, we no longer link with Mojo. We still use some gn definitions
from //mojo to create Dart packages.
2016-10-28 15:01:07 -07:00
Adam Barth
d8092db223
Fix Fuchsia build ( flutter/engine#3186 )
2016-10-28 13:54:53 -07:00
Adam Barth
e963abe485
Number keyboard does not work on Android ( flutter/engine#3185 )
...
We had a typo in our decoding logic.
Fixes https://github.com/flutter/flutter/issues/6564
2016-10-28 12:26:56 -07:00
Adam Barth
414e5bcd60
Remove last mojom interface ( flutter/engine#3184 )
...
We no longer use mojom to transport messages. We still use the Mojo EDK
to spin the event loop, however.
2016-10-28 11:46:57 -07:00
Adam Barth
7e0fbaec13
Unify the various run methods on engine ( flutter/engine#3183 )
...
Now they all flow through some common routines.
2016-10-27 17:03:32 -07:00