gecko-dev/gfx
Nicholas Nethercote af6751ef10 Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel.
This patch fixes various warnings from MSVC.

- Several "truncation from 'double' to 'float'" warnings, easily fixed by
  appending 'f' to literals.

- Some "signed/unsigned mismatch" warnings. In read_tag_lutType(), MSVC is
  apparently promoting the multiplication of a uint8_t and a uint16_t to an
  int32_t, oddly enough. A uint32_t cast fixes the warning.

- |offset| was unused in qcms_data_create_rbg_with_gamma().

- A couple of "overflow in floating-point constant arithmetic" warnings
  involving INFINITY in transform_util.c. There is some type confusion here --
  in C99 HUGE_VAL is a double and INFINITY is a float. So the HUGE_VAL here
  should actualy be HUGE_VALF. But, strangely enough, that isn't enough to
  avoid the warning, I don't know why. However, it turns out that any
  non-positive value for |interval| will have the same effect, so I just
  removed all the INFINITY/HUGE_VAL stuff and used -1 instead.

It also fixes an ARM-only GCC warning.

- "'__force_align_arg_pointer__' attribute directive ignored". This is an
  x86-only attribute. Instead of disabling it on x86-64, instead enable it on
  i386 (which avoids enabling it uselessly on ARM).

--HG--
extra : rebase_source : 61015b7e48aebd58035fc222abf076e79a99a972
2015-09-17 17:11:27 -07:00
..
2d Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas 2015-09-16 23:39:09 -05:00
angle Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
cairo Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
doc Bug 1203132 - Add an SVG for the B2G flow of touch events. r=botond 2015-09-11 14:36:36 -04:00
docs Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00
gl Bug 1194923 - Call glFlush before glDeleteFramebuffers on Adreno 420 devices. r=snorp 2015-09-17 04:41:00 +02:00
graphite2 Bug 1200098 - Update graphite2 library to release 1.3.2 from upstream. r=jdaggett 2015-09-11 12:31:59 +01:00
harfbuzz Bug 1196463 - Update harfbuzz to release 1.0.3 from upstream. r=jdaggett 2015-09-07 08:22:05 +01:00
ipc Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
layers Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
ots Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium. 2015-08-27 20:44:53 -07:00
qcms Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel. 2015-09-17 17:11:27 -07:00
skia Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
src Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel 2015-09-14 14:18:20 -04:00
tests Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats 2015-09-16 19:10:24 -04:00
thebes Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
vr Bug 1204277 - Disallow warnings in six more directories. r=glandium. 2015-09-14 21:16:37 -07:00
ycbcr Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel 2015-09-07 17:53:36 -04:00
moz.build Bug 1150232 - Stop gap solution until we can integrate the graphics docs. r=mstange 2015-06-19 14:36:23 -04:00