Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

[Impeller] Refactor ColorSource resolution to use explicit factory types #37656

Merged
merged 1 commit into from
Nov 16, 2022

Conversation

bdero
Copy link
Member

@bdero bdero commented Nov 16, 2022

This couples the type enum and resolution logic for color sources into explicit factories with the intention of making ColorSource-related bugs easier to avoid.

  • Wrap DL color sources without Aiks->DisplayList dependencies.
  • Removes some redundant checks in Aiks.
  • Makes setColorSource fanout easier to navigate.

@bdero bdero self-assigned this Nov 16, 2022
@bdero bdero force-pushed the bdero/color-source-factory branch from 39d6fe7 to ccbca74 Compare November 16, 2022 01:51
Copy link
Member

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@bdero bdero force-pushed the bdero/color-source-factory branch from ccbca74 to 0325408 Compare November 16, 2022 06:25
@bdero bdero merged commit 0241f18 into flutter:main Nov 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 16, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 16, 2022
…115423)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)
zanderso added a commit that referenced this pull request Nov 16, 2022
schwa423 pushed a commit to schwa423/engine that referenced this pull request Nov 16, 2022
zanderso added a commit that referenced this pull request Nov 16, 2022
bdero added a commit to bdero/flutter-engine that referenced this pull request Nov 16, 2022
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 16, 2022
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Nov 16, 2022
…115463)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)

* 76e8a9c79 Roll Fuchsia Mac SDK from gKyvwhUS3r6pTRfxx... to uhjeOxDSb9z-mNpGS... (flutter/engine#37667)

* 223e1f092 Roll Skia from 36efebf14ad8 to 4b3d36f36bf3 (1 revision) (flutter/engine#37668)
dnfield added a commit that referenced this pull request Nov 16, 2022
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…lutter#115423)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)
shogohida pushed a commit to shogohida/flutter that referenced this pull request Dec 7, 2022
…lutter#115463)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)

* 76e8a9c79 Roll Fuchsia Mac SDK from gKyvwhUS3r6pTRfxx... to uhjeOxDSb9z-mNpGS... (flutter/engine#37667)

* 223e1f092 Roll Skia from 36efebf14ad8 to 4b3d36f36bf3 (1 revision) (flutter/engine#37668)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#115423)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)
gspencergoog pushed a commit to gspencergoog/flutter that referenced this pull request Jan 19, 2023
…lutter#115463)

* 8e8607124 Roll Skia from cdf8348e6fba to 36efebf14ad8 (4 revisions) (flutter/engine#37665)

* 0241f18cb [Impeller] Refactor color source resolution to use explicit factory types (flutter/engine#37656)

* 76e8a9c79 Roll Fuchsia Mac SDK from gKyvwhUS3r6pTRfxx... to uhjeOxDSb9z-mNpGS... (flutter/engine#37667)

* 223e1f092 Roll Skia from 36efebf14ad8 to 4b3d36f36bf3 (1 revision) (flutter/engine#37668)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants