30246 Commits

Author SHA1 Message Date
Adam Barth
65c3643e29 Remove //base from //flutter/tonic 2016-08-07 12:35:25 -07:00
Adam Barth
f85dcd1555 Remove //base from DartController 2016-08-07 12:35:25 -07:00
Chinmay Garde
5575f2e18b Give the mac desktop its own VSync provider. (flutter/engine#2877) 2016-08-05 16:37:12 -07:00
Chinmay Garde
1be74c6698 Remove unused checkerboard.cc (flutter/engine#2865) 2016-08-05 16:23:12 -07:00
Jason Simmons
4f80971f11 sky_snapshot: fix the types of Dart snapshot buffer symbols (flutter/engine#2876)
Also pick up some needed fixes to FTL and Tonic
2016-08-05 15:33:21 -07:00
Jason Simmons
b8111c902c Flush image textures before they are bound by the UI thread (flutter/engine#2873) 2016-08-05 15:24:29 -07:00
Ben Wagner
3ebdaaae86 Move SkTypeface::CreateXXX to SkTypeface::MakeXXX.
Skia is moving to returning smart pointers from its factory methods.
This updates uses of SkTypeface::CreateXXX to SkTypeface::MakeXXX and
generally updates use of SkTypeface to sk_sp. This will allow for the
removal of the SK_SUPPORT_LEGACY_TYPEFACE_PTR define.

Change-Id: If3e600c6cb86080576667bc77d427da4f6560afa
2016-08-05 13:57:22 -04:00
Adam Barth
0e5d805191 Remove //base dependency from sky_snapshot (flutter/engine#2872) 2016-08-05 10:15:04 -07:00
Adam Barth
2652ee2654 Add glue::PrintStackTrace() (flutter/engine#2869)
We don't have a way to print stack traces on Fuchsia yet. This patch
isolates this base dependency in //glue.
2016-08-04 23:31:21 -07:00
Adam Barth
5f46f1488f Switch //sky/engine to ftl::TaskRunner (flutter/engine#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
dbf2d9e8df Migrate more code to //lib/tonic (flutter/engine#2860)
* Adopt //lib/tonic/logging

* Adopt //lib/tonic/scopes

* Adopt //lib/tonic/parsers
2016-08-03 14:43:24 -07:00
Adam Barth
0d90045ff9 Remove more of //skia/ext (flutter/engine#2853)
This patch removes a bunch of dead code in //skia/ext.
2016-08-02 09:18:48 -07:00
Adam Barth
3fbc245f7e Remove skia::RefPtr (flutter/engine#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
Adam Barth
0c9bcdd22e Remove //third_party/ply (flutter/engine#2850)
We don't use this anymore.
2016-08-01 20:54:48 -07:00
Chinmay Garde
6427ebc826 Fallback to creating Skia managed images on platforms that dont provide a GL context on the resource loader. (flutter/engine#2849) 2016-08-01 16:39:02 -07:00
Adam Barth
b4ddad2fbc Fix Linux build 2016-08-01 16:35:08 -07:00
Adam Barth
2eb635524d Finish removing //base dependency from //flow (flutter/engine#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
1645b8b802 Asynchronous texture upload. (flutter/engine#2837) 2016-08-01 16:05:45 -07:00
Adam Barth
9586997a02 Port //flow to //lib/ftl (flutter/engine#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
046a577912 Add //lib/ftl (flutter/engine#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
c7e72aa115 Initial modified libraries support (flutter/engine#2845) 2016-08-01 12:30:44 -07:00
Chinmay Garde
0c30ca0d8d Update CONTRIBUTING.md to add iOS engine development instructions. (flutter/engine#2844) 2016-07-29 16:22:35 -07:00
Adam Barth
313a567447 Update README.md (flutter/engine#2835) 2016-07-27 13:46:06 -07:00
Jason Simmons
c31471757c Fix the Linux engine build (flutter/engine#2833) 2016-07-27 10:38:45 -07:00
Chinmay Garde
467e231962 Utilities for creating texture backed SkImages. (flutter/engine#2829) 2016-07-26 16:26:04 -07:00
Chinmay Garde
3d9ca4a1fc Compile in SIMD related files on x86 and arm64. Fixes iOS simulator/device builds. (flutter/engine#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
27efa3cbb6 Tool for managing licenses. (flutter/engine#2822) 2016-07-26 13:10:57 -07:00
James Robinson
575a0e50a0 Switch from gnu++11 to c++11 on android and linux (flutter/engine#2819) 2016-07-22 16:02:32 -07:00
Adam Barth
c53f3f5c36 Add a way to hint the compositor (flutter/engine#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
Chinmay Garde
9da591ab35 Remove third_party/mesa. (flutter/engine#2797) 2016-07-13 16:31:16 -07:00
Jason Simmons
fdb7fe384e Do not upgrade the version of google_play_services in third_party/android_tools (flutter/engine#2798)
The setup instructions for engine development ask users to run build/install-build-deps-android.sh,
which updates the Android SDK packages listed in android_sdk_extras.json

This process was upgrading the Play Services package to a version that is incompatible
with our build scripts.
2016-07-13 15:45:00 -07:00
Ian Hickson
caad695ace Drop GCM (flutter/engine#2795) 2016-07-13 14:42:38 -07:00
Seigo Nonaka
56bda7e82a Lookup glyph from color emoji font before and after ZWJ.
Unicode recommends that the zwj sequences should be emoji presentation
even if they don't have the proper U+FE0F. Thus always lookup the glyph
for the code point before and after zwj as if they have a U+FE0F
variation selector.

Bug: 30056627
Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
2016-07-13 14:12:06 -07:00
Seigo Nonaka
c5d673d423 Treat U+2695, U+2640, U+2642 as emoji characters.
Bug: 29885295
Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
2016-07-13 14:05:02 -07:00
Seigo Nonaka
2fd057eb70 Add some gender balanced components in to the sticky whitelist.
FEMALE SIGN(U+2640), MALE SIGN(U+2642), StAFF OF AESCULAPIUS(U+2695)
will be used as the ZWJ sequenced in gender balanced emoji sequence.
To be in the same run with ZWJ, mark these emoji as sticky chracters.

With this fix, Female police officer sequence will be shown correctly
regardless of VS16.

Bug: 30026374
Change-Id: I503fc061eaa943d45208bb69e885151610c430ce
2016-07-13 14:01:41 -07:00
Chinmay Garde
d56891df93 Remove dependencies on ui, third_party/mesa and mojo/convertors. Provide simple alternatives. (flutter/engine#2783) 2016-07-12 14:47:44 -07:00
Seigo Nonaka
3d665c82d4 Lookup glyph from color emoji font before and after ZWJ.
Unicode recommends that the zwj sequences should be emoji presentation
even if they don't have the proper U+FE0F. Thus always lookup the glyph
for the code point before and after zwj as if they have a U+FE0F
variation selector.

Bug: 30056627
Change-Id: I03958a92337eaba4a8dd9c5be824b2665aa4a103
2016-07-12 10:07:19 +09:00
Seigo Nonaka
9c9fda459e Treat U+2695, U+2640, U+2642 as emoji characters.
Bug: 29885295
Change-Id: I1bf191a46d05e7099265d863bae0523c50817d0b
2016-07-11 15:27:05 +09:00
Adam Barth
ad567a0cb3 We need to make these paths absolute before reading them (flutter/engine#2787) 2016-07-08 15:45:04 -07:00
Seigo Nonaka
dc6138ffeb Add some gender balanced components in to the sticky whitelist.
FEMALE SIGN(U+2640), MALE SIGN(U+2642), StAFF OF AESCULAPIUS(U+2695)
will be used as the ZWJ sequenced in gender balanced emoji sequence.
To be in the same run with ZWJ, mark these emoji as sticky chracters.

With this fix, Female police officer sequence will be shown correctly
regardless of VS16.

Bug: 30026374
Change-Id: I503fc061eaa943d45208bb69e885151610c430ce
2016-07-08 15:49:50 +09:00
Adam Buchbinder
a39c200b81 Merge "Fix a leaked file in HyphTool.cpp." 2016-07-07 20:51:08 +00:00
Adam Barth
ece7f17116 Copy dart_ui and dart_jni to sky_engine package (flutter/engine#2781)
Previously we failed to copy these files to the correct place.
2016-07-07 11:27:23 -07:00
Eric Seidel
e362c35d6c Better explain how to use a local engine
Added a section which explains how to get `dart:ui` changes.
2016-07-06 15:28:40 -07:00
Seigo Nonaka
cd8eea6205 Fix build failure of minikin_perftest
stat.st_size is off_t not size_t, so need to cast to size_t before
compare it.

Change-Id: I6b742746fbb9f254701fc91e515c293f93f912c5
2016-06-28 09:37:17 +00:00
Seigo Nonaka
a89c08ae49 Introduce FontCollection perftest
This CL introduces performance tests for FontCollection.

To support TTC file in /system/fonts, this CL also extends FontTestUtils

Bug:29142734
Change-Id: I9d8ad24ca55f61031b85623ab7c26234239e4f41
2016-06-28 08:52:35 +00:00
Seigo Nonaka
df66baa6fa Add more native perf tests to minikin.
This CL introduces performance tests for following three modules:
- Hyphenator
- WordBreaker
- GraphemeBreak

During using UnicodeUtils, need to decouple it from gtest since
perftest doesn't have gtest dependencies.

Bug:29142734
Change-Id: I700c662fa7d0a52f19d8e93150ad1a85dc28769f
2016-06-28 16:55:42 +09:00
Adam Barth
772a54720b Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580 (flutter/engine#2770)
* Update to mojo fd8d18dbf7a4f9ed8a607648cca6d2c595b1c580

* Update mojo_sdk

* Update to account for Mojo API changes

* Backport to older base
2016-06-21 12:52:09 -07:00
Seigo Nonaka
c3b9f7dadd Fix test utilities
This fixes following three memory leaks in test utilities.
There is no problem in production code and this CL doesn't affect
any production behaviors.

- SkTypeface leaks due to forget calling SkSafeUnref in dtor.
- MinikinFontForTest leaks during constructing FontCollection.
- FontCollection leaks due to unnecessary AddRef.

Change-Id: I22e1e0307f1b2499296acb1aacc3ef66076a36e9
2016-06-21 16:47:25 +09:00
Ian Hickson
3a88860803 clang -Wextra (more all that -Wall) (flutter/engine#2766)
I noticed this while doing the libjpeg_turbo roll.
2016-06-17 12:38:10 -07:00
Ian Hickson
6acced5b6d Update libjpeg_turbo (flutter/engine#2764)
* Update libjpeg_turbo

* Update our libjpeg_turbo BUILD.gn file

This brings in this file from upstream:
https://chromium.googlesource.com/chromium/src/+/master/build/secondary/third_party/libjpeg_turbo/BUILD.gn

* We don't always build with libjpeg

...so the libjpeg target isn't always available.
2016-06-17 12:16:43 -07:00