summaryrefslogtreecommitdiff
path: root/gfx/2d
Commit message (Collapse)AuthorAge
* Issue #2342: Use [[nodiscard]] in /gfx and /layoutMoonchild2023-11-08
|
* [gfx] Add Min() and Max() convenience functions for 2d point types.Moonchild2023-11-01
| | | | | This will return (min(x1,x2), min(y1,y2)) and equivalent max from 2 passed-in (x1,y1) (x2,y2) points
* [gfx] Fix a bug in SizeTyped templatingMoonchild2023-11-01
| | | | | | A second template parameter 'F' was previously added to SizeTyped, but was not correspondingly added to the argument passed for the 'Sub' parameter of BaseSize.
* Issue #2364 - Optimize the software-based box blur implementation.Moonchild2023-11-01
|
* Issue #2364 - use DrawTarget::DrawSurfaceWithShadow to render boxMoonchild2023-11-01
| | | | shadows on platforms that accelerate it.
* Issue #2364 - Re-factor AlphaBoxBlurMoonchild2023-11-01
| | | | | | Only blur one quadrant of a box-shadow and mirror it to the other quadrants. This applies only if the corners are symmetrical (square corners or equal corner radii) otherwise we'll fall back to the old method.
* Issue #1656 - Remove more vim control lines.Moonchild2023-05-04
| | | | | | | Vim control lines were re-introduced or not entirely cleaned up. This nukes them again. Removing from embedding, extensions, gfx, hal, ipc, layout, mailnews, media and memory. More to come.
* Issue #2191 - Make ScaledFont::SetCairoScaledFont virtual so it can be ↵Job Bautista2023-04-05
| | | | | | accessed from outside Moz2D. Backported from Mozilla bug 1385029.
* [GFX] Add some sanity checks and clamps to SurfaceData calculations.Moonchild2023-03-16
|
* [No issue] Add executable bit to shell scripts in treetrav902022-11-25
|
* Issue #80 - Re-unify most of gfxMoonchild2022-09-08
|
* [DOM] Clip image data transfers.Moonchild2022-06-01
|
* Issue #1829 - Revert "Issue #1751 -- Remove XP_DARWIN"Brian Smith2022-04-26
| | | | This reverts commit 3d671e4275c73a1484c72713304c6e04ec4ffc7c.
* Issue #1829 - Revert "Issue #1751 -- Remove files unused without XP_DARWIN"Brian Smith2022-04-26
| | | | This reverts commit cd1f7241353c35627672dc3f6f73eb8bbd5f4925.
* Issue #1829 - Revert "Issue #1751 -- Remove XP_MACOSX conditionals and ↵Brian Smith2022-04-26
| | | | | | support files from /gfx" This reverts commit 616b39413d570fd98a9a300483a3b657a00fa43b.
* Issue #1804 - Fix building with GCC 11trav902022-04-16
|
* Issue #21 - Remove Telemetry plumbing and fix build.Moonchild2022-04-02
| | | | | Note this won't give working applications. Requires FE changes and additional js module changes (next part).
* Issue #1751 -- Remove XP_MACOSX conditionals and support files from /gfxMoonchild2021-05-02
|
* Issue #1751 -- Remove files unused without XP_DARWINMoonchild2021-05-02
|
* Issue #1751 -- Remove XP_DARWINMoonchild2021-05-02
|
* Issue #1751 -- Remove XP_IOSMoonchild2021-05-01
|
* Issue #1053 - Part 3a: Remove Android conditionals from /gfxMoonchild2020-12-27
|
* [gfx][Skia] Hold mutex while accessing shared SkImage data.Moonchild2020-11-18
|
* Issue #1656 - Part 8: Devtools and misc.Moonchild2020-09-24
|
* Issue #1656 - Part 6: Clean up the build filesMoonchild2020-09-23
|
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Improve dll loading on Windows.Moonchild2020-07-29
|
* Issue #80 - Include gfx/Logging.h in NativeFontResourceMac.cppadeshkp2020-05-15
|
* Issue # 80 - Fix up gfx/2d/DataSurfaceHelpersMoonchild2020-05-14
| | | | | De-unified build requires <string.h> instead of <cstring> to prevent stdlib confusion.
* Issue #80 - De-unify gfx/2dMoonchild2020-05-13
|
* Revert "Issue #190 - Part 1: Remove XP_IOS conditional code"Matt A. Tobin2020-02-28
| | | | This reverts commit 6a3d5769d01ec1a8dd56ea79aec2df91b801ce02.
* Issue #190 - Part 1: Remove XP_IOS conditional codeMatt A. Tobin2020-02-28
|
* [gfx] Put Skia-specific CTOR init behind Skia-conditional.wolfbeast2020-02-21
|
* Correctly return zero vertices if clipping plane 0 or 2 clip away theMarkus Stange2019-09-04
| | | | | | | | | | | | | | | | | | entire polygon. This fixes a bug that was introduced three years ago in BZ bug 1268854. What happened was that the final pass over the polygon assumed that the current polygon was living in plane[0]. But due to the double buffering, the "current" polygon alternates between plane[0] and plane[1]. The bug had also introduced an early exit so that we could hit the final pass at a time where the current, now empty, polygon was in plane[1]. So we would incorrectly treat all 32 points in plane[0] as part of the final polygon. This bug was responsible for intermittently unreasonable numbers in CompositorOGL's fill rate / overdraw overlay. This fixes a regression caused by the fix for CVE-2016-5252.
* Revert "Correctly return zero vertices if clipping plane 0 or 2 clip away the"wolfbeast2019-09-04
| | | | This reverts commit 09a8b2f19689b679b1268a3004ec5e3f37b9732a.
* Correctly return zero vertices if clipping plane 0 or 2 clip away thewolfbeast2019-09-01
| | | | | | entire polygon. This fixes a regression caused by the fix for CVE-2016-5252
* Bug 1360343 - ensure maskSurface is not null before dereference, since it ↵cku2019-04-03
| | | | | | | | | can be null because of OOM or gfx device reset. r=dvander MozReview-Commit-ID: HX2qsWLZpMg --HG-- extra : rebase_source : 046befc11151461a682842c31e2ce39247a5e1d8
* Remove texture layout endian-ness check for Moz2D.wolfbeast2019-03-05
| | | | | | | | This resolves #986. This removes endian-based inversion of texture layout aliases when represented as uint32. This inversion was incorrect and would cause unknown texture formats as a result on big-endian machines (PPC64).
* Switch to Lanczos scaling from Hamming to get acceptable fast downscaling.wolfbeast2018-07-14
| | | | | | | | | | In visual tests we see that Hamming-1 is not as good as Lanczos-2, however it is about 40% faster, and Lanczos-2 itself is about 30% faster than Lanczos-3. The use of Hamming-1 has been deemed an unacceptable trade-off between quality and speed due to the limited pixel space it operates in, so we pick Lanczos-2 here. On modern hardware, Lanczos-2 doesn't have any noticeable impact in normal use.
* Improve the SSSE3 scaler.wolfbeast2018-06-07
|
* Bug 1393367 - Change MOZ_ASSERT to MOZ_RELEASE_ASSERT. r=mstange, r=fbraun, ↵Miko Mynttinen2018-04-19
| | | | | | | | a=RyanVM --HG-- extra : source : 1908cd8ed88dd4f77a99dff39c193d7d3f435195 extra : intermediate-source : 9718d92fab4d9a39acdc2afb0302b6fcd7997f6c
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02