12864 Commits

Author SHA1 Message Date
skia-flutter-autoroll
e27c867c30
Roll src/third_party/skia 731ba99a8581..977b16d9c978 (5 commits) (#8694)
https://skia.googlesource.com/skia.git/%2Blog/731ba99a8581..977b16d9c978

git log 731ba99a8581cb81978e8217d210309880558b09..977b16d9c978f85007613cd0ed05eef6ad0e169e --date=short --no-merges --format=%ad %ae %s
2019-04-23 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader bcc71a322953..707ed9974cb3 (3 commits)
2019-04-22 brianosman@google.com Add skcms directory to public includes
2019-04-22 egdaniel@google.com Add wait function on GrContext to wait on semaphores.
2019-04-22 jvanverth@google.com More buffer changes for Metal.
2019-04-21 reed@google.com hide internals of SkColorMatrix (so we can migrate to col-major)

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (mtklein@google.com), and stop
the roller if necessary.
2019-04-23 01:05:24 -04:00
Ben Konyi
e1680c1e43 Roll src/third_party/dart cf4444b803..1f1592edce (49 commits)
1f1592edce Add manifest checks for touchscreen feature
630058286f [build] Fix deps for dart_io.
5ee20c99ac [vm/aot/tfa] Workaround for crash in getStaticType
2c304d997f [dartdevc] fix #36372, make JS Array constructor property usable from JS
ef9c25c08b Support codeOffset/Length for CompilationUnit and other nodes.
80bed430c8 Extract AnalysisDriver tests that work with summary1 into a separate test class.
39662f8108 Set ElementAnnotation for directives.
c7279d347b Always lazy create TypeParameterTypeImpl.
27b64953d5 Fixes for applying resolution for fields metadata.
385406ac92 Give LinkedElementFactory its AnalysisSession, fixes for nameOffset.
8b6d04b2ee sort tests
c89e71cd40 The default return type for []= is void.
971f4845d7 [build] Remove last platform -> vm and bin -> vm dependencies. Fix some ODR violations.
3aef424c9c Always add imported / exported files, even if they are parts.
e7a54a9759 Support for TokenType.GT_GT_GT
ec79fc2ff4 update AstBuilder to process "late" modifier
390ba6925d Allow nnbd to be enabled in tests
d1b675055c Read all GenericFunctionType(s) and TypeParameter(s) is lazy AST before reading eager AST.
17db9f986a Simplify type tests in nullable_type_ambiguous_test.dart
dfa56c7031 [vm, interpreter] Invoke field as a bytecode.
2d6313c9e4 Prepare to publish analyzer version 0.36.1
4a33d33297 Store FeatureSet in CompilationUnit.
08832508ec Forward "late" modifier to parser listeners
449cdecda2 [vm/interpreter] Fix bytecode instruction formats in interpreter
6d9d95d938 Add GenericFunctionTypeImpl.declaredElement
fd48001ace Put NNBD modifiers behind a flag
a9b1d9e33b Splice resolved API nodes and unresolved function bodies.
38eed58f61 Fix hints in nullability migration code
d50232a3f5 Plumb new FeatureSet class into AstBuilder.
780f1b6c3e Remove unused imports
c3f822eae6 Attempt to fix failures on the windows bot
47a8ff60e1 Convert more analyzer unit tests
76f177a492 Use a non-null index for all features, even expired ones.
f5224b53e4 [dart_internal] Bump SDK constraint upper-bound to <2.4.0
3d1ca4ae39 Revert "[vm, interpreter] Invoke field as a bytecode."
c85631330d [vm, interpreter] Invoke field as a bytecode.
680744d169 Fix version number strings to always include a patch number.
cb4db33010 [vm/debugger] fix order of type arguments in debugger
1ecedb2341 Fix JsLinkedHashMap memory leak
af0fa108da Add support for required named parameters
a2e06eafff allow built-in keywords as identifier in for-in loop
63658b113c Proposed new API for tracking feature opt in/out
8924c18003 [vm/tests] Revert changes in pkg/vm unit tests after constant-update-2018 was disabled
aaa829695f Fix typo in CHANGELOG.md
78340fdf82 [vm] Support ListInterfaces for android
9e87c16677 Record TopLevelInferenceErrorKind.dependencyCycle in summary2.
3ae2ef7763 parse "late" modifier
b352b5ffb7 [vm, jit] The hottest Smi ops are + < == not + - ==.
3f477a6218 Consolidated CHANGELOG entry for 2.3.0.
2019-04-22 21:54:21 -07:00
Dan Field
0523870e0b
Add tests from framework (#8692) 2019-04-22 16:39:00 -07:00
Jason Simmons
ed1f3fd99f
Change Vertices.indices to use a Uint16 list to more accurately reflect Skia's API (#8657)
Also throw if SkVertices::Builder reports an invalid configuration.

Fixes https://github.com/flutter/flutter/issues/31270
2019-04-22 16:13:22 -07:00
Dan Field
4f2fd84cbc
Revert Rect/RRect 64 bit (#8690)
* Revert "fix toString (#8688)"

This reverts commit 9fa7336784b56ef70fd3580ac54d2939d1faa5a0.

* Revert "Make Rect and RRect use 64 bit doubles, and make them const-able (#8565)"

This reverts commit c12315273f6344175dae748ec1f23e15b4e7d59e.
2019-04-22 15:45:59 -07:00
Chinmay Garde
6dc5dcad32
Revert "Remove unused Settings::ToString. (#8642)" (#8689)
This reverts commit 4ead9c8f99d417c13bc8c51e6e90c66ec52045b6.

Reland tracked in https://github.com/flutter/flutter/issues/31433.
2019-04-22 14:31:33 -07:00
Dan Field
9fa7336784
fix toString (#8688) 2019-04-22 14:12:31 -07:00
Dan Field
c12315273f
Make Rect and RRect use 64 bit doubles, and make them const-able (#8565)
* Make Rect and RRect 64bit and const-able
2019-04-22 12:58:48 -07:00
skia-flutter-autoroll
934772dd87
Roll src/third_party/skia a76fad2d494a..731ba99a8581 (20 commits) (#8686)
https://skia.googlesource.com/skia.git/%2Blog/a76fad2d494a..731ba99a8581

git log a76fad2d494af8bde8c3fb34a2de2b359beebab1..731ba99a8581cb81978e8217d210309880558b09 --date=short --no-merges --format=%ad %ae %s
2019-04-22 mtklein@google.com deshard NP and N7 CPU test bots
2019-04-22 mtklein@google.com Revert &#34;simplify and centralize SK_API&#34;
2019-04-22 robertphillips@google.com Add explicit GrSurfaceProxy flag to skip explicit resource allocation (take 2)
2019-04-22 mtklein@google.com remove duplicate SkBase64.h
2019-04-22 mtklein@google.com rm src/compute
2019-04-22 borenet@google.com [docs] Update documentation for branching process
2019-04-11 mtklein@google.com simplify and centralize SK_API
2019-04-22 egdaniel@google.com Fully add back old GrContext flush api.
2019-04-15 mtklein@google.com add constexpr constructor to SkMatrix
2019-04-22 egdaniel@google.com Update comment on vulkan allocator.
2019-04-22 egdaniel@google.com Add back deprecated GrCotnext flush API till clients get fixed.
2019-04-19 brianosman@google.com Add SkSL viewing/editing to viewer
2019-04-22 mtklein@google.com Revert &#34;Add explicit GrSurfaceProxy flag to skip explicit resource allocation&#34;
2019-04-22 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update go_deps asset
2019-04-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 145ec7fa7c81..c467f7b54188 (4 commits)
2019-04-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader a16238df3f28..bcc71a322953 (7 commits)
2019-04-22 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src a55917cb9824..3ed0f75776bb (344 commits)
2019-04-21 reed@google.com use portable typeface for new gm
2019-04-21 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update SKP version
2019-04-21 rmistry@google.com Skip __init__.py in webpages_playback.py

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (mtklein@google.com), and stop
the roller if necessary.
2019-04-22 15:27:24 -04:00
Gary Qian
ea28bfa13e
Custom RTL handling for ghost runs, NotoNaskhArabic test font (#8683)
Relands #8638
2019-04-22 11:09:43 -07:00
liyuqian
1c9457cedc
Revert "Only allow mappings for ICU initialization. (#8656)" (#8682)
This reverts commit bd8c5b135e4d41842d0d5d42ff4943a18b8f4f0c.

Reverts flutter/engine#8656

Reason:  https://github.com/flutter/engine/pull/8656 seems to break the framework windows tests and the engine roll (see https://cirrus-ci.com/task/4704667236827136 and https://github.com/flutter/flutter/pull/31330). The failure has been consistent for 7 consecutive engine-to-framework auto-rolls.

TBR: @chinmaygarde
2019-04-22 10:28:54 -07:00
liyuqian
b4ed3039fa
Revert "RTL handling for ghost runs, NotoNaskhArabic test font (#8638)" (#8681)
This reverts commit 6e79dcd0cfd9df08b4240a5aa158659c34e4154f.

Reverts flutter/engine#8638

Reason: flutter/engine#8638 breaks the post-submit Cirrus tests. See https://cirrus-ci.com/build/5143341531398144 and subsequent post-submit failures. Specifically, ParagraphTest.RightAlignParagraph is failing.

TBR: @GaryQian
2019-04-22 10:18:32 -07:00
Stanislav Baranov
8b5f77630f
Remove support for downloading dynamic patches. (#8663) 2019-04-22 09:05:06 -07:00
liyuqian
1bcb96bf3d
Add framework test in engine presubmit checks (#8664)
With this, no Skia or Dart roll (or any other engine commit) would accidentally break the framework.

For commits that require manual engine-to-framework rolls, the `build_and_test_host` test would fail. In such cases, the author should explicitly mention **"merge on red as the failure is expected; the engine will be manually rolled into the framework"**.
2019-04-21 11:04:37 -07:00
Gary Qian
6e79dcd0cf
RTL handling for ghost runs, NotoNaskhArabic test font (#8638) 2019-04-21 00:30:53 -07:00
skia-flutter-autoroll
c37d459819
Roll src/third_party/skia 1c0b05afdef8..a76fad2d494a (4 commits) (#8665)
https://skia.googlesource.com/skia.git/%2Blog/1c0b05afdef8..a76fad2d494a

git log 1c0b05afdef8c0366926d3a5cdbe828ff122cfe2..a76fad2d494af8bde8c3fb34a2de2b359beebab1 --date=short --no-merges --format=%ad %ae %s
2019-04-21 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update go_deps asset
2019-04-20 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update go_deps asset
2019-04-18 jvanverth@google.com Add Metal support for dynamic buffers.
2019-04-19 reed@google.com Add secret draw-behind method

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (mtklein@google.com), and stop
the roller if necessary.
2019-04-21 02:15:49 -04:00
Chinmay Garde
2e4f0a4a72
Put the testing lib in the flutter namespace. (#8661) 2019-04-20 20:42:46 -07:00
Chinmay Garde
1239df96aa
Allow native bindings in secondary isolates. (#8658)
The callbacks can be wired in via the Settings object. Both runtime and shell unit-tests have been patched to test this.
2019-04-19 17:36:36 -07:00
Matthew Dempsky
b0cbce4175 Replace ThreadLocal with ThreadLocalUniquePtr<T> (#8659)
Fixes https://github.com/flutter/flutter/issues/31292.
2019-04-19 17:33:46 -07:00
Chinmay Garde
bd8c5b135e
Only allow mappings for ICU initialization. (#8656)
If the mapping callback is not set or it the callback returns invalid data, ICU initialization will be embedder responsibility.

This affects all embedders and the following have been audited:
* Android: Via a symbol mapping.
* iOS: Via a file mapping.
* Embedder: Via a file mapping.
* Fuchsia: Via a VMO mapping
* Test shells and Flutter tester: Via file mapping with ICU data needing to be next to the executable.
2019-04-19 15:01:40 -07:00
skia-flutter-autoroll
206cab6e70
Roll src/third_party/skia cc5d3e09e394..1c0b05afdef8 (14 commits) (#8654)
https://skia.googlesource.com/skia.git/%2Blog/cc5d3e09e394..1c0b05afdef8

git log cc5d3e09e39410841ba6e8866680257a92ee5205..1c0b05afdef8c0366926d3a5cdbe828ff122cfe2 --date=short --no-merges --format=%ad %ae %s
2019-04-19 bsalomon@google.com SkClipStack::isRRect succeeds if stack is  an intersection of rects.
2019-04-17 csmartdalton@google.com ccpr: Calculate edge coverage in the coverage processor
2019-04-19 ethannicholas@google.com Fixed internal skslc error with negated literal vectors
2019-04-19 egdaniel@google.com Adjust vulkan memory allocation block size knobs to better match the type of draws we do.
2019-04-17 ethannicholas@google.com reworked SPIR-V binary operations and added support for VectorTimesScalar
2019-04-19 robertphillips@google.com Add explicit GrSurfaceProxy flag to skip explicit resource allocation
2019-04-19 halcanary@google.com SkQP: new docker test code
2019-04-19 ethannicholas@google.com fixed Metal code generation for recursive functions
2019-04-19 michaelludwig@google.com Don&#39;t batch across domain modes in GrTextureOp
2019-04-19 brianosman@google.com Convexity checker: Wait for significant x-product when walking edges
2019-04-19 michaelludwig@google.com Update compositing benchmark to use image-set API
2019-04-18 csmartdalton@google.com ccpr: Indicate path fill type by winding direction of cover triangles
2019-04-19 ethannicholas@google.com added error detection for writing to a constant swizzle mask
2019-04-19 kjlubick@google.com [spec] Initial commit for web spec

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-19 16:43:24 -04:00
Chinmay Garde
1fe3279149
Cleanup references to FLX archives from the engine. (#8653) 2019-04-19 12:49:07 -07:00
Chinmay Garde
6257dfeb53
Add factory methods to FileMapping that make it easy to create common mappings. (#8652)
The GetMapping calls removed in this patch had the same code and had to be repeated across different test harnesses as well as in dart_snapshot.cc. Just make this a factory method so the code is less verbose.
2019-04-19 12:48:53 -07:00
Vyacheslav Egorov
5fed725202
Roll buildroot to 380d0ed5c3399d5a2aaac4a66d98e3a3fda77c31 (#8649)
380d0ed Build host Dart binary with -march=core2 on Mac OS X. (#235)
2019-04-19 19:48:51 +02:00
skia-flutter-autoroll
eaa0e9c706
Roll src/third_party/skia e5763787f920..cc5d3e09e394 (3 commits) (#8651)
https://skia.googlesource.com/skia.git/%2Blog/e5763787f920..cc5d3e09e394

git log e5763787f920c0c3a30527a596a6c207eb1b220b..cc5d3e09e39410841ba6e8866680257a92ee5205 --date=short --no-merges --format=%ad %ae %s
2019-04-19 ethannicholas@google.com Revert &#34;Revert &#34;added more SPIR-V RelaxedPrecision decorations&#34;&#34;
2019-04-19 reed@google.com use char-to-glyph cache in freetype typeface
2019-04-19 brianosman@google.com Remove SK_TREAT_COLINEAR_DIAGONAL_POINTS_AS_CONCAVE

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-19 13:15:04 -04:00
Chinmay Garde
7e37080ec0
Allow specifying the Mac SDK path as an environment variable to //flutter/tools/gn (#8643)
As long as the Mac SDK is i386 ready, engine developers should be able to use the latest version of Xcode to build all artifacts. This issue goes away when gen_snapshot migrates to x64.
2019-04-19 10:01:44 -07:00
skia-flutter-autoroll
30c23e6042
Roll src/third_party/skia e8a33ec6d084..e5763787f920 (1 commits) (#8650)
https://skia.googlesource.com/skia.git/%2Blog/e8a33ec6d084..e5763787f920

git log e8a33ec6d084fef3200eb8732b453734f4b391ca..e5763787f920c0c3a30527a596a6c207eb1b220b --date=short --no-merges --format=%ad %ae %s
2019-04-17 robertphillips@google.com Allow GrShadowRRectOp::Make to fail

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-19 09:45:51 -04:00
skia-flutter-autoroll
8f0af31ecb
Roll src/third_party/skia 8cdae55bf1ac..e8a33ec6d084 (3 commits) (#8648)
https://skia.googlesource.com/skia.git/%2Blog/8cdae55bf1ac..e8a33ec6d084

git log 8cdae55bf1ac0270b8f7c92f131ec9a18957e84d..e8a33ec6d084fef3200eb8732b453734f4b391ca --date=short --no-merges --format=%ad %ae %s
2019-04-19 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update go_deps asset
2019-04-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 82bcffa78747..145ec7fa7c81 (10 commits)
2019-04-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader abaecd5f2ba7..a16238df3f28 (12 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-19 04:28:24 -04:00
skia-flutter-autoroll
25c33dc9d5
Roll src/third_party/skia 9b67802a4cd0..8cdae55bf1ac (1 commits) (#8647)
https://skia.googlesource.com/skia.git/%2Blog/9b67802a4cd0..8cdae55bf1ac

git log 9b67802a4cd01fbbe5fcbe9f4117ff68e7b8e751..8cdae55bf1ac0270b8f7c92f131ec9a18957e84d --date=short --no-merges --format=%ad %ae %s
2019-04-19 skia-autoroll@skia-public.iam.gserviceaccount.com Roll ../src f968f64cdf27..a55917cb9824 (433 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-19 00:58:24 -04:00
Chinmay Garde
1e5f59d4f6
Reland "Remove DartSnapshotBuffer and dry up snapshot resolution logic". (#8645)
This reverts commit 0fcfa0df2aa19947ad73882ab4fb24fc9124e47b.
Windows depends on referencing the snapshot symbols directly instead of
via dlsym. Something in the way these symbolsa are generated in
bin_to_assembly.py is causing them to be inaccessible at runtime.
2019-04-18 18:54:43 -07:00
Chinmay Garde
4ead9c8f99
Remove unused Settings::ToString. (#8642)
This was used in some embedder implementations. But that was a while ago.
2019-04-18 18:54:06 -07:00
Ben Konyi
ca31a7c57b
Disable auth codes for Observatory test (#8646) 2019-04-18 17:46:32 -07:00
Matthew Dempsky
4688dc7700 Remove unnecessary DartIO::EntropySource wrapper (#8635) 2019-04-18 17:15:04 -07:00
Chinmay Garde
0fcfa0df2a
Revert "Remove DartSnapshotBuffer and dry up snapshot resolution logic. (#8640)" (#8644)
This reverts commit 905ddb6ca9f9dcb6b1a7cea67d502da094867623.
2019-04-18 16:46:03 -07:00
Ben Konyi
9a53f5f79a
Roll src/third_party/dart 7b9ab9f353..cf4444b803 (44 commits) (#8639)
cf4444b803 Revert "[ VM / Service ] Temporarily disable VM service auth codes by default"
f8491950fe Create List<TypeParameterElement>, not Impl.
fa7485f28e Build types for not simply bounded elements using dynamic type arguments.
9d376de55a [vm] Remove code collection.
0c0e49cd11 update keyword list to include "late" modifier
3cf3e4edde [dart/vm] Reduce trip count of osr test
503e20946c [vm] Start logging if shutdown takes too long.
2b9f968d2f Convert engine.dart to triple-slash comment style
73b917c014 [vm/compiler] Do not generate unnecessary field length guards
20fde9a6a8 Don't overwrite inherited types of fields with types of initializers.
e6e2a196a3 Issue 36667. Check for unresolved URI in getLibraryByUri().
6ac38a926c The synthetic default constructor should have reference.
92729e0cd3 Remove UndefinedTypeImpl.
cf77b82f52 [analyzer] handle youtube and animation dartdoc directives
6384f629c0 new conflicting-modifiers error code
f3703c1bce change "late" from built-in to keyword
af9c01432c Remove unused import
7b6b8f8c43 Restore 'parameters' and 'typeParameters' for ParameterElementImpl.
bc58bf598e Add summary serialization support for nullability suffixes.
8093f73424 [vm/dbc] Add UNREACHABLE() stubs to simulator_dbc.cc in 32-bit mode to make 32-build work
336fc9001c Fix for getting type of a DefaultFormalParameter during building types.
e93c6b7ce1 Add AST representation of the late keyword
43eebea5a3 [kernel_worker] retry on failure
284a299543 Fix mustCallSuper for mixins; fixes #36492
5a824581b7 Read directive annotations before returning offset.
703ccc974b Support for TypeParameter metadata.
242ed77040 Fix for FormalParameter without name.
92dd37081d Write / read Annotation element.
d8a0d68bd6 Rename devcompiler to ddc
6d91643073 [vm, interpreter] Handle closure case of invoke-field-dispatchers as bytecode.
b8a9711489 Update AstBuilder to handle "required" modifier
ca28e2c8ce forward "required" modifier to parser listeners
250d931ecc When URI cannot be resolved, the library is null.
2491767a33 Use correct CompilationUnitElement for annotations.
4ef18fdb96 Fix nameOffset for Export/ImportElement.
7873dbdc1d Fix for duplicate declarations.
38049f3cb6 [vm, interpreter] Handle implicit static getters as bytecode.
714a082a5d Minimal integration of summary2 into AnalysisDriver.
dd3530450d make "late" and "required" builtin keywords
836efd6520 Add a language_2 test for having an invalid type in an on clause
81e554ea43 parse "required" modifier for NNBD
1eab04ed3f Reland "[VM-debugger] resolve column breakpoint tokenposition into a single value"
ec27b09e68 [vm, service] Fix deferral of service extension invocation to not be mislead by other OOB messages.
1e30bb90dc [vm/dbc] Support unboxed Int64 on DBC
2019-04-18 16:21:48 -07:00
skia-flutter-autoroll
3387dc4808
Roll src/third_party/skia 067861e14821..9b67802a4cd0 (6 commits) (#8641)
https://skia.googlesource.com/skia.git/%2Blog/067861e14821..9b67802a4cd0

git log 067861e1482118dd7071c931a90127c5ca0c9b21..9b67802a4cd01fbbe5fcbe9f4117ff68e7b8e751 --date=short --no-merges --format=%ad %ae %s
2019-04-19 martin@mainframe.co.uk Properly retrieve memory block in SkTextUtils
2019-04-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-04-18 halcanary@google.com SkPDF: move type1 font code into single file
2019-04-18 csmartdalton@google.com Swap front and back stencil sides when rendering bottom-left
2019-04-18 bsalomon@google.com Swap x/y radii for EllipticalRRectOp depending on matrix.
2019-04-18 halcanary@google.com SkQP: consolidate cut_release scripts

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-18 19:21:24 -04:00
Chinmay Garde
905ddb6ca9
Remove DartSnapshotBuffer and dry up snapshot resolution logic. (#8640)
Fixes https://github.com/flutter/flutter/issues/26782.
2019-04-18 16:01:19 -07:00
Ben Konyi
3e597e1de3
Enable VM service authentication codes by default (#8594) 2019-04-18 14:17:25 -07:00
liyuqian
d79eb2857d
Generate layer unique id for raster cache key (#8637)
The raw pointer isn't a reliable id as the allocator can reuse an
address that's just been released for another layer.

This will fix Fuchsia bug FL-216.

This problem was not affecting non-Fuchsia Flutter probably because
non-Fuchsia Flutter purges the raster cache key much more frequently so
we won't see a key collision. In Fuchsia, as the key has to wait for the
Vulkan surface to render asynchronously, this suddenly becomes an issue.
2019-04-18 14:14:06 -07:00
skia-flutter-autoroll
c3bc5d8dc7
Roll src/third_party/skia 2c2240f66805..067861e14821 (6 commits) (#8636)
https://skia.googlesource.com/skia.git/%2Blog/2c2240f66805..067861e14821

git log 2c2240f66805ac852507f7eea010c153b42485e3..067861e1482118dd7071c931a90127c5ca0c9b21 --date=short --no-merges --format=%ad %ae %s
2019-04-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-04-18 recipe-mega-autoroller@chops-service-accounts.iam.gserviceaccount.com Roll recipe dependencies (trivial).
2019-04-18 reed@google.com remove experimental from some APIs (that are no longer experiments)
2019-04-18 michaelludwig@google.com Fix quad type detection from SkPoint array
2019-04-18 brianosman@google.com Remove the axis-aligned vector special case to convexity checker
2019-04-18 ethannicholas@google.com fixed assertion failure in skslc SPIR-V output

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-18 15:51:24 -04:00
Chinmay Garde
c6400e2c25
Merge runtime lifecycle unittests into the base test target. (#8634)
`//flutter/runtime: runtime_lifecycle_unittests` was added because the these assumed that there was no VM already running in the process. Running other tests in the base target would mess up that assumption. Now that all test targets have been updated to make sure the VM instance does not leak, the tests in this target can be merged.

LUCI bots don’t need to be patched as these tests were only ever run on the trybots.
2019-04-18 12:15:45 -07:00
Ben Konyi
763bbca0cc
Add support for authentication codes via MDNS on iOS (#8625) 2019-04-18 12:12:29 -07:00
Chinmay Garde
57f8abb73f
Avoid leaking the VM in the shell unittests and assert VM state in existing tests. (#8628) 2019-04-18 11:32:33 -07:00
liyuqian
edef8bb8b3
Reland elevation test (#8633)
Reland "Add a unit test for PhysicalShapeLayer (#8616)"

This reverts commit 91b71070f55ffc38c432babc7d9bb68ac2720d8d.

The only change is the namespace.
2019-04-18 10:56:24 -07:00
Jason Simmons
4b9966f5cb
Add an adjustment to the line width check in LineBreaker::addWordBreak (#8623)
currentLineWidth is the width passed into Paragraph layout, which comes
from the maxIntrinsicWidth returned by a previous call to Paragraph layout.
That width is calculated by Layout::measureText.

postBreak is calculated from the character widths in the LineBreaker.

A slight mismatch between these two widths may unnecessarily cause the
insertion of desperate breaks in addWordBreak.  Adding some slack to
currentLineWidth works around this.

Fixes https://github.com/flutter/flutter/issues/30347
2019-04-18 09:44:22 -07:00
skia-flutter-autoroll
60bb866ceb
Roll src/third_party/skia a94670bd08cd..2c2240f66805 (2 commits) (#8632)
https://skia.googlesource.com/skia.git/%2Blog/a94670bd08cd..2c2240f66805

git log a94670bd08cd52a19bf72223d63e2cc808b6b057..2c2240f66805ac852507f7eea010c153b42485e3 --date=short --no-merges --format=%ad %ae %s
2019-04-17 bungeman@google.com Make more SkTypeface virtuals pure.
2019-04-18 borenet@google.com [infra] Fixes for chrome_release_branch

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-18 12:24:24 -04:00
Justin McCandless
a144f17aee
Tight Paragraph Width (#8530)
Calculate and expose paragraph tightWidth to the framework to allow drawing Text based on this.
2019-04-18 09:08:41 -07:00
Justin McCandless
06fea14e58
Glitchiness with Tab Characters (#8591)
Fix a bug that caused jumping and flashing when entering tab characters into a TextField.
2019-04-18 08:16:07 -07:00
skia-flutter-autoroll
b6787096a2
Roll src/third_party/skia 847d55be4e62..a94670bd08cd (1 commits) (#8631)
https://skia.googlesource.com/skia.git/%2Blog/847d55be4e62..a94670bd08cd

git log 847d55be4e6273fc3cd9c0b30c7bfc8a2d6575b7..a94670bd08cd52a19bf72223d63e2cc808b6b057 --date=short --no-merges --format=%ad %ae %s
2019-04-18 hcm@google.com Update Skia milestone to 76

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-18 08:52:24 -04:00
skia-flutter-autoroll
3e6dc02ad6
Roll src/third_party/skia ced2b79d00f9..847d55be4e62 (3 commits) (#8630)
https://skia.googlesource.com/skia.git/%2Blog/ced2b79d00f9..847d55be4e62

git log ced2b79d00f9370cbd874d1462757b554655648f..847d55be4e6273fc3cd9c0b30c7bfc8a2d6575b7 --date=short --no-merges --format=%ad %ae %s
2019-04-18 skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com Update go_deps asset
2019-04-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/angle2 c832cdd75f75..82bcffa78747 (7 commits)
2019-04-18 skia-autoroll@skia-public.iam.gserviceaccount.com Roll third_party/externals/swiftshader 84c3a94e1450..abaecd5f2ba7 (6 commits)

The AutoRoll server is located here: https://autoroll.skia.org/r/skia-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff (herb@google.com), and stop
the roller if necessary.
2019-04-18 04:41:24 -04:00