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

Issue 642885 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Android , Windows , All , Chrome , Mac , Fuchsia
Pri: 3
Type: Feature



Sign in to add a comment

Turn on text subpixel rendering when known that all text is drawn on top of opaque region.

Project Member Reported by flackr@chromium.org, Aug 31 2016

Issue description

Currently we only turn on subpixel rendering when the entire layer is opaque, but we could enable subpixel text rendering as long as all of the text was drawn on top of opaque content.

As a first approximation we can record the bounding rectangle of all text drawn by descendants and compare this to our BackgroundKnownOpaqueRect when determining whether we can safely turn on subpixel text rendering (and thus safe to composite the element on low dpi without degrading text rendering quality).

Why do this?

This will potentially enable promoting many more elements automatically on low-dpi which can dramatically improve the performance of scrolling and animations. For example, we could automatically promote overflow: scroll and position: fixed elements with:
- border-radius backgrounds.
- no text (common for fixed position headers containing images)
- text only over opaque regions (often the scroller itself does not have a background but a child containing the text does)

This will also improve the low-dpi text rendering quality on many sites with existing automatic promotion due to compositing triggers or animations.
 

Comment 1 by flackr@chromium.org, Aug 31 2016

Labels: Hotlist-Threaded-Rendering

Comment 2 by flackr@chromium.org, Aug 31 2016

Labels: -Type-Bug OS-All Type-Feature
Status: Available (was: Untriaged)

Comment 4 by flackr@chromium.org, Jan 24 2017

Labels: -Hotlist-Threaded-Rendering Hotlist-ThreadedRendering
Project Member

Comment 5 by sheriffbot@chromium.org, Mar 9 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Recharge-Cold OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Mac OS-Windows
Status: Available (was: Untriaged)

Sign in to add a comment