Bug 1800301 - Reduce allocs and ptr-chasing in ScopedResolveTexturesForDraw. r=gfx...
commit186c6dca7d4930f28a54f00e5cf5459bf4bb896e
authorKelsey Gilbert <kelsey.gilbert@mozilla.com>
Tue, 15 Nov 2022 04:11:16 +0000 (15 04:11 +0000)
committerKelsey Gilbert <kelsey.gilbert@mozilla.com>
Tue, 15 Nov 2022 04:11:16 +0000 (15 04:11 +0000)
treee5f3411626bf476ec15d54971ef88d995b5dec36
parentfc041b8b9e700fb3e9824af4e55da78705356077
Bug 1800301 - Reduce allocs and ptr-chasing in ScopedResolveTexturesForDraw. r=gfx-reviewers,lsalzman

+ Add inlining_vector<T,N>, like AutoTArray, but using std::vector for
  familiarity and safety.

Differential Revision: https://phabricator.services.mozilla.com/D162059
dom/canvas/WebGLContext.h
dom/canvas/WebGLContextDraw.cpp
dom/canvas/WebGLContextGL.cpp
dom/canvas/WebGLContextValidate.cpp
dom/canvas/WebGLProgram.h
dom/canvas/WebGLTypes.h