Skip to content
Snippets Groups Projects
  1. Jan 25, 2022
  2. Jan 24, 2022
  3. Jan 19, 2022
  4. Jan 20, 2022
  5. Jan 17, 2022
  6. Jan 15, 2022
    • Robert Mader's avatar
      Bug 1750373 - Add support for x-flips in SetBufferTransformFlipped(),... · 670bfb93
      Robert Mader authored
      Bug 1750373 - Add support for x-flips in SetBufferTransformFlipped(), r=gfx-reviewers,mstange a=dmeehan
      
      Before D132738 Webrender only allowed y-flips on surfaces so `NativeLayerWayland`
      ended up not implementing x-flips. However, we checked for the y-flip
      via `HasNegativeScaling()`, which also applies to x-flips.
      A common user of x-flips are WebRTC video conferencing services like
      jitsi, which use it to make the users own video behave like a mirror.
      
      After D132738, users of these services now see their own video upside
      down instead. Amusing for some, seriously confusing for others.
      
      Differential Revision: https://phabricator.services.mozilla.com/D136062
      670bfb93
  7. Jan 13, 2022
    • Lee Salzman's avatar
      Bug 1749103 - Avoid thrashing gfxDWriteFont's ScaledFonts between canvas and... · 8b0f5c71
      Lee Salzman authored
      Bug 1749103 - Avoid thrashing gfxDWriteFont's ScaledFonts between canvas and content. r=jfkthame a=dmeehan
      
      This is essentially a partial revert of a cleanup done in bug 1742896. If canvas and content
      are using the same underlying gfxDWriteFont and simultaneously retrieving a ScaledFont, this
      may cause the ScaledFont to get repeatedly destroyed and re-instantiated every time we switch
      from one context to the other. If this destruction happens at an inopportune time while WR
      is still using a blob image with the font, it can potentially trigger undesirable assertions.
      
      For now, duplicate the part of Bas' original patch from bug 1730722 that separatedly cached
      the GDI and non-GDI versions of the ScaledFont. This way, both will exist for the lifetime
      of the underlying gfxDWriteFont and thus avoid the thrashing.
      
      Differential Revision: https://phabricator.services.mozilla.com/D135442
      8b0f5c71
  8. Jan 11, 2022
  9. Jan 10, 2022
  10. Jan 08, 2022
  11. Jan 07, 2022
  12. Jan 06, 2022
  13. Jan 05, 2022
  14. Jan 04, 2022
Loading