gecko-dev/gfx
Mike Hommey c66fa55695 Bug 1787085 - Fix undefined behavior from cast from float to char. r=gfx-reviewers,lsalzman
Floating-point -> integral conversions rules are such that if the value
cannot fit into the destination type, the behavior is undefined. So when
casting a value between 0.0 and 255.0 to a char, it is not defined what
happens to values above 127 on platforms where char is signed. So far,
we've been lucky that the compiler made it work, but that's not true
anymore in clang 15, which ends up doing the equivalent of
`std::min((unsigned char)(255.0f * x), (unsigned char)127)`, which is
about as valid as anything else considering undefined behavior.

Differential Revision: https://phabricator.services.mozilla.com/D156256
2022-09-02 01:37:03 +00:00
..
2d Bug 1787085 - Fix undefined behavior from cast from float to char. r=gfx-reviewers,lsalzman 2022-09-02 01:37:03 +00:00
angle Bug 1661450 - 5/8 Fix build system to handle undefined MOZ_X11 r=stransky 2022-04-20 09:32:08 +00:00
cairo Bug 1778158 - quartz: Avoid reading beyond the end of image surfaces. r=jfkthame 2022-07-06 12:25:10 +00:00
config Bug 1785366 - Blocklist backdrop filter on some Ivy/Sandybridge Intel Windows drivers. r=jrmuizel,emilio 2022-08-18 12:29:20 +00:00
docs Bug 1780018 - Fix the link for reftests docs in APZ docs. r=botond 2022-07-18 16:57:32 +00:00
gl Bug 1771011 - part2 : wrap media engine's dcomp handle, and use it on our gfx pipeline in the GPU process.r=jolin,sotaro 2022-08-13 23:48:07 +00:00
graphite2 Bug 1722127 - Modify rlbox graphite struct defs for windows compat r=tjr 2021-07-27 13:09:44 +00:00
harfbuzz Bug 1781558 - Update HarfBuzz to 5.1.0. r=jfkthame 2022-08-10 17:47:44 +00:00
ipc Bug 1783923 - Ensure WebRenderImageHost::OnReleased() is called during WebRenderBridgeParent shutdown r=gfx-reviewers,lsalzman 2022-08-26 23:20:55 +00:00
layers Bug 1788241 - Ensure WebRenderImageHost::OnReleased() is called in ImageBridgeParent::ActorDestroy() r=lsalzman 2022-09-01 05:22:23 +00:00
ots Bug 1519636 - Reformat recent changes to the Google coding style r=andi,media-playback-reviewers,necko-reviewers,padenot,dragana 2022-06-07 12:32:55 +00:00
qcms Bug 1783985 - Remove compat with rustc < 1.61 from qcms. r=gfx-reviewers,jgilbert,jrmuizel 2022-08-16 00:56:24 +00:00
skia Bug 1774522 - Make Skia C++20 compatible by replacing deprecated std::result_of_t. r=lsalzman 2022-06-17 02:13:46 +00:00
src Bug 1785310 - Remove mozilla/StaticPrefs_layout.h includes from other headers. r=dholbert 2022-08-17 21:26:36 +00:00
tests Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel 2022-08-31 11:24:31 +00:00
thebes Bug 1787706 - Increase the blob tile size to 512. r=jrmuizel 2022-08-31 11:24:31 +00:00
vr Bug 1784812 - Use common JSONWriteFuncs when writing to a string - r=canaltinova,media-playback-reviewers,alwu 2022-08-17 07:07:54 +00:00
webrender_bindings Bug 1788774 - Remove unused slow subpixel rendering path r=gfx-reviewers,lsalzman 2022-09-01 21:34:17 +00:00
wgpu_bindings Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio 2022-08-16 07:08:28 +00:00
wr Bug 1788774 - Remove unused slow subpixel rendering path r=gfx-reviewers,lsalzman 2022-09-01 21:34:17 +00:00
ycbcr Bug 1698699 - P7 - add missing include for hybrid builds. r=ng 2022-06-28 16:29:41 +00:00
metrics.yaml Bug 1785251 - Submit a Glean 'pseudo-main' ping when Telemetry submits a 'main' ping r=TravisLong 2022-08-24 18:29:03 +00:00
moz.build Bug 1722653 - Remove --enable-system-cairo. r=firefox-build-system-reviewers,jrmuizel,andi 2021-07-29 23:38:30 +00:00