[TexMap] Make TextureMapperContextAttributes thread-specific
Created attachment 336274 [details] Patch
Comment on attachment 336274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336274&action=review > Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp:42 > + static WTF::ThreadSpecific<TextureMapperContextAttributes>* s_textureMapperContextAttributes; > + if (!s_textureMapperContextAttributes) > + s_textureMapperContextAttributes = new WTF::ThreadSpecific<TextureMapperContextAttributes>; > + return *s_textureMapperContextAttributes; Should we use std::once here?
Comment on attachment 336274 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=336274&action=review >> Source/WebCore/platform/graphics/texmap/TextureMapperContextAttributes.cpp:42 >> + return *s_textureMapperContextAttributes; > > Should we use std::once here? Yes.
Created attachment 336289 [details] Patch for landing
Comment on attachment 336289 [details] Patch for landing Clearing flags on attachment: 336289 Committed r229857: <https://trac.webkit.org/changeset/229857>
All reviewed patches have been landed. Closing bug.
<rdar://problem/38758602>