gecko-dev/gfx
Bob Owen a5aa570a4c Bug 1739908 p2: Only use PersistentBufferProviderShared::mPermanentBackBuffer when first needed. r=lsalzman
This removes some of the changes that meant we started using
mPermanentBackBuffer straight away and we now wait until we actually try and
lock a read locked texture.
While this might still give a very small risk of contention, it gives
improvements in the following two circumstances.
* If a canvas texture is never forwarded and never read locked, it means we will
  only use one texture with no copies.
* If a canvas is always fully overwritten at the start of the frame (and a
  snapshot is not taken between frames), then we avoid a copy on each frame.

This also adds back in code so that on an OPEN_READ_WRITE lock we cache the data
surface if required, because that texture will be the new front buffer and we
won't be using mPermanentBackBuffer at that point.

Depends on D132601

Differential Revision: https://phabricator.services.mozilla.com/D132602
2021-12-07 09:36:18 +00:00
..
2d Bug 1742091 - DrawTargetCairo.cpp: Use the 'empty' method instead of 'size' to check for emptiness. r=sylvestre 2021-12-06 13:53:12 +00:00
angle Bug 1731194 - [ANGLE] Add system_utils_apple too. r=gfx-reviewers,mstange 2021-09-17 18:50:58 +00:00
cairo Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi 2021-10-01 09:01:27 +00:00
config Bug 1739996 - Select compositor or renderer thread for WebGL OOP depending on threadsafe GL status. r=jgilbert 2021-11-09 17:33:46 +00:00
docs Bug 1733746 - Add a section about Fission integration. r=tnikkel 2021-10-17 21:14:42 +00:00
gl Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
graphite2 Bug 1722127 - Modify rlbox graphite struct defs for windows compat r=tjr 2021-07-27 13:09:44 +00:00
harfbuzz Bug 1743434 - Update HarfBuzz to 3.1.2. r=jfkthame 2021-11-29 16:02:56 +00:00
ipc Bug 1729026 - Test that GPU-process FOG metrics work r=Dexter,nical 2021-12-01 14:35:08 +00:00
layers Bug 1739908 p2: Only use PersistentBufferProviderShared::mPermanentBackBuffer when first needed. r=lsalzman 2021-12-07 09:36:18 +00:00
ots Bug 1743324 - Convert RLBox woff2 functions to use char instead of uint8_t and unsigned long instead of size_t r=bholley 2021-11-29 04:26:22 +00:00
qcms Bug 1729539 - Hit MOZ_CRASH(assertion failed: y2 > 1. / 12. && y2 <= 1.) at gfx/qcms/src/iccread.rs:1392. r=jrmuizel 2021-09-17 17:41:26 +00:00
skia Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
src Backed out changeset 145c64b7ac17 (bug 1531223) for causing failures at gfxFontEntry.cpp. CLOSED TREE 2021-12-06 14:57:31 +02:00
tests Bug 1738401 - Remove -Wno-shadow warning suppressions. r=firefox-build-system-reviewers,glandium 2021-12-01 06:40:04 +00:00
thebes Bug 1744570 - Elaborate disabled message. r=gfx-reviewers,jgilbert 2021-12-07 01:41:24 +00:00
vr Bug 1734739 - Part 2: Stop requiring the OtherPid to create Endpoint, r=handyman 2021-11-24 17:56:00 +00:00
webrender_bindings Bug 1744666 - Remove CompositorD3D11::mUseForSoftwareWebRender r=gfx-reviewers,lsalzman 2021-12-07 07:34:00 +00:00
wgpu_bindings Bug 1617369 - Reformat recent rust changes with rustfmt r=necko-reviewers,kershaw 2021-12-06 17:15:33 +00:00
wr Bug 1742749 - Mark PrimitiveInstanceData as repr(C). r=gfx-reviewers,gw 2021-12-07 00:29:35 +00:00
ycbcr Bug 1732481 - Fix non-unified build errors in gfx. r=gfx-reviewers,jrmuizel 2021-09-24 19:14:46 +00:00
metrics.yaml Bug 1741674 - Advise in each metrics.yaml that we have docs for adding metrics r=TravisLong,nalexander 2021-11-22 20:07:38 +00:00
moz.build Bug 1722653 - Remove --enable-system-cairo. r=firefox-build-system-reviewers,jrmuizel,andi 2021-07-29 23:38:30 +00:00