Commit Graph

13666 Commits

Author SHA1 Message Date
Carsten "Tomcat" Book
38e4afc661 Backed out changeset 32358e02e9ae (bug 1139220) 2015-04-02 09:13:08 +02:00
David Anderson
ec0744fa7d Use stronger typing for GetScrollWheelDelta. (bug 1139220 part 5, r=kats) 2015-04-01 23:43:24 -07:00
David Anderson
739db4a5c6 Remove unneeded code from SmoothScrollAnimation. (bug 1139220 part 4, r=kats) 2015-04-01 23:43:20 -07:00
David Anderson
66922ec7f6 Use the main-thread key spline animation logic for Desktop APZ. (bug 1139220 part 3, r=kats,kgilbert) 2015-04-01 23:42:40 -07:00
David Anderson
5eeb4a740b Move AsyncPanZoomAnimation into its own header. (bug 1139220 part 1, r=kats) 2015-04-01 23:17:08 -07:00
Jeff Muizelaar
27ad8a057e Bug 1150124. Move WARP reporter closer to actually testing WARP. 2015-04-01 16:44:13 -04:00
Vladimir Vukicevic
6f2ae277e3 Bug 1149781; Update Oculus runtime for new SDK 0.5; r=jrmuizel 2015-04-01 16:02:21 -04:00
Vladimir Vukicevic
b9175b6f65 Bug 1148009; Add support for Cardboard (and other rotation-sensor based VR) in Firefox for Android; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
fda5495483 Bug 1148009; [webvr] Add Quaternion class to Moz2D; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
30afe366b9 Bug 1148009; [webvr] Move distortion vertex struct into more generic system; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
bfab4099a2 Bug 1148009; [webvr] Split out gfxVROculus from gfxVR, refactor VRHMDManager; r=jrmuizel 2015-04-01 16:02:20 -04:00
Vladimir Vukicevic
d63fb7ab8b Bug 1148009; [webvr] Move gfx vr code to gfx/vr; r=jrmuizel 2015-04-01 16:02:20 -04:00
Brian Smith
7a7d1516e9 Bug 1119776, Part 8: Avoid defining snprintf when MSVC provides it (angle), r=jgilbert 2015-03-31 09:51:27 -10:00
Bas Schouten
66f9f7bf96 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
ad400eecac Bug 1146754 - Show selection highlighting for trailing space. r=mats 2015-04-01 14:45:16 +01:00
Jonathan Kew
d38fd49643 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
f5f8474178 Bug 1125848 - Consolidate PCompositor's creation-destruction logic. r=sotaro 2015-03-09 18:43:39 +01:00
Bob Owen
666e96adb9 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
6f6916116c Bug 1148903 - Allow control characters to be rendered by user fonts. r=roc 2015-04-01 09:02:24 +01:00
Mike Hommey
ccd2a9b975 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
a50dd60cb5 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.
2015-03-31 23:23:56 -04:00
Matt Woodrow
b9044f9109 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
42236287fa 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
9fc27358c4 Bug 1149185 - override GetMessageLoop() r=nical 2015-03-31 06:32:53 -07:00
Kartikaya Gupta
de59c9fe5e 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
4da5ed0b71 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
77420a9c15 Merge m-c to inbound a=merge CLOSED TREE 2015-03-30 19:39:04 -07:00
Mason Chang
d124e63e1e Bug 1148583 - Dispatch touch events before composites. r=kats 2015-03-30 08:12:47 -07:00
Nicolas Silva
e140a853f2 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva
eae4d10b4d Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Timothy Nikkel
23e404d42b 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
8852b5e235 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
edb2bebd2e 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
044e3c623c Bug 1147953. Fix vsync adjustment time to allow negative timestamps. r=jrmuizel 2015-03-30 08:16:11 -07:00
Carsten "Tomcat" Book
abd1345059 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Ted Mielczarek
d7d9e0558c bug 1147490 - fix GLContextProviderNull. r=benwa 2015-01-28 15:10:23 -05:00
Mats Palmgren
2268b8c0ad 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
4cbce406af 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
c6fe8ce231 Bug 1148235. Cleanup the state that we maintain in SimplifyOutwardByArea. r=ehsan
Useless assignment removed and move a duplicated assignment out of the condition.
2015-03-27 14:22:07 -04:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
JerryShih
fc2ddfc356 Bug 1147793 - Remove unnecessary intr semantic in ipdl file. r=bent 2015-03-26 03:04:00 -04:00
Martijn Wargers
404a79b2da Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Bill McCloskey
f7c031c937 Bug 1121072 - Always notify when layers cleared (r=dvander) 2015-03-27 08:38:47 -07:00
Nicolas Silva
8ff8e6ccf2 Bug 1145981 - Backout, missing review 2015-03-27 11:19:22 +01:00
Nicolas Silva
2683def1bf Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro 2015-03-27 11:16:34 +01:00
Nicolas Silva
ba24a94dc6 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
5e23702a92 Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro 2015-03-27 11:16:22 +01:00
Nicolas Silva
301add70f5 Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro 2015-03-27 11:16:18 +01:00
Bas Schouten
fe0d1cea3a 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
dc6670cc17 Bug 1147297. Fix assert vsync adjustment time on windows to be >=. r=jrmuizel 2015-03-26 15:41:49 -07:00
Seth Fowler
75623e5e23 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
93dfb4b89f Bug 1144951. Rename ConvertAppUnits to ScaleToOtherAppUnits. r=mats 2015-03-26 16:44:40 -05:00
Timothy Nikkel
ad3bdef186 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
f5f26c7430 Fix APZCs leaking when a compositor shuts down. (bug 1147681 part 2, r=kats) 2015-03-26 14:24:37 -07:00
David Anderson
412129bebc Allow dispatching to the APZ controller thread from any thread. (bug 1147681 part 1, r=kats) 2015-03-26 14:23:02 -07:00
David Anderson
b033e4e8f6 Fix crashes when a wheel transaction has a null confirmed apzc. (bug 1147249, r=kats) 2015-03-26 14:15:41 -07:00
Vladimir Vukicevic
39e34c99a1 Bug 1147830 - crash in HMDInfoOculus::HMDInfoOculus() on Mac; r=nullcheck 2015-03-26 15:31:08 -04:00
JerryShih
f2921cde16 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
8f16128c35 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
3513b9c09c 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
4febe155df 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
3488081064 Bug 1146034. Cherry pick "Fix struct uniform packing."
This comes from ANGLE commit 2857f489f32372310014888342c6f9c97fac5995
2015-03-25 10:13:31 -04:00
Bas Schouten
079d1073dc Bug 1147439: Report telemetry correctly for individual devices resetting. r=vladan 2015-03-26 05:01:31 +01:00
David Anderson
2b50afd362 Follow-up nit to bug 1147648 (alphabetize prefs). r=kats 2015-03-25 18:39:20 -07:00
David Anderson
358459f2b2 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
9c27825740 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
049dea05b6 Fix some full zoom FrameMetrics changes not propagating to APZ. (bug 1147648, r=botond) 2015-03-25 18:34:56 -07:00
Sotaro Ikeda
e95b8f5f98 Bug 1145389 - Add gralloc allocation requet size check r=nical 2015-03-25 18:05:11 -07:00
Matt Woodrow
9a4501e6bc Bug 1146313 - Null check pData in UpdateConstantBuffers. r=jrmuizel 2015-03-26 13:06:21 +13:00
Matt Woodrow
cea86e0162 Bug 1146315 - Part 2: Release D3D11 YUV textures on the main thread. r=nical 2015-03-26 13:05:25 +13:00
Matt Woodrow
5d909e8689 Bug 1146315 - Part 1: Create D3D media device on the ImageBridge thread. r=nical 2015-03-26 13:04:42 +13:00
Matt Woodrow
02457f633a Bug 1145585 - Hold a ref to the right texture. r=jmuizelaar 2015-03-26 12:57:03 +13:00
Maksim Lebedev
2947df3cef Bug 1143655 - Add sending NS_TOUCH_CANCEL event. r=kats 2015-03-25 12:20:20 -04:00
Kartikaya Gupta
11f7426044 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
f44b19b446 Bug 686225 - Work around buggy AAT fonts for Bengali and Kannada scripts. r=jdaggett 2015-03-25 08:25:49 +00:00
Seth Fowler
5464037382 Bug 1124088 - Rename decode-on-draw to decode-only-on-draw. r=tn 2015-03-24 15:39:00 -07:00
David Anderson
1e86cc0566 Add APZ info to about:support. (bug 1146727, r=jrmuizel) 2015-03-24 15:04:44 -07:00
David Anderson
7bc98f302c Allow synthetic input events to be dispatched asynchronously. (bug 1146243, r=kats) 2015-03-24 15:00:52 -07:00
David Anderson
37a72c0133 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
75594981fd 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
98873cda27 bug 1146027 - more final r=froydnj 2015-03-24 17:51:43 -04:00
Mason Chang
ed82f14198 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
dbbdba9a93 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.
2015-03-13 16:42:00 -04:00
Kushan Joshi
a3c4b7a023 Bug 1101627 - Add touch action regions. r=kats 2015-03-24 09:13:24 -04:00
Sotaro Ikeda
158ab3a077 Bug 1124907 - Call SetCompositor() only when it is valid r=nical 2015-03-24 07:21:15 -07:00
Nicolas Silva
069c04aa26 Bug 1143653 - Backout part of the initial patch because of crashes. 2015-03-24 14:17:27 +01:00
Jeff Gilbert
d3fa3c714d Bug 1144889 - Do proper sRGB detection. - r=kamidphish 2015-03-24 00:11:10 -07:00
Dan Glastonbury
8bcd50ba82 Bug 896693 - Work around glCopyTexImage2D errors on framebuffers backed by IOSurface. r=jgilbert 2015-03-24 12:16:21 +10:00
Botond Ballo
8e066036ed Bug 1145787 - Put a misplaced assertion into its proper place. r=kats 2015-03-20 19:21:04 -04:00
Botond Ballo
0e8ca56b6d Bug 1145345 - Account for a greater variety of rounding errors when comparing coordinates. r=kats 2015-03-20 14:02:07 -04:00
Kartikaya Gupta
8b0a04901c Bug 1145764 - Add logging for tile retention inside a TiledLayerBuffer. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
ad1472508e Bug 1145764 - Add some default-disabled logging to TextureClientPool. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
b1fc721715 Bug 1145764 - Remove unused functions. r=nical 2015-03-23 13:01:02 -04:00
Kartikaya Gupta
02af1d3b3b Bug 1036967 - Follow-up to fix debug logging. r=me 2015-03-23 08:21:10 -04:00
Jonathan Kew
6d27046ad8 Bug 1145934 - Update obsolete glyph-run assertion. r=jdaggett 2015-03-23 11:43:38 +00:00
Matt Woodrow
b66c3ec27e Bug 1145513 - Upload YCbCr image data on the client side when using d3d9 layers. r=nical 2015-03-23 15:13:56 +13:00
David Anderson
049e818efb Add APZ support for test.mousescroll callbacks. (bug 1142866 part 3, r=kats) 2015-03-22 00:42:26 -07:00
David Anderson
e82a9bed2b 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
2788fe89b0 Add wheel transaction support to APZ. (bug 1142866 part 1, r=kats) 2015-03-22 00:36:13 -07:00
Phil Ringnalda
b39967c514 Merge m-c to m-i 2015-03-21 12:50:09 -07:00