Skip to content
Snippets Groups Projects
  1. Feb 01, 2023
  2. Jan 31, 2023
  3. Jan 30, 2023
  4. Jan 29, 2023
  5. Jan 28, 2023
    • Emilio Cobos Álvarez's avatar
      Bug 1813046 - Simplify scrollbar sizing code. r=spohl · 604d8268
      Emilio Cobos Álvarez authored
      This removes the capability of having differently-sized vertical and
      horizontal scrollbars (which is only potentially used in windows, and in
      practice almost-never used). For that case, we choose the larger of
      vertical/horizontal scrollbar sizes.
      
      This is in order to be able to realistically expose the scrollbar size
      to CSS, see blocked bug.
      
      We make RecomputeScrollbarParams the central place where each scrollbar
      style decides its sizes, and make GetDPIRatioForScrollbarPart handle the
      cocoa special-case of scaling to 1 or 2, but nothing else.
      
      Differential Revision: https://phabricator.services.mozilla.com/D168080
      604d8268
    • Lee Salzman's avatar
      Bug 1812970 - Avoid using Skia's deprecated clip ops. r=jrmuizel · 5203dacc
      Lee Salzman authored
      Skia upstream removed deprecated clip ops that could be used to replace
      the clipping stack and bypass clips. We shouldn't really need to do this
      anymore, as we can work around it just using public APIs.
      
      The only SkCanvas operation that allows us to bypass clipping is
      writePixels, which still allows us to implement CopySurface/putImageData.
      
      Other instances where we were using the replace op for DrawTargetWebgl
      layering support can just be worked around by creating a separate
      DrawTargetSkia pointing to the same pixel data, but on which no clipping
      or transforms are applied so that we can freely do drawing operations
      on it to the base layer pixel data regardless of any user-applied clipping.
      
      Differential Revision: https://phabricator.services.mozilla.com/D168039
      5203dacc
  6. Jan 27, 2023
  7. Jan 26, 2023
    • Glenn Watson's avatar
      Bug 1811977 - Add a new tiled primitive rendering path to webrender r=gfx-reviewers,nical · b42594e6
      Glenn Watson authored
      This patch adds most of the underlying infrastructure for a new
      tiled (previously: segmented) rendering path to webrender. It is
      initially used only by simple (non-masked) rectangles. Follow
      up patches will extend this first to all rectangles and then
      porting other primitives to use this new rendering path.
      
      The new primitive is encoded in the command buffer structure,
      which allows efficiently encoding arbitrary sets of commands
      to be read by the batching code. The batching code for this
      primitive is much simpler, and should be consistent and shared
      when other primitives are ported to use this path.
      
      Tiling is handled during the prepare pass per-primitive. It can
      support edge AA tiles, different regions for clip-mask corners
      (to be added in a follow up), and uniform tiling for the inner
      section of the primitive (e.g. for tiled image masks).
      
      It adds specific support for edge anti-aliasing to be considered
      as part of the tiling configuration for a primitive. This both
      improves performance of rotated but otherwise opaque primitives
      and allows additional functionality we don't currently support
      (such as applying AA along one edge of a 2d but subpixel aligned
      primitive). Since SWGL provides native AA support, the patches
      take account of that, and avoid the vertex shader work and extra
      edge primitives when SWGL is enabled.
      
      Follow up patches will:
       - Add clip-mask support to new rendering path
       - Port other primitives to new rendering path
       - Add SWGL shader fast-paths where profiling indicates it makes sense to
       - Remove old segment / mask rendering paths once no longer used
      
      Other minor changes included as part of this patch:
       - Pack TransformPaletteId in 24 bits instead of 32, for better instance struct packing
       - Support prepare pass appending multiple command buffer instructions per primitive
      
      Differential Revision: https://phabricator.services.mozilla.com/D167629
      b42594e6
    • Jamie Nicol's avatar
      Bug 1810693 - Disable robust buffer access on Adreno 620 devices. r=gfx-reviewers,nical · 33a176e4
      Jamie Nicol authored
      A long time ago we blocked this on Adreno 630 due to causing strange
      shader linking errors. We have recently discovered that this can also
      affect Adreno 620 devices too.
      
      Differential Revision: https://phabricator.services.mozilla.com/D167941
      33a176e4
    • Emilio Cobos Álvarez's avatar
      Bug 1809430 - Make some tests account for smaller default window size on macOS. r=botond · 6195707d
      Emilio Cobos Álvarez authored
      Before these patches we were adding the titlebar height even though we
      were not rendering it.
      
      This made an apz mochitest with hardcoded heights to fail on macOS.
      
      It also perturbed browser_html_scroll_restoration.js in a way such as
      the scroll position after a resize is rounded in a different direction,
      but that is harmless.
      
      Depends on D166431
      
      Differential Revision: https://phabricator.services.mozilla.com/D167027
      6195707d
    • Razvan Cojocaru's avatar
      Bug 1746126 - Allow controlling zoom-to-focused-input behaviour using `touch-action`. r=botond · d8e9d2a1
      Razvan Cojocaru authored
      Rename AllowedTouchBehavior::DOUBLE_TAP_ZOOM to ANIMATING_ZOOM, and
      CompositorHitTestFlags::eTouchActionDoubleTapZoomDisabled to
      eTouchActionAnimatingZoomDisabled while at it.
      
      Differential Revision: https://phabricator.services.mozilla.com/D167522
      d8e9d2a1
  8. Jan 25, 2023
  9. Jan 24, 2023
  10. Jan 23, 2023
  11. Jan 24, 2023
    • Csoregi Natalia's avatar
      Backed out 6 changesets (bug 1799258) for failures on... · f822f996
      Csoregi Natalia authored
      Backed out 6 changesets (bug 1799258) for failures on gfx.color_management.display_profile. CLOSED TREE
      
      Backed out changeset 22351f36b74b (bug 1799258)
      Backed out changeset 9bbbe3ed2794 (bug 1799258)
      Backed out changeset e05c809f58d0 (bug 1799258)
      Backed out changeset 791eeb52f034 (bug 1799258)
      Backed out changeset 353ef4721bba (bug 1799258)
      Backed out changeset b5157d950aa7 (bug 1799258)
      f822f996
  12. Jan 23, 2023
Loading