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

Sync changes from mozilla-central #3809

Merged
merged 35 commits into from Dec 11, 2019
Merged

Sync changes from mozilla-central #3809

merged 35 commits into from Dec 11, 2019

Conversation

@moz-gfx
Copy link

moz-gfx commented Dec 2, 2019

No description provided.

@moz-gfx
Copy link
Author

moz-gfx commented Dec 2, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 2, 2019

📌 Commit 0efbf45 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Dec 2, 2019

Testing commit 0efbf45 with merge a224275...

bors-servo added a commit that referenced this pull request Dec 2, 2019
Sync changes from mozilla-central
@bors-servo
Copy link
Contributor

bors-servo commented Dec 2, 2019

💔 Test failed - status-taskcluster

Glenn Watson added 3 commits Dec 3, 2019
…=nical

* The existing code to detect if an image is dirty fails in some
   cases. For external images, they were not being added to the
   list of dirty images when update was called. Further, since
   the dirty image keys hash set was cleared each frame, it was
   possible for an image to become dirty, but this detection to be
   missed if it is not queried until a subsequent frame (due to
   it being off-screen.

   Instead, each image template has a generation identifier that
   is incremented whenever an image template is updated. The picture
   caching code stores the generation of the image key when it was
   rasterized, and compares that to the current image key generation
   when comparing dependencies. This fixes both cases above.

 * Remove the is_cacheable logic that was previously used to
   invalidate picture cache tiles for external images. This would
   result in picture cache images that intersect with videos being
   invalidated every frame unconditionally. However, this code path
   is no longer required, due to the change above. By relying on
   the true image dirty check, we can skip invalidating tiles
   affected by video if the video frame has not advanced (e.g. it
   is paused, or advancing at a lower frame rate than we are
   currently compositing at).

Differential Revision: https://phabricator.services.mozilla.com/D55061

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/93ccc760c4dd69f63d6ac171ace357b0dd31412a
@moz-gfx
Copy link
Author

moz-gfx commented Dec 3, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

📌 Commit ebd8dd9 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

Testing commit ebd8dd9 with merge c3346c6...

bors-servo added a commit that referenced this pull request Dec 3, 2019
Sync changes from mozilla-central
@moz-gfx
Copy link
Author

moz-gfx commented Dec 3, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

📌 Commit 9121414 has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

Testing commit 9121414 with merge eebf185...

bors-servo added a commit that referenced this pull request Dec 3, 2019
Sync changes from mozilla-central
…entral CLOSED TREE a=backout

Backed out changeset 4351a57052fa (bug 1599656)
Backed out changeset 86427d3d0600 (bug 1599656)

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/8eeadab197dd0e69d69b6c1677dc3d812bb0e823
@moz-gfx
Copy link
Author

moz-gfx commented Dec 3, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request is currently being tested. If there's no response from the continuous integration service, you may use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

📌 Commit 27a6ace has been approved by moz-gfx

@bors-servo
Copy link
Contributor

bors-servo commented Dec 3, 2019

Testing commit 27a6ace with merge 298976c...

bors-servo added a commit that referenced this pull request Dec 3, 2019
Sync changes from mozilla-central
@bors-servo
Copy link
Contributor

bors-servo commented Dec 6, 2019

📌 Commit f9332b4 has been approved by moz-gfx

@moz-gfx
Copy link
Author

moz-gfx commented Dec 6, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 6, 2019

📌 Commit 8864694 has been approved by moz-gfx

@moz-gfx
Copy link
Author

moz-gfx commented Dec 9, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 9, 2019

📌 Commit 26e9a2b has been approved by moz-gfx

@moz-gfx
Copy link
Author

moz-gfx commented Dec 9, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 9, 2019

📌 Commit afdc14f has been approved by moz-gfx

AndreeaPavel and others added 2 commits Dec 10, 2019
Uploading texture data is showing up frequently in profiles on Adreno devices,
especially when zooming on a text-heavy page. Specifically, the time is spent in
glMapBufferRange and glBufferSubData, most likely when internally allocating the
buffer before transferring data in to it.

Currently, we are creating a new PBO, by calling glBufferData(), for each
individual upload region. This change makes it so that we calculate the required
size for all upload regions to a texture, then create single a PBO of the
required size. The entire buffer is then mapped only once, and each individual
upload chunk is written to it. This can require the driver to allocate a large
buffer, sometimes multiple megabytes in size. However, it handles this case much
better than allocating tens or even hundreds of smaller buffers.

An upload chunk may require more space in a PBO than the original CPU-side
buffer, so that the data is aligned correctly for performance or correctness
reasons. Therefore it is the caller of Device.upload_texture()'s responsibility
to call a new function, Device.required_upload_size(), to calculate the required
size beforehand.

Differential Revision: https://phabricator.services.mozilla.com/D56382

[wrupdater] From https://hg.mozilla.org/mozilla-central/rev/3f9482614123972f6fcd8b6a1d99dc8db8cb6c07
@moz-gfx
Copy link
Author

moz-gfx commented Dec 10, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 10, 2019

📌 Commit 3d505cc has been approved by moz-gfx

@jrmuizel
Copy link
Contributor

jrmuizel commented Dec 10, 2019

@bors-servo retry

@jrmuizel
Copy link
Contributor

jrmuizel commented Dec 10, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 10, 2019

📌 Commit b504c4a has been approved by jrmuizel

@bors-servo
Copy link
Contributor

bors-servo commented Dec 10, 2019

Testing commit b504c4a with merge 7d091a1...

bors-servo added a commit that referenced this pull request Dec 10, 2019
Sync changes from mozilla-central
@bors-servo
Copy link
Contributor

bors-servo commented Dec 10, 2019

💔 Test failed - status-taskcluster

@moz-gfx
Copy link
Author

moz-gfx commented Dec 11, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Dec 11, 2019

💡 This pull request was already approved, no need to approve it again.

  • This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.
@bors-servo
Copy link
Contributor

bors-servo commented Dec 11, 2019

📌 Commit b4f2c9f has been approved by moz-gfx

bors-servo added a commit that referenced this pull request Dec 11, 2019
Sync changes from mozilla-central
@bors-servo
Copy link
Contributor

bors-servo commented Dec 11, 2019

Testing commit b4f2c9f with merge 987c665...

@bors-servo
Copy link
Contributor

bors-servo commented Dec 11, 2019

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: moz-gfx
Pushing 987c665 to master...

@bors-servo bors-servo merged commit b4f2c9f into servo:master Dec 11, 2019
2 of 3 checks passed
2 of 3 checks passed
Community-TC (pull_request) TaskGroup: failure
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

You can’t perform that action at this time.