New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 856259 link

Starred by 3 users

Issue metadata

Status: Fixed
Last visit > 30 days ago
Closed: Aug 17
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Sign in to add a comment

Update XRSession geometry only when there has been a change

Project Member Reported by, Jun 25 2018

Issue description

At present the dimensions of a non-exclusive XRSession canvas are updated every frame. This is a waste of calls and should be made to only be called when the size of the canvas has changed.
Labels: -Proj-XR-AR -Proj-XR-VR
Project Member

Comment 2 by, Jul 12

The following revision refers to this bug:

commit 7a32f749ecae1923fda1485aa423b8e46dafddcf
Author: Anna Offenwanger <>
Date: Thu Jul 12 17:13:22 2018

Modify XRSession so that session geometry is only sent when it changes

Making it so that instead of receiving geometry every frame, ar_core
only gets geometry (frame size and rotation) when it changes. This saves
some processing every frame, and allows the GetFrameData interface to be
made uniform for AR and VR.

Bug:  856259 ,846521
Change-Id: I5828f57e1292f932c68148ac1e6b898f966b8d00
Commit-Queue: Anna Offenwanger <>
Reviewed-by: Bill Orr <>
Reviewed-by: Klaus Weidner <>
Cr-Commit-Position: refs/heads/master@{#574611}

Status: Assigned (was: Available)
Status: Fixed (was: Assigned)

Sign in to add a comment