gecko-dev/gfx
Kris Maglione 0bfdb4329f Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn
I initially tried to avoid this, but decided it was necessary given the number
of times I had to repeat the same pattern of casting a variable to void*, and
then casting it back in a part of code far distant from the original type.

This changes our preference callback registration functions to match the type
of the callback's closure argument to the actual type of the closure pointer
passed, and then casting it to the type of our generic callback function. This
ensures that the callback function always gets an argument of the type it's
actually expecting without adding any additional runtime memory or
QueryInterface overhead for tracking it.

MozReview-Commit-ID: 9tLKBe10ddP

--HG--
extra : rebase_source : 7524fa8dcd5585f5a31fdeb37d95714f1bb94922
2018-07-06 12:24:41 -07:00
..
2d Bug 1372458 - Fold opacity into filter drawing rather than using a temporary surface. r=bas,mstange 2018-07-14 15:25:49 +12:00
angle Bug 1472851 - Update ANGLE to mozilla/angle/firefox-63. (chromium 3440) r=jgilbert 2018-06-29 19:13:04 -07:00
cairo Bug 1471261 - Fix race condition in cairo-ft when checking whether face is being used. r=lsalzman 2018-06-26 11:37:09 -05:00
config Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj 2018-06-01 10:45:27 +02:00
doc Backed out 3 changesets (bug 1439960) for build bustages on APZInputBridgeChild.cpp and FrameBuilder.cpp. CLOSED TREE 2018-03-20 23:18:44 +02:00
docs
gl Bug 1453795 - GFX - Initialize member fields in classes/ structures. r=jgilbert 2018-07-06 10:56:24 +03:00
graphite2 Bug 1443095 - Update graphite2 library to release 1.3.11 (plus upstream commit 6e24eb7e to fix leak). r=jrmuizel 2018-03-10 10:43:38 +00:00
harfbuzz Bug 1473064 - Update HarfBuzz to version 1.8.3. r=jfkthame 2018-07-11 10:47:57 -04:00
ipc Bug 1469480 - Fix simulate device reset handling r=nical 2018-06-19 19:27:37 +09:00
layers Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-14 01:22:25 +03:00
ots Bug 1465807 - Update OTS to version 7.0.0. r=jfkthame 2018-05-31 11:56:59 -04:00
qcms Bug 1459425: add fuzzing target for qcms. r=bas sr=decoder 2018-06-26 02:40:45 +00:00
sfntly
skia Bug 1443471 - Support mingw clang in skia moz.build r=glandium 2018-06-25 21:22:02 +02:00
src Bug 1474273 - Add xpc::CurrentNativeGlobal and use it instead of NativeGlobal(JS::CurrentGlobalOrNull(cx)). r=bz 2018-07-11 14:07:02 +02:00
tests Backed out changeset 16e2aaf4043c (bug 1474940) for causing crashes on crashtests/1393272.webm 2018-07-13 14:13:05 +03:00
thebes Bug 1473631: Part 0a - Make preference callbacks typesafe. r=njn 2018-07-06 12:24:41 -07:00
vr Bug 1475270 - Avoid deadlock when pausing the compositor while gfxVRExternal is waiting for a SubmitFrame result; r=kip 2018-07-12 17:22:20 +02:00
webrender Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout 2018-07-15 17:57:36 +03:00
webrender_api Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout 2018-07-15 17:57:36 +03:00
webrender_bindings Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout 2018-07-15 17:57:36 +03:00
wrench Backed out 3 changesets (bug 1474300) on request by kats for introducing a crasher a=backout 2018-07-15 17:57:36 +03:00
ycbcr Bug 1422368: Use intrinsics-based YUV functions from Win64 under Win32 clang-cl. r=jrmuizel 2018-04-04 08:41:36 -04:00
moz.build Backed out 2 changesets (bug 1403519) for bustage on \python\mozbuild\mozbuild\test\frontend\test_reader.py on a CLOSED TREE 2018-01-17 07:23:40 +02:00