Terracotta-Phase-1: Validate all `handle`s in `ClientNativePixmapFactoryDmabuf` [chromium/src : main]

0 views
Skip to first unread message

Kalvin Lee (Gerrit)

unread,
Mar 26, 2026, 2:35:20 AM (8 days ago) Mar 26
to Michael Spang, Chromium LUCI CQ, chromium...@chromium.org, ozone-...@chromium.org
Attention needed from Michael Spang

Kalvin Lee added 1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Kalvin Lee . resolved

Passing over to Michael in continuation of our offline chat...

Open in Gerrit

Related details

Attention is currently required from:
  • Michael Spang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
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: I7a23c26d3c71b78a22547626430ffa1e4bdf1a1f
Gerrit-Change-Number: 7699181
Gerrit-PatchSet: 1
Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
Gerrit-Attention: Michael Spang <sp...@chromium.org>
Gerrit-Comment-Date: Thu, 26 Mar 2026 06:35:04 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Michael Spang (Gerrit)

unread,
Mar 26, 2026, 2:37:55 AM (8 days ago) Mar 26
to Kalvin Lee, Chromium LUCI CQ, chromium...@chromium.org, ozone-...@chromium.org
Attention needed from Kalvin Lee

Michael Spang added 1 comment

File ui/gfx/linux/client_native_pixmap_factory_dmabuf.cc
Line 123, Patchset 1 (Latest): case gfx::BufferUsage::GPU_READ:
case gfx::BufferUsage::SCANOUT:
case gfx::BufferUsage::SCANOUT_VDA_WRITE:
case gfx::BufferUsage::PROTECTED_SCANOUT:
case gfx::BufferUsage::PROTECTED_SCANOUT_VDA_WRITE:
return base::WrapUnique(
new ClientNativePixmapOpaque(std::move(handle)));
Michael Spang . unresolved

These are usages with no CPU access, IIRC it's intended that we don't assume a memory representation in these cases.

Open in Gerrit

Related details

Attention is currently required from:
  • Kalvin Lee
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I7a23c26d3c71b78a22547626430ffa1e4bdf1a1f
    Gerrit-Change-Number: 7699181
    Gerrit-PatchSet: 1
    Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
    Gerrit-Attention: Kalvin Lee <kd...@chromium.org>
    Gerrit-Comment-Date: Thu, 26 Mar 2026 06:37:49 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Kalvin Lee (Gerrit)

    unread,
    Mar 26, 2026, 3:03:26 AM (8 days ago) Mar 26
    to Michael Spang, Chromium LUCI CQ, chromium...@chromium.org, ozone-...@chromium.org
    Attention needed from Michael Spang

    Kalvin Lee added 1 comment

    File ui/gfx/linux/client_native_pixmap_factory_dmabuf.cc
    Line 123, Patchset 1 (Latest): case gfx::BufferUsage::GPU_READ:
    case gfx::BufferUsage::SCANOUT:
    case gfx::BufferUsage::SCANOUT_VDA_WRITE:
    case gfx::BufferUsage::PROTECTED_SCANOUT:
    case gfx::BufferUsage::PROTECTED_SCANOUT_VDA_WRITE:
    return base::WrapUnique(
    new ClientNativePixmapOpaque(std::move(handle)));
    Michael Spang . unresolved

    These are usages with no CPU access, IIRC it's intended that we don't assume a memory representation in these cases.

    Kalvin Lee

    Thanks for putting this on the record --- could you please comment on the bug if you think it's mistaken?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Michael Spang
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    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: I7a23c26d3c71b78a22547626430ffa1e4bdf1a1f
    Gerrit-Change-Number: 7699181
    Gerrit-PatchSet: 1
    Gerrit-Owner: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Kalvin Lee <kd...@chromium.org>
    Gerrit-Reviewer: Michael Spang <sp...@chromium.org>
    Gerrit-Attention: Michael Spang <sp...@chromium.org>
    Gerrit-Comment-Date: Thu, 26 Mar 2026 07:03:13 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Michael Spang <sp...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages