Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Put large elements under separate GPU context #1311

Merged
merged 1 commit into from
Jul 25, 2018

Conversation

stephanwlee
Copy link
Contributor

The change should have zero visual change but general scroll performance improvement.

As depicted in picture below, we want larger DOM elements to be in separate GPU context and simply GPU rasterize when there is a repaint required in it. Without the orange boxes around each graph, a change in DOM structure will cause a reflow in entire page causing poor rendering performance in general.
image

Copy link
Contributor

@nfelt nfelt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@stephanwlee stephanwlee merged commit 9ddec82 into tensorflow:master Jul 25, 2018
@stephanwlee stephanwlee deleted the scroll branch July 25, 2018 04:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants