Commit Graph

18701 Commits

Author SHA1 Message Date
Vladimir Vukicevic
1e5251137d Bug 1148009; [webvr] Move distortion vertex struct into more generic system; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
8e37e99593 Bug 1148009; [webvr] Split out gfxVROculus from gfxVR, refactor VRHMDManager; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
a559c4a0eb Bug 1148009; [webvr] Move gfx vr code to gfx/vr; r=jrmuizel 2015-04-01 16:02:20 -04:00
Brian Smith
f277e7a606 Bug 1119776, Part 8: Avoid defining snprintf when MSVC provides it (angle), r=jgilbert
--HG--
extra : rebase_source : 062079fcb42c4c101ac2fc3669aa7a09d6126324
2015-03-31 09:51:27 -10:00
Bas Schouten
87292f976a Bug 1149864: Do not attempt to create any D3D11 device when safemode is turned on. r=jrmuizel 2015-04-01 19:45:58 +02:00
Jonathan Kew
0aaa1c57da Bug 1146754 - Show selection highlighting for trailing space. r=mats 2015-04-01 14:45:16 +01:00
Jonathan Kew
33944052e0 Bug 1149519 - Workaround for GDI's failure to return empty extents for blank glyphs. r=roc 2015-04-01 12:46:53 +01:00
Nicolas Silva
cb846d13d3 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
e4f543bb58 Bug 1119878 Part 2: Change IPC code to hold ProcessID instead of ProcessHandle. r=billm, r=dvander, r=aklotz, r=cpearce 2015-04-01 09:40:35 +01:00
Jonathan Kew
1bc5b96538 Bug 1148903 - Allow control characters to be rendered by user fonts. r=roc 2015-04-01 09:02:24 +01:00
Mike Hommey
b077d9624d Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd 2015-04-01 13:51:45 +09:00
Jeff Muizelaar
511bc2a95f Bug 1149761. Don't MOZ_CRASH if WARP fails. r=bas
WARP fails sometimes. Who knows why. MOZ_CRASHing
during start up isn't very good to do on startup.

--HG--
extra : rebase_source : 2d1fbc79eee692d207845c81ccfae33704f3b144
2015-03-31 23:23:56 -04:00
Matt Woodrow
b3d4a15c89 Bug 1149343 - Part 1: Unify prefs/blacklist for hardware acceleration video decoding. r=cpearce 2015-04-01 16:06:56 +13:00
L. David Baron
e90b72b9db Bug 847287 patch 13 - Apply animations/transitions on the layer in the order that reflects how they override, rather than the opposite. r=birtles
This independently would have fixed some of the problems fixed in this
bug.  It would not have fixed them fully, though, since it would not
have prevented us from sending animations being covered up by !important
rules to the compositor.
2015-03-31 15:05:55 -07:00
Sotaro Ikeda
051d8b9cef Bug 1149185 - override GetMessageLoop() r=nical 2015-03-31 06:32:53 -07:00
Kartikaya Gupta
2e3b0912f5 Bug 1145295 - Add some debug logging to try and trace an intermittent assertion. r=nical 2015-03-31 08:50:14 -04:00
Mike Hommey
c39e359c7d Bug 1138293 - Use malloc/free/realloc/calloc instead of moz_malloc/moz_free/moz_realloc/moz_calloc. r=njn
The distinction between moz_malloc/moz_free and malloc/free is not
interesting. We are inconsistent in our use of one or the other, and
I wouldn't be surprised if we are mixing them anyways.
2015-03-31 12:32:49 +09:00
Wes Kocher
a3c2aab799 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Mason Chang
9760f43773 Bug 1148583 - Dispatch touch events before composites. r=kats 2015-03-30 08:12:47 -07:00
Nicolas Silva
52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Timothy Nikkel
4c4c9916bc Bug 1149060. Fix dev pixels per CSS pixel and presshell resolution layer dumping after bug 1036967. r=botond 2015-03-30 17:11:12 -05:00
Mats Palmgren
25fa3a4765 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Nicolas Silva
1985a49b47 Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Mason Chang
d01dc35e80 Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
Carsten "Tomcat" Book
5c532881b3 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Ted Mielczarek
7f42ff59ac bug 1147490 - fix GLContextProviderNull. r=benwa
--HG--
extra : rebase_source : 1a888fdce76fdb5d8646cfa5ded3e1bcdb56651f
extra : source : 240e4a99078c16fe0fec662572c3d818d0e9f9af
2015-01-28 15:10:23 -05:00
Mats Palmgren
2121f47090 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Jonathan Kew
d9a4b2e744 Bug 1123654 - Replace use of [deprecated] GetStockObject(DEFAULT_GUI_FONT) with newer API; results in use of Tahoma in place of Microsoft Sans Serif in various contexts. r=jmathies 2015-01-21 22:12:18 +00:00
Jeff Muizelaar
2911685bf3 Bug 1148235. Cleanup the state that we maintain in SimplifyOutwardByArea. r=ehsan
Useless assignment removed and move a duplicated assignment out of the condition.

