17407 Commits

Author SHA1 Message Date
Chinmay Garde
5285acbdf2 Add case necessary on 32-bit arm builds. (flutter/engine#79)
Offset is a uint64_t that needs a cast.
2022-04-27 15:57:33 -07:00
Chinmay Garde
bdf452ec7f Fix issues with constexpr correctness. (flutter/engine#77)
Some like std::abs are not available till C++23. The others were
real warnings.
2022-04-27 15:57:33 -07:00
Brandon DeRosier
9f1bc52214 Add remaining additive blends (flutter/engine#76) 2022-04-27 15:57:33 -07:00
Chinmay Garde
39c77c422f Fix loop-range-construct warnings added in newer versions of Clang. (flutter/engine#75) 2022-04-27 15:57:33 -07:00
Chinmay Garde
ecdb8e869b Only depend on FML for tracing when building executables. (flutter/engine#72)
Otherwise, depending on Impeller will cause an explicit dependency on
whatever VM variant :libdart picks. And, some other unit-test in the
engine explicitly link in the JIT variant which leads to duplicate
symbol errors in profile and release modes.
2022-04-27 15:57:33 -07:00
Chinmay Garde
0cef8082c3 Fix diagnostic on iOS simulators. (flutter/engine#71) 2022-04-27 15:57:33 -07:00
Chinmay Garde
0648a2a261 Document GN rules and make targets that cannot be built on the platform be no-ops. (flutter/engine#70) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
c89c9b9585 Chainable texture filters (flutter/engine#67) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
d0e290089d Correct default blend mode, fix solid stroke shader to respect premultiplied source colors (flutter/engine#69) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
f3ff1c9220 Hack to prevent back-to-back playground tests from hanging (flutter/engine#68) 2022-04-27 15:57:33 -07:00
Chinmay Garde
90f6df0cdc Fix top-level build group to not include the compiler and fixup headers. (flutter/engine#66)
Targets in the engine had to individually depend on each sub-target in Impeller when all they cared about was all the client libs. The compiler is a build time implicit dependency. So that has been removed from the top-level group.

Also fixed all the headers so that TUs within Impeller don't care about where Impeller itself sits in the source tree.
2022-04-27 15:57:33 -07:00
Dan Field
21f06276ec [tessellator]Expose and document smoothing approximation via the C/Dart API. Minor refactor of tessellator to supply fill type to method rather than to object. (flutter/engine#65) 2022-04-27 15:57:33 -07:00
dependabot[bot]
bf9e13678c Bump actions/checkout from 2.4.0 to 3 (flutter/engine#50)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2.4.0 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](ec3a7ce113...a12a3943b4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 15:57:33 -07:00
dependabot[bot]
5b560c7798 Bump actions/upload-artifact from 2.3.1 to 3 (flutter/engine#54)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.1 to 3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](82c141cc51...6673cd052c)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 15:57:33 -07:00
Brandon DeRosier
34e8a9c807 Correct polyline bounds test (flutter/engine#64) 2022-04-27 15:57:33 -07:00
Chinmay Garde
615d4e8413 Add a script that checks that all source files have a valid license block. (flutter/engine#63)
Also fixes the files with missing licenses. This check is somewhat easy with
Impeller than in the engine because all source files must have the same license
block.

Resolves an action item in the umbrella issue https://github.com/flutter/flutter/issues/97686.
2022-04-27 15:57:33 -07:00
Chinmay Garde
ce3148e2ec Move impeller::Comparable to //impeller/base. (flutter/engine#62)
Just some minor cleanup. Fixes https://github.com/flutter/flutter/issues/98686.
2022-04-27 15:57:33 -07:00
Chinmay Garde
fec775c42b Add LICENSE file. (flutter/engine#61)
Matches the one in the engine exactly as described in the [umbrella issue](https://github.com/flutter/flutter/issues/97686).
2022-04-27 15:57:33 -07:00
Dan Field
45f8edd2a7 Make Path::Polyline::GetContourPointBounds safe for OOB (flutter/engine#60) 2022-04-27 15:57:33 -07:00
Dan Field
6fc72b98a7 Remove FML dependency on geometry, tessellator (flutter/engine#59)
* Remove FML dependency on geometry, tessellator

* update readme
2022-04-27 15:57:33 -07:00
dependabot[bot]
fe71a72fbf Bump github/codeql-action from 1.1.3 to 1.1.4 (flutter/engine#58)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](75f07e7ab2...f5d822707e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 15:57:33 -07:00
Brandon DeRosier
c3b3dc77c3 Add pipeline blend modes & demo (flutter/engine#55) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
7b08462a43 Add color premultiply/unpremultiply (flutter/engine#57) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
d27968af0a Fix ScalarNearlyEqual test (flutter/engine#56) 2022-04-27 15:57:33 -07:00
Dan Field
075872789a Expose C API for tessellator, move to own subdir (flutter/engine#18) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
a8df85911f Move Contents classes into separate translation units (flutter/engine#53) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
5113ef0c3d Add round caps and joins (flutter/engine#52) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
36ae1bc38e Add miter join (flutter/engine#49) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
7c6aeace61 Point: Add reflect and make scalar ops more flexible (flutter/engine#51) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
a14812c9e8 Add square cap (flutter/engine#48) 2022-04-27 15:57:33 -07:00
Chinmay Garde
f5f03da988 Avoid depending on STB in //flutter/impeller/image. (flutter/engine#47) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
85f5829abb Setup join/cap proc (flutter/engine#45) 2022-04-27 15:57:33 -07:00
Chinmay Garde
7cc6c2588a Account for updated macro name in //flutter/fml/build_config.h (flutter/engine#44) 2022-04-27 15:57:33 -07:00
Chinmay Garde
34af9e57f1 Relay text color from Paint. (flutter/engine#43) 2022-04-27 15:57:33 -07:00
Chinmay Garde
8eec77df35 Account for glyph extents in the atlas. (flutter/engine#42) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
b279ee5d8e Remove break corner cases, simplify strokes, and generate closed path joins (flutter/engine#41) 2022-04-27 15:57:33 -07:00
dependabot[bot]
01b5dd56dc Bump github/codeql-action from 1.0.26 to 1.1.3 (flutter/engine#39)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 1.0.26 to 1.1.3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](5f53256358...75f07e7ab2)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 15:57:33 -07:00
Brandon DeRosier
ccf38794da Fix license to make the license script happy (flutter/engine#37) 2022-04-27 15:57:33 -07:00
dependabot[bot]
201a9c378d Bump ossf/scorecard-action from 1.0.3 to 1.0.4 (flutter/engine#40)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Commits](b614d455ee...c1aec4ac82)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 15:57:33 -07:00
godofredoc
e3239612a8 Remove schedule runs of scorecards. (flutter/engine#38)
This will also add dependabot to auto update the workflows dependencies.

Bug: https://github.com/flutter/flutter/issues/99185
2022-04-27 15:57:33 -07:00
Chinmay Garde
1c21164f30 Add //impeller/typographer. (flutter/engine#36)
Renders shaped text frames. Has the ability to plug into to different text
shapers and render glyphs using different techniques.

For now, the Aiks layer expects a prepared glyph atlas. But this will be changed
so that render pass will be responsible for preparing these and setting these on
the content renderer after pass consolidation.
2022-04-27 15:57:33 -07:00
Brandon DeRosier
106ef2d16e Handle all corner cases for stroke geometry, add bevel join & cap/join enums (flutter/engine#35) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
0b707db40b Remove duplicate points between connected components when generating polylines (flutter/engine#34) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
dd40a0e078 Add dot and cross product to Point (flutter/engine#33) 2022-04-27 15:57:33 -07:00
Dan Field
2132a0a1b9 Fix MoveTo for fills (flutter/engine#32) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
8f32a7d961 Add immediate mode manipulator widget macros for the playground (flutter/engine#28) 2022-04-27 15:57:33 -07:00
Dan Field
9ab707bf74 Support subcontours in strokes, lay groundwork for fills (flutter/engine#31) 2022-04-27 15:57:33 -07:00
Jim Graham
3c58878bbc adopt new DlAttributeType enum naming (flutter/engine#30) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
1b50769d71 Add entity playground callback (flutter/engine#27) 2022-04-27 15:57:33 -07:00
Brandon DeRosier
55b7b49549 Add assignment operators to point (flutter/engine#26) 2022-04-27 15:57:33 -07:00