Skip to content

Commit

Permalink
[Impeller] move aiks text tests to DL. (flutter#54293)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahwilliams authored Aug 8, 2024
1 parent 97378d1 commit 0a8de3d
Show file tree
Hide file tree
Showing 8 changed files with 953 additions and 825 deletions.
1 change: 1 addition & 0 deletions ci/licenses_golden/excluded_files
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
../../../flutter/impeller/display_list/aiks_dl_opacity_unittests.cc
../../../flutter/impeller/display_list/aiks_dl_path_unittests.cc
../../../flutter/impeller/display_list/aiks_dl_runtime_effect_unittests.cc
../../../flutter/impeller/display_list/aiks_dl_text_unittests.cc
../../../flutter/impeller/display_list/aiks_dl_unittests.cc
../../../flutter/impeller/display_list/aiks_dl_vertices_unittests.cc
../../../flutter/impeller/display_list/dl_golden_blur_unittests.cc
Expand Down
2 changes: 2 additions & 0 deletions display_list/dl_color.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ struct DlColor {
static constexpr DlColor kMaroon() {return DlColor(0xFF800000);};
static constexpr DlColor kSkyBlue() {return DlColor(0xFF87CEEB);};
static constexpr DlColor kCornflowerBlue() {return DlColor(0xFF6495ED);};
static constexpr DlColor kCrimson() {return DlColor(0xFFFF5733);};
static constexpr DlColor kAqua() {return DlColor(0xFF00FFFF);};
// clang-format on

constexpr bool isOpaque() const { return getAlpha() == 0xFF; }
Expand Down
Loading

0 comments on commit 0a8de3d

Please sign in to comment.