New issue
Advanced search Search tips

Issue 814762 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: Feb 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 1
Type: Bug
Proj-XR
Proj-XR-VR



Sign in to add a comment

Use of URL fading induces background flashes in only the left eye

Project Member Reported by cjgrant@chromium.org, Feb 22 2018

Issue description

The combination of a skia-based fade operation on an element texture, and our component-based background, yields an odd artifact:  When the URL bar texture redraws, the background in the left eye is not rendered for a single frame (very noticeable).

Removing the fade operation from the URL alleviates (or masks) the issue.  However, it's not clear why *only* the background texture is affected.  It's possible that some GL state is mucked up, meaning the next element renders incorrectly.

More investigation is required to figure out what's going on.


 
Short term, we can work around the issue by either:

- Having the URL texture fade text using a grey gradient, to match the element it sits on (which is easy but problematic if we ever want to change the URL bar color on hover, etc)

- Write a shader that can fade portions of a quad according to a description.  Note that in this case, the gradient is not actually at the edge of the texture, since the URL texture currently houses text, icons and other things (this can only be split apart once we have a layout tool that can pack elements into a fixed space).
Mergedinto: 814604
Status: Duplicate (was: Started)

Sign in to add a comment