[xr] Validate that camera SyncTokens are empty for Cardboard/OpenXR [chromium/src : main]

0 views
Skip to first unread message

Vasiliy Telezhnikov (Gerrit)

unread,
May 28, 2026, 3:57:29 PM (5 days ago) May 28
to Mingjing Zhang, Chromium LUCI CQ, chromium...@chromium.org, feature-v...@chromium.org
Attention needed from Mingjing Zhang

Vasiliy Telezhnikov voted and added 1 comment

Votes added by Vasiliy Telezhnikov

Code-Review+1

1 comment

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

lgtm, thanks.

Open in Gerrit

Related details

Attention is currently required from:
  • Mingjing Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Gerrit-Change-Number: 7882745
Gerrit-PatchSet: 3
Gerrit-Owner: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Comment-Date: Thu, 28 May 2026 19:57:20 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Mingjing Zhang (Gerrit)

unread,
May 28, 2026, 4:14:10 PM (5 days ago) May 28
to Alexander Cooper, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org, feature-v...@chromium.org
Attention needed from Alexander Cooper

Mingjing Zhang added 1 comment

Patchset-level comments
Mingjing Zhang . resolved

Hi Alex, as per our [previous discussion](https://chromium-review.googlesource.com/c/chromium/src/+/7853071/comment/c8f5dfb8_339c1df1/), there's no camera image (and therefore no camera sync tokens) for cardboard. But we wonder if the same is true for OpenXR? We thought that there might be a camera image for OpenXR but didn't find one in the code. So we tentatively added the no- SyncToken validation for OpenXR too. Please let us know if this is desirable. Thanks.

Open in Gerrit

Related details

Attention is currently required from:
  • Alexander Cooper
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Gerrit-Change-Number: 7882745
Gerrit-PatchSet: 3
Gerrit-Owner: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Alexander Cooper <alco...@chromium.org>
Gerrit-Comment-Date: Thu, 28 May 2026 20:13:58 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alexander Cooper (Gerrit)

unread,
May 28, 2026, 4:17:12 PM (5 days ago) May 28
to Mingjing Zhang, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org, feature-v...@chromium.org
Attention needed from Mingjing Zhang

Alexander Cooper voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Mingjing Zhang
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Gerrit-Change-Number: 7882745
Gerrit-PatchSet: 3
Gerrit-Owner: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Attention: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Comment-Date: Thu, 28 May 2026 20:16:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Mingjing Zhang (Gerrit)

unread,
May 28, 2026, 4:30:12 PM (5 days ago) May 28
to Alexander Cooper, Vasiliy Telezhnikov, Chromium LUCI CQ, chromium...@chromium.org, feature-v...@chromium.org

Mingjing Zhang 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
  • requirement 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: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Gerrit-Change-Number: 7882745
Gerrit-PatchSet: 3
Gerrit-Owner: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
Gerrit-Comment-Date: Thu, 28 May 2026 20:30:03 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Chromium LUCI CQ (Gerrit)

unread,
May 28, 2026, 5:45:47 PM (5 days ago) May 28
to Mingjing Zhang, Alexander Cooper, Vasiliy Telezhnikov, chromium...@chromium.org, feature-v...@chromium.org

Chromium LUCI CQ submitted the change

Change information

Commit message:
[xr] Validate that camera SyncTokens are empty for Cardboard/OpenXR

In Cardboard and OpenXR, there are no camera shared images, and
therefore no camera SyncTokens should be sent from Blink to the device
process. This CL enforces this expectation by calling ReportBadMessage
if the received camera_sync_tokens parameter is not empty.
Bug: 40286368
Change-Id: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Reviewed-by: Vasiliy Telezhnikov <vas...@chromium.org>
Commit-Queue: Mingjing Zhang <mjz...@chromium.org>
Reviewed-by: Alexander Cooper <alco...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1637970}
Files:
  • M device/vr/android/cardboard/cardboard_render_loop.cc
  • M device/vr/openxr/openxr_render_loop.cc
Change size: S
Delta: 2 files changed, 14 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Vasiliy Telezhnikov, +1 by Alexander Cooper
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: Ib577f16f6ef5753fb90cba1f1dc305ca5cdac273
Gerrit-Change-Number: 7882745
Gerrit-PatchSet: 4
Gerrit-Owner: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Alexander Cooper <alco...@chromium.org>
Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
Gerrit-Reviewer: Mingjing Zhang <mjz...@chromium.org>
Gerrit-Reviewer: Vasiliy Telezhnikov <vas...@chromium.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages