Commit Graph

15059 Commits

Author SHA1 Message Date
David Anderson
08af1c35ab Handle screen and multiply blend modes in the D3D11 compositor. (bug 1203829 part 4, r=mattwoodrow) 2015-09-15 01:04:37 -07:00
David Anderson
3d562fc5d6 Refactor shader initialization in CompositorD3D11. (bug 1203829 part 3, r=mattwoodrow) 2015-09-15 01:04:17 -07:00
David Anderson
7b232067b8 Compile shaders with newer fxc. (bug 1203829 part 2, r=mattwoodrow) 2015-09-15 01:04:09 -07:00
Nicholas Nethercote
0c8dfbfdaf Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.
2015-09-14 21:16:37 -07:00
Bas Schouten
a79220f8ee Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Wes Kocher
dd5ca2c5b4 Backed out changeset be88a56c4856 (bug 1197534) for test_BufferingWait.html crashes CLOSED TREE 2015-09-14 14:43:52 -07:00
Michael Layzell
399bdd143d Bug 1202794 - Explicitly clear array in SortChildrenBy3DZOrder to satisfy the move analysis, r=mattwoodrow 2015-09-14 16:04:11 -04:00
Matt Woodrow
0c0cd60ed7 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel 2015-09-14 14:18:20 -04:00
Matt Woodrow
c4e2adb643 Bug 1203744 - Fix the SCREEN blend mode with CompositorOGL when the source data is unpremultiplied. r=dvander 2015-09-14 14:17:39 -04:00
Matt Woodrow
b0ace497cd Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Kearwood (Kip) Gilbert
06df4ed8f4 Bug 914457 - Part 2: Implement Crashtest
- Implemented a crashtest based on the testcase.
2015-09-14 09:26:13 -07:00
Kearwood (Kip) Gilbert
b3c5ac8d7e Bug 914457 - Part 1: Use an empty clip rect for layers with an empty visible region
- Layer::CalculateScissorRect no longer asserts when all children of a
  3d transformed layer have an empty visible region.
2015-09-14 09:26:10 -07:00
Masayuki Nakano
093b183f70 Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
35331f6652 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
0a89e2e88e Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
a89904392c Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Kartikaya Gupta
db97aebf53 Bug 1203992 - Distinguish between SingleTiledContentClient and MultiTiledContentClient in the layer tree dump. r=nical 2015-09-14 11:02:11 -04:00
Milan Sreckovic
9bee28830f Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
David Anderson
2156739fc2 Don't attempt to use WARP after D3D11CreateDevice crashes. (bug 1201202, r=bas) 2015-09-13 23:52:29 -07:00
David Anderson
c06300e224 Don't run the compositor:created notification from within unsafer callers. (bug 1201684, r=mattwoodrow) 2015-09-13 23:51:45 -07:00
Phil Ringnalda
abd03bf63c Merge f-t to m-c, a=merge 2015-09-12 09:13:57 -07:00
Phil Ringnalda
07b4d9e758 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Phil Ringnalda
c5faed392a Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Kartikaya Gupta
9de1a210fe Bug 1203132 - Add an SVG for the B2G flow of touch events. r=botond
DONTBUILD because NPOTB
2015-09-11 14:36:36 -04:00
Phil Ringnalda
d36fd5420f Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Botond Ballo
745ddc036b Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats 2015-09-11 12:52:43 -04:00
Botond Ballo
21e7afbe57 Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats 2015-09-11 12:27:49 -04:00
Kartikaya Gupta
423b524153 Bug 1201581 - Hook up the syncFrameMetrics call to sync metrics info from the compositor to Java-land on each composite. r=rbarker 2015-09-11 21:58:16 -04:00
Kartikaya Gupta
c08bbf1c84 Bug 1201581 - Extract a helper method. r=rbarker 2015-09-11 21:58:16 -04:00
Kartikaya Gupta
451162b0be Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond 2015-09-11 21:58:16 -04:00
Kartikaya Gupta
c7c0477ba5 Bug 1201529 - Fall back to rootmost metrics if there is no root content document metrics. r=botond 2015-09-11 21:58:15 -04:00
Wes Kocher
99db0234bd Backed out 4 changesets (bug 1182665) for android reftest orange CLOSED TREE
Backed out changeset 719a4fbded10 (bug 1182665)
Backed out changeset 9559cead8d08 (bug 1182665)
Backed out changeset 4080fb4b9a7f (bug 1182665)
Backed out changeset c8549221c366 (bug 1182665)
2015-09-11 11:21:56 -07:00
Wes Kocher
355b6bb492 Backed out changeset 5b9886673514 (bug 1201541) for android reftest orange CLOSED TREE 2015-09-11 11:21:22 -07:00
Wes Kocher
48eb027fda Backed out 3 changesets (bug 1178376) for android reftest bustage CLOSED TREE
Backed out changeset 9394c5f63b56 (bug 1178376)
Backed out changeset 83295d5f54a9 (bug 1178376)
Backed out changeset 5e1c6511123a (bug 1178376)
2015-09-11 11:20:23 -07:00
Wes Kocher
2e1f4bc8a0 Backed out changeset f0fbe3de27cb (bug 1127270) for b2g debug mochitest failures CLOSED TREE 2015-09-11 10:58:47 -07:00
James Willcox
53133cbf48 Back out 69e7d484b749452e7c7ba2ab01f66f71c6339a6b due to Android 4.0 debug reftest failures 2015-09-11 11:27:24 -05:00
Carsten "Tomcat" Book
431461d251 Merge mozilla-central to fx-team 2015-09-11 16:42:01 +02:00
Victor Porof
9231ac0501 Bug 1200252 - Add marker for when the IPC request for a composite is sent to the compositor thread, r=jsantell,matt 2015-09-11 07:59:53 +02:00
Jim Mathies
3601814d21 Bug 1137944 - Backout compositor bits (cset b4711fa5f734) which caused a telemetry metric regression. r=backout 2015-09-08 18:14:51 -05:00
Milan Sreckovic
4da79514ed Bug 1160295 - Part 2. Make sure the DLLs are loaded before checking the version. r=bas 2015-09-04 08:52:00 +02:00
Robert O'Callahan
a2eb5ff4a5 Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange 2015-09-07 17:09:11 +12:00
Robert O'Callahan
8a5d22733a Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange 2015-09-07 17:11:35 +12:00
Robert O'Callahan
94aec1bd5e Bug 1202317. Bail out early if RequestRect is going to do redundant work. r=mstange 2015-09-07 17:08:36 +12:00
Nathan Froyd
142ead6e35 Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel
NS_GFX last meant something prior to bug 648911, which removed support
for non-libxul builds.  Now that it's meaningless, let's get rid of it.
2015-09-07 17:53:36 -04:00
John Daggett
cd38bedf03 Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato 2015-09-11 13:24:33 +09:00
John Daggett
2807bf1de5 Bug 1201183 - handle font family name OOM error. r=nfroyd 2015-09-11 09:40:30 +09:00
Matt Woodrow
364da5a9e2 Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel 2015-09-01 15:33:40 -04:00
Matt Woodrow
9fb0606cd1 Bug 1202700 - Use d3d9 device to upload YCbCr surfaces on the client side if possible. r=Bas 2015-09-10 13:21:43 -04:00
Nicholas Nethercote
2c450343f3 Bug 1203379 - Fix indentation of gfxWordCacheTest.cpp. r=jrmuizel.
This file has an intriguing mix of 1, 2, 3 and 4 space indentation, which this
patch fixes. The patch also fixes a small number of other style violations,
such as long lines.
2015-09-09 20:51:33 -07:00
Jeremy Chen
74ec3319ed Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc 2015-09-08 18:16:00 +02:00
Lee Salzman
f0557f94ee Bug 1201272 - use a SkBlurImageFilter for Skia canvas shadows so we can better control composite operations. r=gwright 2015-09-04 15:29:11 -04:00
Jonathan Kew
1a7a3b7a57 Bug 1196463 - Update harfbuzz to release 1.0.3 from upstream. r=jdaggett 2015-09-07 08:22:05 +01:00
John Daggett
2e80146473 Bug 1201403 - streamline MacOSFontEntry::HasFontTable implementation. r=jfkthame 2015-09-07 16:01:59 +09:00
Makoto Kato
9bd627e4ba Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame 2015-09-07 11:54:46 +09:00
David Anderson
200776139f Remove a pref that forces directwrite on when D2D is blocked. (bug 1193641, r=milan) 2015-09-04 17:47:49 -07:00
David Anderson
33ae294888 Ensure scroll info layers have a dispatch-to-content region. (bug 1193557 part 2, r=kats) 2015-09-04 17:18:03 -07:00
David Anderson
8997966269 Backout changeset b5e6116756b6 (wrong bug number). 2015-09-04 17:44:23 -07:00
David Anderson
deaa78a29f Add a test case for bug 1193557, r=kats. 2015-09-04 17:18:11 -07:00
David Anderson
1f30b6d973 Ensure scroll info layers have a dispatch-to-content region. (bug 1193641 part 2, r=kats) 2015-09-04 17:18:03 -07:00
Jim Mathies
3b80a4947e Bug 1201660 - When layer tree updates get dropped, hide plugins associated with the tree. Fixes a bug where we were hiding all plugins associated with the window. r=matt.woodrow 2015-09-04 16:18:55 -05:00
Jeff Muizelaar
f2c966fa6f Bug 1180225. Make convolver more like upstream. r=seth
This fixes uninitialised reads.
2015-08-27 16:06:37 -04:00
Sebastian Hengst
e11b689604 Backed out 8 changesets c8de1f3f0bf3, fc0ab17babda, 051166e3d6e4, 2c11c33beb7c, f52ff32dfb47, 9fe51adf6a70, 6ad2ac42107c, 022810f9a65a (bug 1083101) for for frequent gtest timeouts in Moz2D.TaskScheduler_Join. r=backout on a CLOSED TREE 2015-09-04 20:03:45 +02:00
Michael Pruett
a7197dcda6 Bug 1201277 - Replace functors with lambdas in APZCTreeManager. r=botond 2015-09-03 23:09:46 -05:00
Nicolas Silva
024becdb91 Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-04 14:28:31 +02:00
Nicolas Silva
9fbccefad1 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-04 14:28:20 +02:00
Nicolas Silva
cbd13b6f34 Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-04 14:27:52 +02:00
Nicolas Silva
6e3674a0d3 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-04 14:27:43 +02:00
Nicolas Silva
23d0ba6ddb Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
59f895d51f Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-04 14:27:30 +02:00
Nicolas Silva
d63d1c9ad4 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-04 14:27:26 +02:00
Nicolas Silva
120c8c481e Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-04 14:27:17 +02:00
Jonathan Kew
7c366c8c6e Bug 1201518 - Remove the (unused) HBGetEastAsianWidth callback from gfxHarfBuzzShaper. r=jdaggett 2015-09-04 12:59:19 +01:00
David Anderson
868c38d616 Relax the driver crash guard on nightly and e10s builds. (bug 1200825, r=jgilbert) 2015-09-03 21:05:41 -07:00
Kartikaya Gupta
a5be5a2296 Bug 1201625 - Special-case B2GDroid since it doesn't have a root content document. r=rbarker 2015-09-03 23:18:52 -04:00
Jeff Muizelaar
80fff3e947 Bug 1197296. Check the error code of Map. r=bas 2015-09-10 11:04:01 -04:00
James Willcox
326bce224f Bug 1178376 - Optionally fade in new progressively painted tiles r=nical 2015-09-11 09:09:51 -05:00
James Willcox
709909d089 Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa 2015-09-11 09:09:49 -05:00
James Willcox
47822a127c Bug 1178376 - Put progressive paint status in tile updates r=nical 2015-09-11 09:09:48 -05:00
James Willcox
00da6db83d Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-11 09:09:47 -05:00
James Willcox
28be03e4c2 Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-11 09:09:44 -05:00
James Willcox
a0e96ceae4 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-11 09:09:19 -05:00
James Willcox
8d409dfc36 Bug 1182665 - Add gfxPlatform::CanUseDoubleBufferedContent() r=nical 2015-09-11 09:09:18 -05:00
James Willcox
67afbcf566 Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical 2015-09-11 09:09:17 -05:00
Bas Schouten
bd33092871 Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Jonathan Kew
24819aa19f Bug 1200098 - patch 3 - Pass the gr_nobidi flag when shaping with graphite2, as we split text into unidirectional runs ahead of time. r=jdaggett 2015-09-11 12:32:00 +01:00
Jonathan Kew
0688b860db Bug 1200098 - Update graphite2 library to release 1.3.2 from upstream. r=jdaggett 2015-09-11 12:31:59 +01:00
Jim Mathies
b7424c841e Bug 1137944 - Fire before and after composite events. r=matt.woodrow 2015-09-03 09:55:23 -05:00
Jim Mathies
708b1d9117 Bug 1137944 - Simplify the api associated with hiding e10s plugin widgets. r=roc 2015-09-03 10:01:33 -05:00
Kartikaya Gupta
e5382cb5a1 Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.
2015-09-03 10:30:41 -04:00
Jed Davis
6493a60a6c Bug 1198979 - GC unused IPDL struct member. r=jmuizelaar 2015-09-02 08:56:00 +02:00
Lee Salzman
5b86beef4f Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Carsten "Tomcat" Book
95e9b585b9 Backed out changeset edc0db4368a0 (bug 1199361) for suspicion of making OS X 10.6 reftest failing very frequently 2015-09-03 08:39:48 +02:00
Carsten "Tomcat" Book
bd077949e2 Backed out changeset 446055bf8ee4 (bug 1199371) 2015-09-03 08:38:28 +02:00
Carsten "Tomcat" Book
c62aad0d5e Backed out changeset aef5095f71da (bug 1199371) 2015-09-03 08:38:18 +02:00
Phil Ringnalda
b6b1f1cc7f Back out 71886d218c12 (bug 1200864) for Win8 mochitest-gl failures
CLOSED TREE
2015-09-02 20:35:45 -07:00
Jeff Gilbert
433dc416ec Bug 1200864 - Skip DrawElements buffer validation when we have robust_buffer_access. - r=kamidphish 2015-09-02 14:06:58 -07:00
Kartikaya Gupta
71f975e0c8 Bug 1200399 - Only send the RCD's metrics to Java-land for fennec-apz. r=rbarker 2015-09-02 16:31:06 -04:00
Masayuki Nakano
d443240a54 Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
05598ebcf2 Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
John Daggett
e61be5512b Bug 1185812 - rejigger the ordering of fonts within a family to avoid obscure faces. r=heycam 2015-09-02 12:24:30 +09:00
John Daggett
9b2d5f9c3b Bug 1100949 - wrap font info reads with structured exception handler. r=bas 2015-09-02 10:58:23 +09:00
Jeremy Chen
90d2948bdc Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc 2015-08-31 20:35:00 -04:00
Jeremy Chen
9666d6e981 Bug 1149923 - Let 2D mask effect can check whether to use IntermediateSurface or not in its own logic. r=roc 2015-08-28 03:47:00 -04:00
Vincent Liu
40ade91f1f Bug 1198574 - Remove unnecessary argument for PersistentBufferProvider. r=bas 2015-08-26 18:58:18 +08:00
Kearwood (Kip) Gilbert
d8770d0d2d Bug 1157984 - Part 4: Remove gfxRect::TransformBounds,r=vlad 2015-08-06 17:28:38 -07:00
Kearwood (Kip) Gilbert
b892727b02 Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.
2015-08-06 17:26:09 -07:00
Kearwood (Kip) Gilbert
1f166ee838 Bug 1157984 - Part 2: Implement double precision clipping functions in Matrix4x4,r=vlad
- Implement Matrix4x4::TransformAndClipBounds
- Update methods in Matrix4x4 with templates, allowing for both single
  and double precision.
2015-08-06 17:26:03 -07:00
"Kearwood \"Kip\" Gilbert"
6bae174df6 Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
  and Rect to create double precision versions.
2015-06-11 13:43:40 -07:00
Matt Woodrow
5836f16477 Bug 1199371 - Fix name collision compile error. r=bustage 2015-09-01 16:05:00 -04:00
Matt Woodrow
587e17db1c Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical 2015-09-01 15:35:55 -04:00
Matt Woodrow
d3ec907229 Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel 2015-09-01 15:33:40 -04:00
Ryan VanderMeulen
b6c67c877a Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)

CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva
ba97164715 Bug 1083101 - Missing MPL header in IterableArena.h. DONTBUILD 2015-09-01 15:33:13 +02:00
Nicolas Silva
128a6361f2 Bug 1083101 - Yet another static analysis fix in a CLOSED TREE. 2015-09-01 14:34:37 +02:00
Nicolas Silva
69d2293fe1 Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-01 13:50:47 +02:00
Nicolas Silva
090bf73cca Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-01 13:50:43 +02:00
Nicolas Silva
8bd4d797d3 Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-01 13:50:40 +02:00
Nicolas Silva
d5bdbaae47 Bug 1083101 - Part 1: Allow multiple read maps on DataSourceSurfaces. r=jrmuizel 2015-06-10 19:56:06 +02:00
Nicolas Silva
affa1067e6 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-01 13:50:33 +02:00
Nicolas Silva
c8a8dc191f Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
8f389bd19c Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-01 13:50:24 +02:00
Nicolas Silva
29accd23cb Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-01 13:50:19 +02:00
Nicolas Silva
ecc45dcb6c Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-01 13:50:15 +02:00
Tom Klein
d2e09bf454 Bug 1181317 - Switch drawing order of filter feBlend inputs. r=mstange 2015-08-28 09:16:00 -04:00
Masayuki Nakano
841b1687eb Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Markus Stange
45cfabbe55 Bug 1016035 - Don't wait for content to say that we need to swipe if APZ has enough information. r=kats 2015-08-28 16:50:00 -04:00
Markus Stange
53875dcd2a Bug 1016035 - Delay the processing of a PanGestureInput block until we know whether it's a swipe. r=kats 2015-08-12 00:11:54 -04:00
Markus Stange
ab192c8660 Bug 1016035 - Make APZEventState report defaultPrevented=true when the event started a swipe. r=kats 2015-08-11 23:35:16 -04:00
Markus Stange
3e3f8580f9 Bug 1016035 - Make the threshold in AxisPhysicsMSDModel::IsFinished controllable by the caller. r=kip 2015-08-04 16:11:37 -04:00
Masayuki Nakano
6ee96dc7a5 Bug 895274 part.38 Rename NS_MOUSE_MOZLONGTAP to eMouseLongTap r=smaug 2015-08-29 08:58:33 +09:00
Masayuki Nakano
b81a488a6b Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
4c9e1bc9c7 Bug 895274 part.30 Rename NS_MOUSE_DOUBLECLICK to eMouseDoubleClick r=smaug 2015-08-29 08:58:31 +09:00
Masayuki Nakano
4d5cd63d14 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
cd786809b4 Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
1fe1d7a51e Bug 895274 part.25 Rename NS_MOUSE_MOVE to eMouseMove r=smaug 2015-08-29 08:58:29 +09:00
Masayuki Nakano
139fd7c4bd Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
fbeb8a34b6 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
56f12a5cf3 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Botond Ballo
6a48f77558 Bug 1175585 - Full-stack mochitest for wheel transactions. r=kats 2015-08-02 14:45:30 -04:00
Kevin Wern
edcb23e10f Bug 1173521 - Properly handle unapplying 3D projective transforms to rectangles in APZ code. r=botond
The untransformation is done using the newly added UntransformTo() functions
which call Matrix4x4::ProjectRectBounds(), which returns an empty rectangle
if the result is not at least partially on the positive side of the w = 0 plane.

UntransformTo() returnis the transformed rectangle if it's not empty, and
Nothing() otherwise, making callers check for this case.

The patch also adds some assertions to places where we apply transforms we
know should be 2D (and thus didn't switch to use UntransformTo()), checking
that the transforms are in fact 2D.
2015-08-28 12:00:29 -04:00
Frédéric Wang
3551bf56da Bug 1170782 - Do not rely on the presence of a MATH table to use typo metrics. r=karlt 2015-08-27 01:57:00 -04:00
Jeff Muizelaar
40ca0edf55 Bug 1197296. Check for errors more during bug testing. r=Bas 2015-08-27 22:38:39 -04:00
Lee Salzman
fc007bc92f Bug 1198996 - Ensure layer local opacity is clamped to 0..1 range. r=Bas 2015-08-26 18:15:47 -04:00
Lee Salzman
c224ffd8e8 Bug 1199417- Scale skia paths up before hit testing to workaround coordinate resolution limits. r=mattwoodrow 2015-08-27 15:44:26 -04:00
Botond Ballo
2ac2bdb49d Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats 2015-07-27 15:34:00 -04:00
Botond Ballo
826797ece4 Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.
2015-07-22 17:03:59 -04:00
Botond Ballo
59c1b8cfcf Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.
2015-07-08 19:18:28 -04:00
Botond Ballo
dac74f027b Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats 2015-06-29 19:44:12 -04:00
Botond Ballo
4c4032482b Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats 2015-06-26 16:46:22 -04:00
Kearwood (Kip) Gilbert
b83d7b2046 Bug 1196412 - Correctly scale canvas layers that have a transform applied to fill the screen, r=vlad 2015-08-24 15:58:50 -07:00
Benoit Girard
e77aa93a75 Backout d4985245dfd55ba44e0417c42c956e03d094b0df (bug 1136766) for talos regression 2015-08-27 18:29:37 -04:00
Andrew Comminos
b3d4755676 Revert "Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel" CLOSED TREE
This reverts commit 99120014586d20a2921b9157e5ec81b3605cd8bd.
2015-08-27 17:12:06 -04:00
Jeff Gilbert
49821ec279 Bug 1191042 - Establish correct EGLConfig at GLContext creation. r=jrmuizel 2015-08-27 16:55:45 -04:00
JerryShih
f9f5a51073 Bug 1195209 - Modify the matrix calculation for landscape mode. r=mattwoodrow 2015-08-27 10:56:00 -04:00
Ryan VanderMeulen
f7df8f3619 Merge m-c to inbound. a=merge
CLOSED TREE
2015-08-27 11:59:01 -04:00
Ryan VanderMeulen
6b7d3678d3 Merge inbound to m-c. a=merge 2015-08-27 11:43:16 -04:00
Ryan VanderMeulen
e9749a6b42 Backed out 7 changesets (bug 1083101) for static analysis bustage and debug gtest asserts.
Backed out changeset a277ab555649 (bug 1083101)
Backed out changeset 831ad34078f3 (bug 1083101)
Backed out changeset 42d622972b02 (bug 1083101)
Backed out changeset ff4b35d2f501 (bug 1083101)
Backed out changeset 00e568d08a1f (bug 1083101)
Backed out changeset d9448dc26a8a (bug 1083101)
Backed out changeset 8c943cd72144 (bug 1083101)

CLOSED TREE
2015-08-27 10:47:55 -04:00
Nicolas Silva
8417984cba Bug 1083101 - Static analysis fix on a CLOSED TREE. r=me 2015-08-27 15:51:42 +02:00
Nicolas Silva
6642a7985c Bug 1083101 - Mark DrawingCommand methods const. r=jrmuizel 2015-08-27 14:47:36 +02:00
Phil Ringnalda
3d67959dac Back out 7 changesets (bug 1177018) for debug b2g assertion failures in test_bug982141.html
CLOSED TREE

Backed out changeset 40fdd735520d (bug 1177018)
Backed out changeset a82c39bb97ab (bug 1177018)
Backed out changeset dbb14a5cd2cd (bug 1177018)
Backed out changeset 112ec6bdaf4e (bug 1177018)
Backed out changeset 486f9a11fcbd (bug 1177018)
Backed out changeset 8e54cc5e6901 (bug 1177018)
Backed out changeset c2a30b4f3a7c (bug 1177018)
2015-08-26 21:38:05 -07:00
John Daggett
90039fcdd7 Bug 1198921 - add a null-check after cairo_get_scaled_font in GetRoundOffsetsToPixels. r=m_kato 2015-08-27 13:23:52 +09:00
Yoshi Huang
de4b8a9d76 Bug 1165272 - Part 2: replace getNoAppCodebasePrincipal. r=bholley 2015-08-18 15:01:42 +08:00
Andrew Comminos
0d102690e9 Bug 788873 - Only rebind a GLXPixmap if the texture has changed. r=karlt 2015-08-26 23:46:33 -04:00
Andrew Comminos
8355bf691d Bug 1197387 - Use glXGetProcAddress to link against GLX_ARB_create_context_robustness. r=jgilbert 2015-08-26 21:30:15 -04:00
Kartikaya Gupta
cf40bd90a1 Bug 1198900 - Add a gtest to ensure we don't crash when prevent-defaulting a wheel event. r=botond, a=topcrash 2015-08-26 15:08:00 -04:00
Kartikaya Gupta
c6646bfc42 Bug 1198900 - Don't call OnTouchCancel when the current block is not a touch block. r=botond 2015-08-26 15:08:00 -04:00
Botond Ballo
7019ee5f82 Bug 1177018 - Enable chaos mode for the APZ layerization test. r=kats 2015-07-27 15:34:00 -04:00
Botond Ballo
9b423e65fe Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found
another test that needs it increased. Rather than increasing it for
individual tests, increase it for all tests.
2015-07-22 17:03:59 -04:00
Markus Stange
aa1620d0fc Bug 1193062 - Add mHandledByAPZ on PanGestureInput and ScrollWheelInput, and sync the information to the WidgetWheelEvent. r=kats 2015-08-11 18:04:55 -04:00
Markus Stange
52da2b0d1c Bug 1193062 - Process pan gesture deltas in begin+end events. r=kats
We don't want to split native NSEvents into two PanGestureInput events.
2015-08-11 15:57:47 -04:00
Markus Stange
de0f37446f Bug 1193062 - Use ScrollSource::Wheel for pan gesture events. r=kats 2015-08-10 18:27:01 -04:00
Markus Stange
39e3a172a1 Bug 1193062 - Remove mPanGestureState. r=kats
Now that PanGestureInput events are only processed during a PanGestureBlock, we can get rid of the mPanGestureState workaround.
2015-08-07 15:20:31 -04:00
Markus Stange
999658104b Bug 1193062 - Don't use PanGestureInput events for instant wheel scrolling. r=kats
This will make bug 1156606 unnecessary.
2015-08-26 14:27:32 -04:00
Markus Stange
7863130d3c Bug 1193062 - Make AllowScrollHandoff work for both ScrollWheelInput and PanGestureInput blocks. r=kats 2015-08-11 15:29:44 -04:00
Markus Stange
fd0a688ea9 Bug 1193062 - Add PanGestureBlockState. r=kats 2015-08-26 11:42:12 -04:00
Markus Stange
6748c4cac6 Bug 1193062 - Make OverscrollHandoffChain::FindFirstScrollable and AsyncPanZoomController::CanScroll able to deal with PanGestureInput events. r=kats 2015-08-26 11:14:33 -04:00
Markus Stange
6921a6f285 Bug 1193062 - CanScrollWithWheel needs to use ParentLayerCoords for the scroll delta. r=kats 2015-08-25 18:51:07 -04:00
Markus Stange
73cd7172ab Bug 1193062 - Set correct axis velocities when using PanGestureInput events. r=kats 2015-08-07 14:44:22 -04:00
Markus Stange
507315a66f Bug 1193062 - Make PanGestureInput transform processing work like ScrollWheelInput processing. r=kats
PanGestureInput events need to be sent to the pre-scroll position, just like wheel events.
2015-08-07 14:37:16 -04:00
Markus Stange
0fb9fbd1dd Bug 1193062 - Add a PAN_MOMENTUM state. r=kats
This was discussed in bug 1107716.
2015-08-07 14:39:34 -04:00
Markus Stange
8798e94099 Bug 1193062 - Don't double-send target APZC confirmations that might race each other. r=kats
When scrolling an inactive subframe, the target APZC confirmation needs to be sent along with the layers transaction. If a new wheel event comes in while that target APZC notification is in-flight, the subframe will already have a display port, so the confirmation will be sent in a more direct fashion and can arrive at the APZ controller thread before the new APZC for the scroll frame has been created. Then the current input block will have a null target APZC and no scrolling will happen until a new input block is created. (For wheel transactions, a null target APZC ends the transaction, so the next event will create a new input block.)
2015-08-11 16:51:46 -04:00
Kyle
be3f8434e7 Bug 1189860 - Check if the passed in shader attributes exceeds the maximum. r=jrmuizel
CLOSED TREE
2015-08-05 14:29:16 -04:00
Masayuki Nakano
08c1409ff7 Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Botond Ballo
6a7cc78bb1 Bug 1177018 - Only enable APZ test logging for tests that actually use it. r=kats
This avoids excessive amounts of test data accumulating which can slow tests down.

As part of this change, the pref for enabling the logging was made 'Live'.
2015-07-08 19:18:28 -04:00
Botond Ballo
7d59e9d5e9 Bug 1177018 - Disable smooth scrolling in the APZ layerization test. r=kats 2015-06-29 19:44:12 -04:00
Botond Ballo
12c8dab61b Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats 2015-06-26 16:46:22 -04:00
Nicolas Silva
61dd0288c2 Bug 1083101 - Extend and fix DrawCommand storage facility. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
9e8970a3da Bug 1083101 - implement the DrawingTask for Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:24 +02:00
Nicolas Silva
627c49beb0 Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:16 +02:00
Nicolas Silva
90f8c65778 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-08-27 14:47:12 +02:00
Nicolas Silva
216f313711 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-08-27 14:47:07 +02:00
Robert O'Callahan
0f9992e4e8 Bug 1182017. Call Send__delete__ immediately rather than through an event. r=nical
Kyle assures me it's safe to call Send__delete__ with references to 'this' on
the stack.
2015-08-27 15:40:35 +12:00
Benoit Girard
c09abf1127 Bug 1136766 - Don't allow more draw calls after culling. r=mattwoodrow 2015-02-27 14:17:35 -05:00
Benoit Girard
0f1046b8a7 Bug 1166252 - Reject lut8/16Type with empty CLUT grid. r=jrmuizel 2015-08-25 15:48:55 -04:00
Bobby Holley
8f42e826dc Backed out 3 changesets (bug 1165272) for b2g sanity blocker. 2015-08-25 11:16:21 -07:00
Ryan VanderMeulen
59078775b5 Merge m-c to inbound. a=merge 2015-08-25 10:45:59 -04:00
Ryan VanderMeulen
a9b03bf1f4 Merge inbound to m-c. a=merge 2015-08-25 10:43:34 -04:00
Mason Chang
c616dd292e Bug 1197898 - Delete vsync refresh driver preference. r=kats 2015-08-25 09:01:40 -04:00
Kartikaya Gupta
923721d7d4 Bug 1194876 - Add test. r=botond 2015-08-25 07:50:01 -04:00