[//ui] Introduce DisplayColorSpaces constructor taking in SIFormat [chromium/src : main]

0 views
Skip to first unread message

Colin Blundell (Gerrit)

unread,
Sep 26, 2025, 8:17:56 AM (11 days ago) Sep 26
to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
Attention needed from Dave Tapuska and Sylvain Defresne

Colin Blundell added 1 comment

Patchset-level comments
File-level comment, Patchset 2:
Colin Blundell . resolved

Hi Dave,

Would you be able to advise on the best way to mitigate the `analyze` failure on the ios-simulator bot here? It's not obvious to me, and I don't have an iOS build to do any iteration with locally. Thanks!

Dave Tapuska

It looks to me that causing components/viz/common causes components/viz/test:test_support to be hauled in that causes //services/viz to be hauled in and then that hauls in webnn

Colin Blundell

Hi Dave,

Thanks! That makes sense to me, but it's not obvious to me what the best path on eliminating this problem is. The dependency I'm adding here is pretty vanilla. I tried making the //components/viz/service dependency from //components/viz/test:test_support conditional on use_blink, but that just moves the problem to somewhere else. Without an iOS checkout, this will be painful to iterate on.

+Sylvain, would you potentially be able to advise on a path to eliminating the problem that this CL is triggering on the iOS non-Blink build? Thanks!

Colin Blundell

Trying out moving the GN target in question (`shared_image_format`) to its own GN file as a workaround, since its files are in a subdir anyway. If this works I'll split that out to a precursor CL and then it's no longer important to resolve the question about the iOS dependency issue.

Open in Gerrit

Related details

Attention is currently required from:
  • Dave Tapuska
  • Sylvain Defresne
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
Gerrit-Change-Number: 6983155
Gerrit-PatchSet: 4
Gerrit-Owner: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
Gerrit-Attention: Sylvain Defresne <sdef...@chromium.org>
Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
Gerrit-Comment-Date: Fri, 26 Sep 2025 12:17:35 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
Comment-In-Reply-To: Dave Tapuska <dtap...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Colin Blundell (Gerrit)

unread,
Sep 26, 2025, 9:02:19 AM (11 days ago) Sep 26
to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
Attention needed from Dave Tapuska and Sylvain Defresne

Colin Blundell added 1 comment

Patchset-level comments
File-level comment, Patchset 2:
Colin Blundell . unresolved

Hi Dave,

Would you be able to advise on the best way to mitigate the `analyze` failure on the ios-simulator bot here? It's not obvious to me, and I don't have an iOS build to do any iteration with locally. Thanks!

Dave Tapuska

It looks to me that causing components/viz/common causes components/viz/test:test_support to be hauled in that causes //services/viz to be hauled in and then that hauls in webnn

Colin Blundell

Hi Dave,

Thanks! That makes sense to me, but it's not obvious to me what the best path on eliminating this problem is. The dependency I'm adding here is pretty vanilla. I tried making the //components/viz/service dependency from //components/viz/test:test_support conditional on use_blink, but that just moves the problem to somewhere else. Without an iOS checkout, this will be painful to iterate on.

+Sylvain, would you potentially be able to advise on a path to eliminating the problem that this CL is triggering on the iOS non-Blink build? Thanks!

Colin Blundell

Trying out moving the GN target in question (`shared_image_format`) to its own GN file as a workaround, since its files are in a subdir anyway. If this works I'll split that out to a precursor CL and then it's no longer important to resolve the question about the iOS dependency issue.

Colin Blundell

OK, I'm unfortunately a little stuck here. The `shared_image_format` itself has problematic deps (see latest PS), but the target that I'm adding the dep to is needed on iOS non-Blink (see [this CL](https://chromium-review.googlesource.com/c/chromium/src/+/6988211?tab=checks)).

Dave, is there someone on your side who would be able to take a look at this with me to determine a solution? We need to be able to add the dep here as we're in the process of replacing BufferFormat with SharedImageFormat globally in the codebase.

Open in Gerrit

Related details

Attention is currently required from:
  • Dave Tapuska
  • Sylvain Defresne
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 4
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 13:02:03 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 9:12:27 AM (11 days ago) Sep 26
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Dave Tapuska

    Sylvain Defresne added 1 comment

    File ui/gfx/BUILD.gn
    Line 480, Patchset 4 (Latest): "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . unresolved

    This is the line that cause the ios build failure.

    `//ui/gfx` is used on iOS but `//components/viz` is currently not, and cannot be used.

    So this needs to be conditional.

    ```
    if (!is_apple || use_blink) {
    deps += [ "//components/viz/common/resources:shared_image_format" ]
    }
    ```

    If I comment this line `gn gen` pass successfully on iOS.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dave Tapuska
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 4
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 13:12:11 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 9:14:59 AM (11 days ago) Sep 26
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 4 comments

    File ui/gfx/display_color_spaces.h
    Line 68, Patchset 4 (Latest): DisplayColorSpaces(const ColorSpace& color_space,
    Sylvain Defresne . unresolved

    ditto

    Line 13, Patchset 4 (Latest):#include "components/viz/common/resources/shared_image_format.h"
    Sylvain Defresne . unresolved

    This file is currently built on iOS, so you cannot use this dependency unconditionally. This needs to be behind an

    ```
    #if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    ...
    #endif
    ```

    File ui/gfx/display_color_spaces.cc
    Line 16, Patchset 4 (Latest):#include "components/viz/common/resources/shared_image_format_utils.h"
    Sylvain Defresne . unresolved

    ditto

    Line 85, Patchset 4 (Latest):DisplayColorSpaces::DisplayColorSpaces(const ColorSpace& c,
    Sylvain Defresne . unresolved

    ditto

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Colin Blundell
    • Dave Tapuska
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 4
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Colin Blundell <blun...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 13:14:41 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 9:19:53 AM (11 days ago) Sep 26
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 1 comment

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Sylvain Defresne . resolved

    The following patch fixes the compilation for iOS:

    ```
    diff --git i/ui/gfx/BUILD.gn w/ui/gfx/BUILD.gn
    index 44e008037cd27..9f51ef1007fa9 100644
    --- i/ui/gfx/BUILD.gn
    +++ w/ui/gfx/BUILD.gn
    @@ -477,7 +477,6 @@ component("color_space") {
    ]
    }
    deps = [
    - "//components/viz/common/resources:shared_image_format",
    "//skia:skcms",
    "//ui/gfx:buffer_types",
    "//ui/gfx:gfx_switches",
    @@ -485,9 +484,14 @@ component("color_space") {
    ]
    public_deps = [
    "//base",
    + "//build:blink_buildflags",
    "//skia",
    ]

    + if (!is_ios || use_blink) {
    + deps += [ "//components/viz/common/resources:shared_image_format" ]
    + }
    +
    if (is_apple && use_blink) {
    sources += [
    "hdr_metadata_mac.h",
    diff --git i/ui/gfx/display_color_spaces.cc w/ui/gfx/display_color_spaces.cc
    index d86b673c92e24..e183d8d3ef2cb 100644
    --- i/ui/gfx/display_color_spaces.cc
    +++ w/ui/gfx/display_color_spaces.cc
    @@ -12,10 +12,14 @@
    #include <array>
    #include <cmath>

    +#include "build/blink_buildflags.h"
    #include "build/build_config.h"
    -#include "components/viz/common/resources/shared_image_format_utils.h"
    #include "skia/ext/skcolorspace_primaries.h"

    +#if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    +#include "components/viz/common/resources/shared_image_format_utils.h" // nogncheck
    +#endif
    +
    namespace gfx {

    namespace {
    @@ -82,10 +86,12 @@ DisplayColorSpaces::DisplayColorSpaces(const ColorSpace& c, BufferFormat f)
    }
    }

    +#if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    DisplayColorSpaces::DisplayColorSpaces(const ColorSpace& c,
    viz::SharedImageFormat f)
    : DisplayColorSpaces(c,
    viz::SinglePlaneSharedImageFormatToBufferFormat(f)) {}
    +#endif

    void DisplayColorSpaces::SetOutputBufferFormats(
    gfx::BufferFormat buffer_format_no_alpha,
    diff --git i/ui/gfx/display_color_spaces.h w/ui/gfx/display_color_spaces.h
    index 3232b0cfde0f6..dfe1e8015cd56 100644
    --- i/ui/gfx/display_color_spaces.h
    +++ w/ui/gfx/display_color_spaces.h
    @@ -10,13 +10,18 @@
    #include <vector>

    #include "base/memory/ref_counted.h"
    -#include "components/viz/common/resources/shared_image_format.h"
    +#include "build/blink_buildflags.h"
    +#include "build/build_config.h"
    #include "skia/ext/skcolorspace_primaries.h"
    #include "third_party/skia/include/core/SkColorSpace.h"
    #include "ui/gfx/buffer_types.h"
    #include "ui/gfx/color_space.h"
    #include "ui/gfx/color_space_export.h"

    +#if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    +#include "components/viz/common/resources/shared_image_format.h" // nogncheck
    +#endif
    +
    namespace mojo {
    template <class T, class U>
    struct StructTraits;
    @@ -62,11 +67,13 @@ class COLOR_SPACE_EXPORT DisplayColorSpaces {
    // sRGB.
    DisplayColorSpaces(const ColorSpace& color_space, BufferFormat buffer_format);

    +#if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    // Initialize as |color_space| and |format| (which must be single-plane) for
    // all settings. If |color_space| is the default (invalid) color space, then
    // initialize to sRGB.
    DisplayColorSpaces(const ColorSpace& color_space,
    viz::SharedImageFormat format);
    +#endif

    // Set the color space and buffer format for the final output surface when the
    // specified content is being displayed.
    ```
    Gerrit-Comment-Date: Fri, 26 Sep 2025 13:19:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 9:27:04 AM (11 days ago) Sep 26
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 2 comments

    Patchset-level comments
    Sylvain Defresne

    Uploaded the original CL with this patch as https://chromium-review.googlesource.com/c/chromium/src/+/6989210 to confirm this fixes all issues with iOS.

    Sylvain Defresne . resolved

    Re-upl

    Gerrit-Comment-Date: Fri, 26 Sep 2025 13:26:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Sylvain Defresne <sdef...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 26, 2025, 10:04:49 AM (11 days ago) Sep 26
    to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell, Dave Tapuska and Sylvain Defresne

    Colin Blundell voted and added 3 comments

    Votes added by Colin Blundell

    Commit-Queue+1

    3 comments

    Patchset-level comments
    File-level comment, Patchset 5 (Latest):
    Colin Blundell . resolved

    Thanks, Sylvain!

    File ui/gfx/display_color_spaces.h
    Line 68, Patchset 4: DisplayColorSpaces(const ColorSpace& color_space,
    Sylvain Defresne . unresolved

    ditto

    Colin Blundell

    Hmm, but the point here is to get rid of the flows taking in `BufferFormat` over time - introducing usage of `SharedImageFormat` via new flows is just to allow incremental conversion. Am I understanding correctly that `DisplayColorSpaces` is *used* on iOS without Blink, or is it just *built* on iOS without Blink (you might not know offhand of course)?

    Line 13, Patchset 4:#include "components/viz/common/resources/shared_image_format.h"
    Sylvain Defresne . unresolved

    This file is currently built on iOS, so you cannot use this dependency unconditionally. This needs to be behind an

    ```
    #if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    ...
    #endif
    ```

    Colin Blundell

    Thanks! See comment below.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Colin Blundell
    • Dave Tapuska
    • Sylvain Defresne
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 5
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Colin Blundell <blun...@chromium.org>
    Gerrit-Attention: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 14:04:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Sylvain Defresne <sdef...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 10:21:34 AM (11 days ago) Sep 26
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 1 comment

    File ui/gfx/display_color_spaces.h
    Line 68, Patchset 4: DisplayColorSpaces(const ColorSpace& color_space,
    Sylvain Defresne . unresolved

    ditto

    Colin Blundell

    Hmm, but the point here is to get rid of the flows taking in `BufferFormat` over time - introducing usage of `SharedImageFormat` via new flows is just to allow incremental conversion. Am I understanding correctly that `DisplayColorSpaces` is *used* on iOS without Blink, or is it just *built* on iOS without Blink (you might not know offhand of course)?

    Sylvain Defresne

    It is built and the linker does not consider this code as dead.

    ```
    $ nm out/Debug-iphonesimulator/Chromium.app/Chromium|c++filt|grep gfx::DisplayColorSpaces|wc -l
    71
    ```

    Trying to remove the file from the build on iOS leads to linker failures, because the class `DisplayColorSpaces` is used, amongst other by `display::Display` (the linker only reports the first error).

    There is a direct dependency of `//ios/chrome/browser/web/model` on `//ui/display` (which contains `display::Display`) where the iOS code uses `display::ScopedNativeScreen` which returns instances of `display::Display`.

    So this code is really used on iOS.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Colin Blundell
    • Dave Tapuska
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 5
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Colin Blundell <blun...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Fri, 26 Sep 2025 14:21:21 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
    Comment-In-Reply-To: Sylvain Defresne <sdef...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 26, 2025, 10:45:45 AM (11 days ago) Sep 26
    to chromium...@chromium.org, Chromium LUCI CQ, blink-...@chromium.org, cc-...@chromium.org, chromeos-gfx-...@google.com, feature-me...@chromium.org, kinuko...@chromium.org, mac-r...@chromium.org, max+watc...@igalia.com, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, vaapi-...@chromium.org

    Sylvain Defresne abandoned this change

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: abandon
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I79fb4ba6a23c67be406661297ad613ec09406710
    Gerrit-Change-Number: 6989210
    Gerrit-PatchSet: 1
    Gerrit-Owner: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 29, 2025, 5:45:53 AM (8 days ago) Sep 29
    to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Dave Tapuska and Sylvain Defresne

    Colin Blundell added 2 comments

    Patchset-level comments
    Colin Blundell . resolved

    Sylvain, on reflection I still have a question for you. If you're able to provide any insight on it that would be great. Thanks!

    File ui/gfx/BUILD.gn
    Line 480, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . unresolved

    This is the line that cause the ios build failure.

    `//ui/gfx` is used on iOS but `//components/viz` is currently not, and cannot be used.

    So this needs to be conditional.

    ```
    if (!is_apple || use_blink) {
    deps += [ "//components/viz/common/resources:shared_image_format" ]
    }
    ```

    If I comment this line `gn gen` pass successfully on iOS.

    Colin Blundell

    On reflection, I'm still confused about this. The `analyze` error on this PS is the following:

        ERROR at //services/webnn/features.gni:8:1: Assertion failed.
    assert(use_blink)
    ^-----
    See //services/webnn/BUILD.gn:8:1: whence it was imported.
    import("//services/webnn/features.gni")
    ^-------------------------------------
    See //components/viz/service/BUILD.gn:316:5: which caused the file to be included.
    "//services/webnn:webnn_service",

    I can't see how adding the dep here results in `//components/viz/service/BUILD.gn` being pulled in. Is there something obvious I'm missing/some way that I could analyze this question locally via GN? It's definitely not a dep on `//components/viz/service` itself, as that dep goes the other way (i.e., `//components/viz/service` depends on `//ui/gfx:color_space`).
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dave Tapuska
    • Sylvain Defresne
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 5
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Mon, 29 Sep 2025 09:45:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Sylvain Defresne <sdef...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 29, 2025, 5:49:44 AM (8 days ago) Sep 29
    to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Dave Tapuska and Sylvain Defresne

    Colin Blundell added 1 comment

    File ui/gfx/BUILD.gn
    Line 480, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . unresolved

    This is the line that cause the ios build failure.

    `//ui/gfx` is used on iOS but `//components/viz` is currently not, and cannot be used.

    So this needs to be conditional.

    ```
    if (!is_apple || use_blink) {
    deps += [ "//components/viz/common/resources:shared_image_format" ]
    }
    ```

    If I comment this line `gn gen` pass successfully on iOS.

    Colin Blundell

    On reflection, I'm still confused about this. The `analyze` error on this PS is the following:

        ERROR at //services/webnn/features.gni:8:1: Assertion failed.
    assert(use_blink)
    ^-----
    See //services/webnn/BUILD.gn:8:1: whence it was imported.
    import("//services/webnn/features.gni")
    ^-------------------------------------
    See //components/viz/service/BUILD.gn:316:5: which caused the file to be included.
    "//services/webnn:webnn_service",

    I can't see how adding the dep here results in `//components/viz/service/BUILD.gn` being pulled in. Is there something obvious I'm missing/some way that I could analyze this question locally via GN? It's definitely not a dep on `//components/viz/service` itself, as that dep goes the other way (i.e., `//components/viz/service` depends on `//ui/gfx:color_space`).
    Colin Blundell

    To be clear, "this PS" above refers to PS4, where I pulled out `SharedImageFormat` into a standalone BUILD.gn file.

    Gerrit-Comment-Date: Mon, 29 Sep 2025 09:49:33 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 29, 2025, 6:03:38 AM (8 days ago) Sep 29
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 1 comment

    File ui/gfx/BUILD.gn
    Line 480, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . unresolved

    This is the line that cause the ios build failure.

    `//ui/gfx` is used on iOS but `//components/viz` is currently not, and cannot be used.

    So this needs to be conditional.

    ```
    if (!is_apple || use_blink) {
    deps += [ "//components/viz/common/resources:shared_image_format" ]
    }
    ```

    If I comment this line `gn gen` pass successfully on iOS.

    Colin Blundell

    On reflection, I'm still confused about this. The `analyze` error on this PS is the following:

        ERROR at //services/webnn/features.gni:8:1: Assertion failed.
    assert(use_blink)
    ^-----
    See //services/webnn/BUILD.gn:8:1: whence it was imported.
    import("//services/webnn/features.gni")
    ^-------------------------------------
    See //components/viz/service/BUILD.gn:316:5: which caused the file to be included.
    "//services/webnn:webnn_service",

    I can't see how adding the dep here results in `//components/viz/service/BUILD.gn` being pulled in. Is there something obvious I'm missing/some way that I could analyze this question locally via GN? It's definitely not a dep on `//components/viz/service` itself, as that dep goes the other way (i.e., `//components/viz/service` depends on `//ui/gfx:color_space`).
    Colin Blundell

    To be clear, "this PS" above refers to PS4, where I pulled out `SharedImageFormat` into a standalone BUILD.gn file.

    Sylvain Defresne

    The reason this is loaded:

    ```
    Loading //components/viz/common/resources/BUILD.gn (referenced from //ui/gfx/BUILD.gn:480)
    Loading //services/viz/public/mojom/BUILD.gn (referenced from //components/viz/common/resources/BUILD.gn:22)
    Loading //components/viz/common/BUILD.gn (referenced from //services/viz/public/mojom/BUILD.gn:94)
    Loading //components/viz/test/BUILD.gn (referenced from //components/viz/common/BUILD.gn:326)
    Loading //components/viz/service/BUILD.gn (referenced from //components/viz/test/BUILD.gn:104)
    ```

    If `//path1/foo:foo` depends on `//path2/bar:bar`, then it will load `//path2/bar/BUILD.gn` and then process all targets defined in that file and try to load them, even if there is no path between them.

    So if `//path2/bar/BUILD.gn` also defines `//path2/bar:must_not_be_used_on_ios` then it will be loaded and cause this failure.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Colin Blundell
    • Dave Tapuska
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 5
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Colin Blundell <blun...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Mon, 29 Sep 2025 10:03:21 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Sylvain Defresne (Gerrit)

    unread,
    Sep 29, 2025, 6:05:43 AM (8 days ago) Sep 29
    to Colin Blundell, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell and Dave Tapuska

    Sylvain Defresne added 1 comment

    File services/viz/public/mojom/BUILD.gn
    Line 724, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . unresolved

    If you want to split, then you also need to split this target.

    Gerrit-Comment-Date: Mon, 29 Sep 2025 10:05:32 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 29, 2025, 8:12:14 AM (8 days ago) Sep 29
    to Colin Blundell, Sylvain Defresne, AyeAye, Dave Tapuska, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Dave Tapuska

    Colin Blundell added 1 comment

    Patchset-level comments
    Colin Blundell . resolved

    Awesome, thanks Sylvain! I think this should give me what I need to go on. Will loop you back in if I have any further questions.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Dave Tapuska
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 5
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Reviewer: Sylvain Defresne <sdef...@chromium.org>
    Gerrit-Attention: Dave Tapuska <dtap...@chromium.org>
    Gerrit-Comment-Date: Mon, 29 Sep 2025 12:12:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 30, 2025, 5:31:00 AM (7 days ago) Sep 30
    to Colin Blundell, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org

    Colin Blundell added 5 comments

    File ui/gfx/BUILD.gn
    Line 480, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . resolved
    Colin Blundell

    Thank you!

    File ui/gfx/display_color_spaces.h
    Line 68, Patchset 4: DisplayColorSpaces(const ColorSpace& color_space,
    Sylvain Defresne . resolved

    ditto

    Colin Blundell

    Hmm, but the point here is to get rid of the flows taking in `BufferFormat` over time - introducing usage of `SharedImageFormat` via new flows is just to allow incremental conversion. Am I understanding correctly that `DisplayColorSpaces` is *used* on iOS without Blink, or is it just *built* on iOS without Blink (you might not know offhand of course)?

    Sylvain Defresne

    It is built and the linker does not consider this code as dead.

    ```
    $ nm out/Debug-iphonesimulator/Chromium.app/Chromium|c++filt|grep gfx::DisplayColorSpaces|wc -l
    71
    ```

    Trying to remove the file from the build on iOS leads to linker failures, because the class `DisplayColorSpaces` is used, amongst other by `display::Display` (the linker only reports the first error).

    There is a direct dependency of `//ios/chrome/browser/web/model` on `//ui/display` (which contains `display::Display`) where the iOS code uses `display::ScopedNativeScreen` which returns instances of `display::Display`.

    So this code is really used on iOS.

    Colin Blundell

    Acknowledged

    Line 13, Patchset 4:#include "components/viz/common/resources/shared_image_format.h"
    Sylvain Defresne . resolved

    This file is currently built on iOS, so you cannot use this dependency unconditionally. This needs to be behind an

    ```
    #if !BUILDFLAG(IS_IOS) || BUILDFLAG(USE_BLINK)
    ...
    #endif
    ```

    Colin Blundell

    Thanks! See comment below.

    Colin Blundell

    Acknowledged

    File ui/gfx/display_color_spaces.cc
    Line 16, Patchset 4:#include "components/viz/common/resources/shared_image_format_utils.h"
    Sylvain Defresne . resolved

    ditto

    Colin Blundell

    Acknowledged

    Line 85, Patchset 4:DisplayColorSpaces::DisplayColorSpaces(const ColorSpace& c,
    Sylvain Defresne . resolved

    ditto

    Colin Blundell

    Acknowledged

    Open in Gerrit

    Related details

    Attention set is empty
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 9
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Comment-Date: Tue, 30 Sep 2025 09:30:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Colin Blundell (Gerrit)

    unread,
    Sep 30, 2025, 8:43:05 AM (7 days ago) Sep 30
    to Colin Blundell, Vasiliy Telezhnikov, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Vasiliy Telezhnikov

    Colin Blundell added 2 comments

    Patchset-level comments
    File-level comment, Patchset 2:
    Colin Blundell . resolved

    Hi Dave,

    Would you be able to advise on the best way to mitigate the `analyze` failure on the ios-simulator bot here? It's not obvious to me, and I don't have an iOS build to do any iteration with locally. Thanks!

    Dave Tapuska

    It looks to me that causing components/viz/common causes components/viz/test:test_support to be hauled in that causes //services/viz to be hauled in and then that hauls in webnn

    Colin Blundell

    Hi Dave,

    Thanks! That makes sense to me, but it's not obvious to me what the best path on eliminating this problem is. The dependency I'm adding here is pretty vanilla. I tried making the //components/viz/service dependency from //components/viz/test:test_support conditional on use_blink, but that just moves the problem to somewhere else. Without an iOS checkout, this will be painful to iterate on.

    +Sylvain, would you potentially be able to advise on a path to eliminating the problem that this CL is triggering on the iOS non-Blink build? Thanks!

    Colin Blundell

    Trying out moving the GN target in question (`shared_image_format`) to its own GN file as a workaround, since its files are in a subdir anyway. If this works I'll split that out to a precursor CL and then it's no longer important to resolve the question about the iOS dependency issue.

    Colin Blundell

    OK, I'm unfortunately a little stuck here. The `shared_image_format` itself has problematic deps (see latest PS), but the target that I'm adding the dep to is needed on iOS non-Blink (see [this CL](https://chromium-review.googlesource.com/c/chromium/src/+/6988211?tab=checks)).

    Dave, is there someone on your side who would be able to take a look at this with me to determine a solution? We need to be able to add the dep here as we're in the process of replacing BufferFormat with SharedImageFormat globally in the codebase.

    Colin Blundell

    Done

    File services/viz/public/mojom/BUILD.gn
    Line 724, Patchset 4: "//components/viz/common/resources:shared_image_format",
    Sylvain Defresne . resolved

    If you want to split, then you also need to split this target.

    Colin Blundell

    Acknowledged

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Vasiliy Telezhnikov
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
    Gerrit-Change-Number: 6983155
    Gerrit-PatchSet: 9
    Gerrit-Owner: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
    Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Attention: Vasiliy Telezhnikov <vas...@chromium.org>
    Gerrit-Comment-Date: Tue, 30 Sep 2025 12:42:51 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Colin Blundell <blun...@chromium.org>
    Comment-In-Reply-To: Sylvain Defresne <sdef...@chromium.org>
    Comment-In-Reply-To: Dave Tapuska <dtap...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Vasiliy Telezhnikov (Gerrit)

    unread,
    Sep 30, 2025, 1:11:27 PM (7 days ago) Sep 30
    to Colin Blundell, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org
    Attention needed from Colin Blundell

    Vasiliy Telezhnikov voted and added 1 comment

    Votes added by Vasiliy Telezhnikov

    Code-Review+1

    1 comment

    Patchset-level comments
    File-level comment, Patchset 10 (Latest):
    Vasiliy Telezhnikov . resolved

    lgtm, thanks.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Colin Blundell
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
      Gerrit-Change-Number: 6983155
      Gerrit-PatchSet: 10
      Gerrit-Owner: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Attention: Colin Blundell <blun...@chromium.org>
      Gerrit-Comment-Date: Tue, 30 Sep 2025 17:11:22 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Colin Blundell (Gerrit)

      unread,
      Oct 1, 2025, 3:06:13 AM (6 days ago) Oct 1
      to Colin Blundell, Vasiliy Telezhnikov, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org

      Colin Blundell voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention set is empty
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
      Gerrit-Change-Number: 6983155
      Gerrit-PatchSet: 11
      Gerrit-Owner: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      Gerrit-Comment-Date: Wed, 01 Oct 2025 07:06:00 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      Oct 1, 2025, 3:11:20 AM (6 days ago) Oct 1
      to Colin Blundell, Vasiliy Telezhnikov, AyeAye, chromium...@chromium.org, vaapi-...@chromium.org, max+watc...@igalia.com, kinuko...@chromium.org, chromeos-gfx-...@google.com, blink-...@chromium.org, media-cro...@chromium.org, nickdiego+wa...@igalia.com, oshima...@chromium.org, ozone-...@chromium.org, mac-r...@chromium.org, feature-me...@chromium.org, cc-...@chromium.org

      Chromium LUCI CQ submitted the change

      Unreviewed changes

      10 is the latest approved patch-set.
      No files were changed between the latest approved patch-set and the submitted one.

      Change information

      Commit message:
      [//ui] Introduce DisplayColorSpaces constructor taking in SIFormat

      This CL kicks off transitioning DisplayColorSpaces to use
      SharedImageFormat rather than BufferFormat.

      It introduces a constructor that will allow incrementally converting
      callers of DisplayColorSpaces(ColorSpace, BufferFormat) to pass
      SharedImageFormat instead and eliminating the former.

      I verified that all users of the existing method pass a single-plane
      BufferFormat, but in any case, this will become self-evident in the
      CLs actually doing the changes.
      Bug: 445879532
      Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
      Reviewed-by: Vasiliy Telezhnikov <vas...@chromium.org>
      Commit-Queue: Colin Blundell <blun...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1523360}
      Files:
      • M ui/gfx/BUILD.gn
      • M ui/gfx/DEPS
      • M ui/gfx/display_color_spaces.cc
      • M ui/gfx/display_color_spaces.h
      Change size: S
      Delta: 4 files changed, 15 insertions(+), 0 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Vasiliy Telezhnikov
      Open in Gerrit
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: merged
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: I62a290c7d693bf4333502bbb6cafb3588fd4b0d3
      Gerrit-Change-Number: 6983155
      Gerrit-PatchSet: 12
      Gerrit-Owner: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Colin Blundell <blun...@chromium.org>
      Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages