gecko-dev/dom
Jamie Nicol 836b0d935c Bug 1857447 - Avoid redundant UniformData calls in DrawTargetWebgl. r=lsalzman
Calling ClientWebGLContext::UniformData() many times causes the
command buffer to fill up and we spend a fair amount of time flushing
the old buffer and allocating a new one, as well as serializing the
values.

The uniforms themselves are very small but they add up over a large
number of calls. We already have some code to track whether the
uniform values are dirty to avoid some redundancy, but a) this doesn't
cover every uniform, and b) we invalidate them all when switching
program.

This patch makes us track the value of every uniform that gets set
dynamically, and tracks the values separately for each program
used. It then uses these to avoid calling UniformData redundantly.

Differential Revision: https://phabricator.services.mozilla.com/D190269
2023-10-06 15:12:48 +00:00
..
abort Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
animation Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
audiochannel
base Backed out changeset 7c84c5fc7d00 (bug 1791079) for causing mochitest process crashes at @ RefPtr<mozilla::dom::WindowContext>::operator-> CLOSED TREE 2023-10-06 16:18:00 +03:00
battery Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
bindings Bug 1855074 - Avoid some string copies in WebIDL/XPCOM->JS string conversion. r=edgar 2023-10-05 17:16:28 +00:00
broadcastchannel Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
browser-element
cache Bug 1856530 - run file-whitespace on toml files r=linter-reviewers,Standard8 2023-10-03 09:22:18 +00:00
canvas Bug 1857447 - Avoid redundant UniformData calls in DrawTargetWebgl. r=lsalzman 2023-10-06 15:12:48 +00:00
chrome-webidl Bug 1857076 - Add an InspectorUtils API to get the number of lines in a block after reflow. r=emilio 2023-10-05 20:37:54 +00:00
clients Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
commandhandler
console Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
credentialmanagement Bug 1856395 - remove WebAuthnController. r=keeler,webdriver-reviewers 2023-10-05 00:52:32 +00:00
crypto Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
debugger
docs Bug 1854926 - Web IDL bindings uses disallowed type as a parameter in example code. r=dom-core,farre DONTBUILD 2023-09-26 13:27:46 +00:00
encoding Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
events Bug 1854747 - Stop exposing the image data as file to clipboard; r=evilpie 2023-10-06 13:17:52 +00:00
fetch Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
file Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
filesystem Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
flex
fs Bug 1844619 - Update assert to account for OPFS temporary files. r=dom-storage-reviewers,janv 2023-10-04 08:22:04 +00:00
gamepad Bug 1854416 - Use a constexpr std::array is enough for small lookup table r=mstange 2023-09-27 07:15:48 +00:00
geolocation
grid
html Bug 1838450 - Refine attribute handling. r=emilio 2023-10-06 08:06:54 +00:00
imptests
indexedDB
interfaces
ipc Bug 1856716 - Ensure that we hold a strong reference to the APZ event state. r=hiro 2023-10-05 22:34:32 +00:00
jsurl Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
l10n Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
locales Backed out 2 changesets (bug 243797, bug 1273551) for causing mochitest failures on browser/modules/test/browser/browser_ProcessHangNotifications.js CLOSED TREE 2023-10-06 08:49:10 +03:00
localstorage Bug 1855295 convert .ini manifests to .toml: batch 8 dom/[a-l]**/mochitest.ini r=jmaher,jgilbert,extension-reviewers,credential-management-reviewers,robwu,sgalich 2023-10-02 17:18:28 +00:00
locks Bug 1856578 - follow up - Empty Lines at end of file r=nataliaCs 2023-10-03 11:35:36 +00:00
manifest Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
mathml Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
media Bug 1854490 - get rid of dtlsidentity global constructor r=webrtc-reviewers,ng 2023-10-06 12:40:19 +00:00
messagechannel Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
midi Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
network Bug 1817122 - Make AsyncEventDispatcher(Event) take ownership of the event. r=smaug,media-playback-reviewers,padenot 2023-10-04 19:37:39 +00:00
notification Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
origin-trials Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
payments Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
performance Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
permission Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
plugins Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
power Bug 1856628 - Remove WakeLock::IsDocumentInvisible and related code. r=pip-reviewers,mhowell 2023-10-03 16:08:59 +00:00
promise Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
prototype Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
push Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
quota Bug 1808294 - Extend nsIQuotaOriginUsageResult to match UsageInfo; r=dom-storage-reviewers,jari 2023-10-06 13:33:13 +00:00
reporting Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
res
script Bug 1854907 - Make document.write-related operations on the creator parser no-ops on scripts whose type does not allow document.write. r=smaug 2023-09-28 12:21:39 +00:00
security Bug 1855296 - Add brackets and quotation marks to skip-if condition to unbust decision task. a=bustage-fix 2023-10-03 22:52:41 +03:00
serializers
serviceworkers Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
simpledb
smil Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
storage
streams No Bug - Spelling error: detatched r=saschanaz DONTBUILD 2023-10-05 14:16:46 +00:00
svg Bug 627594 - flush layout when working with percentage units r=emilio 2023-10-06 13:30:41 +00:00
system Bug 1855296 - convert .ini manifests to .toml: batch 9 dom/[m-s]**/mochitest.ini r=jmaher,media-playback-reviewers,alwu 2023-10-03 19:35:22 +00:00
tests Backed out changeset 7c84c5fc7d00 (bug 1791079) for causing mochitest process crashes at @ RefPtr<mozilla::dom::WindowContext>::operator-> CLOSED TREE 2023-10-06 16:18:00 +03:00
url Bug 1851211 - Remove privacy.partition.bloburl_per_agent_cluster pref r=amadan,timhuang 2023-09-26 20:59:01 +00:00
vr
webauthn Bug 1856395 - remove WebAuthnController. r=keeler,webdriver-reviewers 2023-10-05 00:52:32 +00:00
webbrowserpersist Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
webgpu Bug 1780084 - Sanity-check for mValid before mapping the buffer. r=webgpu-reviewers,ErichDonGubler 2023-09-26 15:19:21 +00:00
webidl Backed out changeset 7c84c5fc7d00 (bug 1791079) for causing mochitest process crashes at @ RefPtr<mozilla::dom::WindowContext>::operator-> CLOSED TREE 2023-10-06 16:18:00 +03:00
webscheduling Bug 1853984 - Make Scheduling API to clear its hashtable entries when the queue is empty r=smaug 2023-10-02 19:40:56 +00:00
webshare
websocket Bug 1844646 - Add check for data and blob URIs in WebSocketImpl::IsSecure; r=smaug 2023-09-29 22:26:04 +00:00
webtransport
workers Bug 1826174 - Add test for SW script redirects with DNR r=rpl 2023-10-02 22:40:00 +00:00
worklet
xhr
xml
xslt Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
xul Bug 1855134 - Move existing MOZ_TRY macros to a dedicated header file; r=glandium 2023-09-28 20:46:07 +00:00
jar.mn
metrics.yaml
moz.build
pings.yaml