summaryrefslogtreecommitdiff
path: root/gfx
Commit message (Collapse)AuthorAge
* Issue #2343 - replace MOZ_FALLTHROUGH with [[fallthrough]]Moonchild2023-11-11
| | | | Basically a S&R. Removed the macro and adjusts IDL codegen accordingly.
* Issue #2342: Use [[nodiscard]] in /gfx and /layoutMoonchild2023-11-08
|
* Issue #2281 - The 'register' storage class is no longer a thing in c++17Moonchild2023-11-05
|
* Issue #2364 - Limit the growth of scaling for animated nsDisplayTransformMoonchild2023-11-01
| | | | | | | | | | | | | | in the fallback case. This ensures we don't scale the underlying size of the layer beyond what is close to the current display size. When box shadows get much larger than this, they start taking so much time to render that successive frames grow in scale too fast for any inter-frame reuse to be possible. With this, we avoid that and no longer get crushed by re-rendering gigantic box shadows every single frame. See BZ 1383825
* [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 - Only use HWA AlphaBoxBlur when targets are large enough.Moonchild2023-11-01
| | | | | | | | There's considerable cost associated with creating HWA draw targets which would negate and regress the performance won by it if used for too small targets (like small spans of text). This only uses HWA if >= 8K SurfaceAllocationSize to balance HWA draw target cost with box blur cost.
* 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.
* [WebGL] Add preffed limit to WebGL vertCountMoonchild2023-10-25
| | | | Defaults to 30M, working around driver bugs (looking at you, Mesa)
* Issue #2357 - Paused WebM videos w/alpha are 100% transparent if HA is disabled.Jeremy Andrews2023-10-24
| | | | | | Mozilla found a bug in their initial implementation, causing paused WebM videos with alpha to become totally transparent if hardware acceleration is disabled. Straight port of the Firefox 54 fix. Ref: BZ 1332952
* Issue #2357 - VPXDecoder does not decode alpha frames.Jeremy Andrews2023-10-24
| | | | | | Another requirement to have transparency in videos. Straight port of Firefox 53 implementation, save for some oddities relating to needing to put uint8_t instead of uint8 in yuv_convert to get this to compile. Ref: BZ 1321076, 1329104
* Make Gecko Media Plugins optional when not building EME or WebRTCMatheus Marinho2023-08-31
| | | | Co-authored-by: Moonchild <moonchild@palemoon.org>
* [gfx] Check if we have a valid texture before trying to delete it.Moonchild2023-08-31
|
* 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 #1862 - Follow-up: Replace deprecated Harfbuzz functions with current ↵Job Bautista2023-04-30
| | | | | | ones. Based on Mozilla bug 1500356.
* Issue #61 - Follow-up: Fix xul.dll link bustage related to Skia.Job Bautista2023-04-20
|
* Issue #61 - Follow-up: Fix gkmedias.dll link bustage related to Skia.Job Bautista2023-04-20
| | | | I don't understand why SK_API is being a problem, but it seems they are.
* Revert "Issue #61 - Place Skia in libxul"Job Bautista2023-04-20
| | | | This reverts commit 39cebe99e2db22d9e725499bf309b5668fcee413.
* Issue #2191 - Follow-up: Add missing mozilla::gfx in gfxFcPlatformFontList.cppJob Bautista2023-04-05
| | | | Fixes build bustage in GNU/Linux
* Issue #2191 - Remove virtual from gfxFont::GetCairoScaledFont.Job Bautista2023-04-05
| | | | Backported from Mozilla bug 1385029.
* Issue #2191 - Require implementation of gfxFont::GetScaledFont and remove ↵Job Bautista2023-04-05
| | | | | | unnecessary gfxPlatform::GetScaledFontForFont. Backported from Mozilla bug 1385029.
* Issue #2191 - Remove redundant CairoScaledFont accessor from gfxFont subclasses.Job Bautista2023-04-05
| | | | Backported from Mozilla bug 1385029.
* Issue #2191 - Get rid of gfxFontconfigUtils.h since gfxFontconfigFontBase is ↵Job Bautista2023-04-05
| | | | | | unnecessary. Backported from Mozilla bug 1385029.
* Issue #2191 - Make ScaledFont::SetCairoScaledFont virtual so it can be ↵Job Bautista2023-04-05
| | | | | | accessed from outside Moz2D. Backported from Mozilla bug 1385029.
* Issue #2191 - Remove as much old fontconfig support as needed for Harfbuzz ↵Job Bautista2023-04-05
| | | | | | | | | | | | | 7.1.0 update. Based on Mozilla bugs 1119128, 1285533, and 1421964. gfx.font_rendering.fontconfig.fontlist.enabled is no longer available. gfxFontconfigUtils.h still exists, and will be removed in another commit. Just need more research on bug 1385029. Tag #1862
* Issue #1862 - Part 2: Update harfbuzz's build system for 7.1.0.Job Bautista2023-04-05
| | | | | | | Harfbuzz upstream seems to have fixed all conflicts originally encountered before 2.6.0, so let's unify all harfbuzz's sources. Some parts of README-mozilla (now README-mcp) no longer apply, so update that as well.
* Issue #1862 - Part 1: Update harfbuzz source to 7.1.0.Job Bautista2023-04-05
|
* [GFX] Add some sanity checks and clamps to SurfaceData calculations.Moonchild2023-03-16
|
* Issue #2131 - Remove image.webp.enabled preferenceMoonchild2023-02-27
|
* Issue #2101 - Part 7: Add color range support on GPUsu3shit2023-02-26
|
* Issue #2101 - Part 6: Plumbing of ColorRange between video decoders and YUV ↵u3shit2023-02-26
| | | | convert
* Issue #2101 - Part 4: Add color range support to gfx/ycbcru3shit2023-02-26
| | | | | Loosely based on current mozilla code https://hg.mozilla.org/mozilla-central/file/25a8668d92431d469b443f0f2030328bab754aea/gfx/ycbcr/yuv_convert.cpp
* Issue #2101 - Part 3: Update libyuvu3shit2023-02-26
| | | | | Updated to version 1861, git revision 88b050f337cc0ca2a51800fe7bf4737222c87344 from https://chromium.googlesource.com/libyuv/libyuv/
* Issue #2101 - Part 2: Use stdint.h types instead of uint8 and friendsu3shit2023-02-26
| | | | Required for upcoming libyuv update
* Issue #2101 - Part 1: Add mColorRange info to YCbCrBufferu3shit2023-02-26
| | | | https://hg.mozilla.org/integration/autoland/rev/6f4c7904cda8
* Issue #2118 - Part 2: Add support for Identity YUVColorSpaceu3shit2023-02-26
| | | | https://hg.mozilla.org/mozilla-central/rev/be342c90755d11551623362f2058c0326f63bbb3
* Issue #2118 - Part 1: Update gfxUtils YuvColorMatrix functions to match ↵u3shit2023-02-26
| | | | | | upstream mozilla code more closely. https://hg.mozilla.org/mozilla-central/file/4fba5295dc19f9d2f5d065ba502a44d8f2dc9e85/gfx/thebes/gfxUtils.cpp#l1246
* Issue #2073 - m-c 1454149: Do not advance animated images which are not ↵Martok2023-01-04
| | | | displayed
* Issue #2073 - m-c 523950: Discard decoded frames of very large GIF ↵Martok2023-01-04
| | | | | | | | | | | | animations (squashed) Controlled by image.animated.decode-on-demand.threshold-kb, default 256MB Includes squashed bugfixes/regressions: - m-c 1444537: Shutting down the decode pool should make animated decoders bail early - m-c 1628606: Make sure to mark the surface cache entry available before sending the frame complete notification - m-c 1502275: Skip recreating the decoder after redecode errors if an animated image is reset - m-c 1443232: Don't insert frames into our AnimationFrameBuffer that we consider in error and unusable
* Issue #2073 - m-c 1343341: Infrastructure necessary to allow discarding of ↵Martok2023-01-03
| | | | | | | | | animated images (squashed) Includes squashed changes of: - m-c 1317907: Refactor FrameAnimator::GetCompositedFrame to be a bit simpler - m-c 1351434: bugfix - m-c 686905: Enable the pref image.mem.animated.discardable to allow discarding of animated images
* [No issue] Add executable bit to shell scripts in treetrav902022-11-25
|
* Issue #1769 - Follow-up: Default-enable JPEG-XL images if builtMoonchild2022-11-11
| | | | | | Sets the pref default to true and also add conneg entry for images if jxl support is built. Additionally, ifdefs the GfxPref to only observe when jxl is built.
* Merge branch 'master' into 1769-take2Moonchild2022-11-07
|\
| * [WebGL] Implement webgl.max-size-per-texture-mibMoonchild2022-10-26
| |
| * Issue #21 - Remove panning/tab animation performance measurementsMoonchild2022-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Based on FranklinDM's follow-up for the issue. This would require browser FE changes, particularly removing the associated code in `tabbrowser.xml`, however, that was already done in Pale Moon previously. Other front-end applications may need to take note, though. Based on changes from the following bugs: * Bug 696398 - Need an api to analyze panning performance * Bug 800031 - Include paint time in tab switch telemetry * Bug 820167 - Enable performance measurement of tab animation * Bug 826383 - Improve Start/Stop FrameTimeRecording for telemetry usage
| * Issue #80 - Re-unify most of gfxMoonchild2022-09-08
| |
| * Merge branch 're-unify'Moonchild2022-09-06
| |\
| | * Issue #80 - reinstated unified building for some large chunks of our code.Moonchild2022-09-04
| | | | | | | | | | | | This should reduce compile complexity saving time and reducing linker stress.