--HG--
extra : rebase_source : bc67a5ce78608dac1655f050dcf145e0f4fed676
2015-03-27 14:22:07 -04:00
Andrea Marchesini
e6f385fb3d Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
JerryShih
f67f482c15 Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Martijn Wargers
84811f67ae Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Bill McCloskey
3f08e0f807 Bug 1121072 - Always notify when layers cleared (r=dvander) 2015-03-27 08:38:47 -07:00
Nicolas Silva
f50bb18cc5 Bug 1145981 - Backout, missing review 2015-03-27 11:19:22 +01:00
Nicolas Silva
5ea6c11e06 Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Nicolas Silva
932eee262e Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel 2015-03-27 11:16:27 +01:00
Nicolas Silva
aff1fa6b6c Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro 2015-03-27 11:16:22 +01:00
Nicolas Silva
da6cace77d Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro 2015-03-27 11:16:18 +01:00
Bas Schouten
64fec42b5d Bug 1147728: When using WARP, don't try to create a synchronization texture. This will fail on Windows 7. r=jrmuizel 2015-03-27 04:45:54 +01:00
Mason Chang
783db35924 Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Seth Fowler
39007175b4 Bug 1147706 - Warn if we don't use the result of const methods on BaseRect and its subclasses. r=tn 2015-03-26 15:39:47 -07:00
Timothy Nikkel
d6eff64aa4 Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Timothy Nikkel
c4865b4a3a Bug 1144951. Warn if the result of ConvertAppUnits is unused. r=mats
There is never a case where Ignoring the result makes sense.
2015-03-26 16:44:38 -05:00
David Anderson
ffa26889e9 Fix APZCs leaking when a compositor shuts down. (bug 1147681 part 2, r=kats)
--HG--
extra : rebase_source : a8b1f5e0cb2aa0a4a0fce9f788f5e771df3cfcd0
2015-03-26 14:24:37 -07:00
David Anderson
274c9d4c17 Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats)
--HG--
extra : rebase_source : ce0beebda151fdf5adf69e998465c684b193db75
2015-03-26 14:23:02 -07:00
David Anderson
7a289bb6d5 Fix crashes when a wheel transaction has a null confirmed apzc. (bug 1147249, r=kats)
--HG--
extra : rebase_source : 0c17344a9c814dc412caa21453d1b2e2ed1d8921
2015-03-26 14:15:41 -07:00
Vladimir Vukicevic
f9df352463 Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
JerryShih
d726d9fba8 Bug 1145015 - Part 2: Add more checking rules for GrallocBuffer allocation. r=sotaro, r=nical
fix the assert checking.
2015-03-24 18:40:00 -04:00
JerryShih
fc1e027e12 Bug 1145015 - Part 1: Remove IsValidKey() check in MagicGrallocBufferHandle serializer. r=sotaro, r=nical
There is a data racing problem in IsValidKey() and we don't need to check the
index in serializer. The index is always invalid when we alloc new buffer.
2015-03-24 03:19:00 -04:00
Jonathan Kew
2fad07bfc9 Bug 1137588 - patch 2 - Use a better default vOrigin in fonts without real vertical metrics. r=jdaggett 2015-03-26 12:23:55 +00:00
Jonathan Kew
179a4271ab Bug 1137588 - patch 1 - Read the second array in 'vmtx' correctly to get glyph vertical origins. r=jdaggett 2015-03-26 12:23:45 +00:00
Jeff Muizelaar
470a5f318f Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995

--HG--
extra : rebase_source : 0a950753cbe67051ad1fa99dfe3d3b8c53f0d062
2015-03-25 10:13:31 -04:00
Bas Schouten
4631908ab5 Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
David Anderson
3eefa67684 Follow-up nit to bug 1147648 (alphabetize prefs). r=kats 2015-03-25 18:39:20 -07:00
David Anderson
c974fd18b3 Improve bad APZ wheel pref detection in about:support. (bug 1147223 part 2, r=kats) 2015-03-25 18:37:33 -07:00
David Anderson
11dca95ed5 Fix wheel events not applying root scroll delta overrides. (bug 1147223 part 1, r=kats) 2015-03-25 18:36:41 -07:00
David Anderson
204bc78fed Fix some full zoom FrameMetrics changes not propagating to APZ. (bug 1147648, r=botond) 2015-03-25 18:34:56 -07:00
Sotaro Ikeda
dfcae94801 Bug 1145389 - Add gralloc allocation requet size check r=nical 2015-03-25 18:05:11 -07:00
Matt Woodrow
b47f624ddc Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel
--HG--
extra : rebase_source : 468e7af0dc2208962892610c4cf2f8033d39fc60
2015-03-26 13:06:21 +13:00
Matt Woodrow
439798a572 Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical
--HG--
extra : rebase_source : 6d8d17dd02bb63a8ea0adcd94de891aad369d6dc
2015-03-26 13:05:25 +13:00
Matt Woodrow
a5a35423f7 Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical
--HG--
extra : rebase_source : 29a7c9e7fb5ab2726cb9a3868b85a5c0292a38b4
2015-03-26 13:04:42 +13:00
Matt Woodrow
abe801b442 Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar
--HG--
extra : rebase_source : e000ff00ef1a25e040572a21775cfbf0efb32485
2015-03-26 12:57:03 +13:00
Maksim Lebedev
9e2e275653 Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Kartikaya Gupta
52c482890f Bug 1143665 - Remove the ambiguous scroll position being passed around in scroll started/stop notifications. r=roc,ehsan 2015-03-25 07:52:37 -04:00
Jonathan Kew
a309bff7b9 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
5e1bf3762e Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
d96e85937b Add APZ info to about:support. (bug 1146727, r=jrmuizel)
--HG--
extra : rebase_source : 8758865fbde29af687fbe00fe64cc03fc8cb2cde
2015-03-24 15:04:44 -07:00
David Anderson
d5f5272884 Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
1e87fb5a4b Clamp APZ wheel event deltas to the size of a page scroll. (bug 1146676, r=kats) 2015-03-24 14:59:41 -07:00
David Anderson
0edd0b1707 Don't route wheel events through APZ if they require custom deltas. (bug 1146674, r=kats) 2015-03-24 14:58:49 -07:00
Trevor Saunders
d5851ef31c bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang
ba8626d695 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Kearwood (Kip) Gilbert
f97c17593c Bug 1035611 - Part 1: Updated Matrix4x4::ProjectRectBounds to properly handle infinite values when untransformed rects cross the w=0 plane. r=mattwoodrow
- Added specialized rect clipping functionality to Matrix4x4::ProjectRectBounds
  so we don't have to return infinite values when rects cross the w=0 plane
  in homogenous coordinate space.
- Updated callsites of ProjectRectBounds to pass a clipping rect that is
  appropriate for the units that are returned.

--HG--
extra : rebase_source : 9b1088a77e88259e2c32379ade23fbc2236596fb
2015-03-13 16:42:00 -04:00
Kushan Joshi
98880a696a Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Sotaro Ikeda
0f3eb5e996 Bug 1124907 - Call SetCompositor() only when it is valid r=nical 2015-03-24 07:21:15 -07:00
Nicolas Silva
9df6e6f9a8 Bug 1143653 - Backout part of the initial patch because of crashes. 2015-03-24 14:17:27 +01:00
Jeff Gilbert
5643850512 Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Dan Glastonbury
63a4eb24e5 Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert 2015-03-24 12:16:21 +10:00
Botond Ballo
9d41c408f3 Bug 1145787 - Put a misplaced assertion into its proper place. r=kats
--HG--
extra : source : 04c4a02aece447cc7f6babd104b2c65070ccffdc
2015-03-20 19:21:04 -04:00
Botond Ballo
9bef23d187 Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates. r=kats
--HG--
extra : source : af3b6caa84116a5f95783ed9262326f4917b6b90
2015-03-20 14:02:07 -04:00
Kartikaya Gupta
0e43c5e14d Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
80dc89efcd Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
d79161eaa1 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
4f3ac11b79 Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Jonathan Kew
606aaa726c Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
Matt Woodrow
28fe00ec0c Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical
--HG--
extra : rebase_source : be290c542566bc5650b45bfc2f892c8edf5fd14a
2015-03-23 15:13:56 +13:00
David Anderson
fba0c47c1f Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
302fa4036d End APZ wheel transactions when the mouse moves out of frame. (bug 1142866 part 2, r=kats,botond) 2015-03-22 00:42:25 -07:00
David Anderson
a0a7580fcf Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
fc8b8ab2ac Merge m-c to m-i 2015-03-21 12:50:09 -07:00
Phil Ringnalda
9ef50f3565 Merge f-t to m-c, a=merge 2015-03-21 12:47:01 -07:00
Jeff Muizelaar
33f4dd4b03 Bug 1144136. Remove unneeded Flush() from D3D11 compositor. r=bas
I don't think we need this because the Present() call has an implicit flush.

--HG--
extra : rebase_source : f82939a6c4a5ff9e962ec4d312dd1db9211085cd
2015-03-21 15:07:06 -04:00
Botond Ballo
61cf0d4e08 Bug 1145702 - Make the assertion in Axis::GetOverscroll() more informative. r=Cwiiis
--HG--
extra : source : 9384f096b94ec51b5140699e60b26b611fa05fd2
2015-03-20 13:02:23 -04:00
Wes Kocher
14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Wes Kocher
6273ddc7a4 Backed out changeset fca0ab2e718d (bug 1121072) for frequent bc3 failures 2015-03-20 17:17:48 -07:00
Kartikaya Gupta
94a427eede Bug 1139469 - Guard against a null compositor loop during startup on B2G. r=botond 2015-03-20 15:28:04 -04:00
Trevor Saunders
9c7d57e2ae bug 1183967 - fixup correct case of mfidl.h 2015-03-20 15:18:26 -04:00
Ehsan Akhgari
883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jannis Pinter
6391804878 Bug 1142260 - Re-sorted the prefs in gfxPrefs.h and added a big scary warning at the bottom of the list. r=kats 2015-03-21 10:33:25 -04:00