Commit Graph

13557 Commits

Author SHA1 Message Date
Milan Sreckovic
604c74b2a7 Bug 1135066 - Deal with failed CreateDrawTarget. r=mstange 2015-03-05 16:38:23 -05:00
Jim Mathies
119a045bd3 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 17:29:05 -06:00
Phil Ringnalda
35e249e402 Backed out 2 changesets (bug 1138181, bug 1132874) for e10s crashes in browser_windowopen_reflows.js
CLOSED TREE

Backed out changeset fdf4671db324 (bug 1132874)
Backed out changeset ddd5517ce7d2 (bug 1138181)
2015-03-07 14:37:31 -08:00
Jim Mathies
fceed92455 Bug 1138181 - Be more aggressive in updating plugin geometry in the compositor, avoids filtering out important offset updates that don't involve remote layer tree updates. r=roc 2015-03-07 12:42:56 -06:00
dvander@alliedmods.net
3564b8945d Don't async scroll overflowed single-line text boxes in APZ. (bug 1126090 part 6, r=botond) 2015-03-06 14:26:59 -08:00
dvander@alliedmods.net
0620293f8c If APZ is enabled, do not handle wheel-event scrolling in layout. (bug 1126090 part 1, r=smaug) 2015-03-06 14:26:59 -08:00
Mason Chang
229752182a Bug 1138502. Reset vsync unobserve count if a force composite occurs. r=mstange 2015-03-06 13:58:22 -08:00
Kartikaya Gupta
3a803b3ac1 Bug 1139575 - Don't set the fast motion flag on multitouch blocks. r=botond 2015-03-06 16:52:35 -05:00
Kartikaya Gupta
fe14f0752a Bug 1139575 - Reset velocity on axes when going from a pan to a pinch. r=botond 2015-03-06 16:52:35 -05:00
Markus Stange
22102f166b Bug 1123019 - Actually use the clipped rect variable. r=jrmuizel 2015-03-06 13:04:05 -05:00
Martin Stransky
9748ea506e Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt 2015-03-05 03:56:00 +01:00
Kartikaya Gupta
6efd73ac8f Bug 1137875 - Clear shared frame metrics objects associated with a PLayerTransaction when it is destroyed. r=nical 2015-03-06 06:26:34 -05:00
Kartikaya Gupta
f914693c64 Bug 1137875 - Have the SharedFrameMetricsData hold a copy of the layers id. r=nical 2015-03-06 06:25:40 -05:00
Kartikaya Gupta
b749c3ff55 Bug 1137875 - Have the LayerTransactionChild hold a copy of the layers id. r=nical 2015-03-06 06:25:33 -05:00
John Daggett
aab6abc217 Bug 935862 p2 - add various userfont lookup methods. r=heycam 2015-03-06 17:44:18 +09:00
Bill McCloskey
c5baec6e18 Bug 1129223 - Introduce new, more efficient mozLayerTreeReady event (r=BenWa) 2015-03-05 22:03:23 -08:00
Bas Schouten
991c98d30b Bug 1138934: Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical
This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.
2015-03-06 02:37:12 +01:00
Nicolas Silva
4273c9a4a3 Bug 1128934 - Call XFlush after compositing to prevent jank. r=karlt 2015-03-09 10:39:02 +01:00
Nicolas Silva
d83a379f44 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Kearwood (Kip) Gilbert
957ced20f0 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)
2015-02-19 15:53:30 -08:00
Kearwood (Kip) Gilbert
2879261784 Bug 945584: Part 5 - Implement ScrollVelocityQueue (v4 Patch), r=roc
- Implemented ScrollVelocityQueue class to calculate the velocity of a scroll
  when given periodic samples of scroll position.
- Added BasePoint::Clamp to simplify code.
2015-02-19 15:51:08 -08:00
Kearwood (Kip) Gilbert
a1aac15c2a Bug 945584: Part 4 - Add scroll snapping preferences (v3 Patch), r=roc
- Added preferences to allow trackpad and mousewheel flinging between
snap points to be tuned:
- layout.css.scroll-snap.prediction-max-velocity
- layout.css.scroll-snap.prediction-sensitivity
2015-02-19 15:43:14 -08:00
Nicolas Silva
710987d95e Bug 1125848 - Prevent PCompositorChild messages to be sent after the actor started shutting down. r=sotaro 2015-03-05 19:03:16 +01:00
Mason Chang
ff718e1e80 Bug 1139726 - Assert gfxPlatform::Init is called on the main thread. r=kats 2015-03-05 08:43:53 -08:00
Jim Mathies
96dfcec058 Bug 1133237 - When transitioning from a shadow layer tree that has plugins to a tree that does not, make sure the old plugins get hidden properly. r=roc 2015-03-04 07:46:15 -06:00
Milan Sreckovic
9fb38f1fb7 Bug 1133119 - ::Map should fail if the data is null, and add more null pointer checks. r=mattwoodrow 2015-03-03 11:17:55 -05:00
Kartikaya Gupta
13477d2616 Bug 1139033 - Don't schedule an unnecessary repeat transaction when doing a non-progressive paint. r=nical 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
3b0ff12503 Bug 1139397 - Add bug component info for APZ code. r=botond 2015-03-05 06:04:03 -05:00
Kartikaya Gupta
ec9f746ca0 Bug 1122094 - Remove some unnecessary code. r=botond 2015-03-05 06:04:02 -05:00
Mason Chang
3cccf0671a Bug 1138735 - Fallback to software vsync if CVDisplayLink fails to initialize. r=mstange 2015-03-04 14:37:55 -08:00
Ryan VanderMeulen
098514f58b Merge inbound to m-c. a=merge 2015-03-04 16:35:35 -05:00
Jan Jongboom
b7543e2b73 Bug 1134599 - Fix rpi build target. r=jrmuizel, r=shuang 2015-02-25 03:20:00 -05:00
Carsten "Tomcat" Book
6faa6e4ace Backed out changeset e41d35b40ba9 (bug 1124084) for crashtest-1 b2g test failures 2015-03-04 09:06:10 +01:00
Mike Hommey
4c045ee31b Bug 1136958 - Remove duplicate SkDiscardableMemory_none.cpp from gfx/skia/moz.build. r=gps
And to do so, cleanup gfx/skia/generate_mozbuild.py a little.
2015-03-04 14:39:28 +09:00
Seth Fowler
26e722959f Bug 1124084 - Flip on downscale-during-decode everywhere. r=tn 2015-03-03 18:19:21 -08:00
Sotaro Ikeda
19e51a0a3e Bug 1137251 - Disable RemoveTextureFromCompositableTracker except gonk r=nical 2015-03-03 08:51:05 -08:00
Mason Chang
b35b505222 Bug 1128690 - Ensure Talos Performance Tests still work with silk enabled. r=mstange 2015-03-03 08:14:22 -08:00
Sotaro Ikeda
02956da7c1 Bug 1132528 - Handle non existent key r=nical 2015-03-03 06:36:48 -08:00
Bas Schouten
db8868b55e Bug 1131370: Try to ignore transient errors and increase D3D11 timeout as well. r=milan 2015-03-03 14:28:50 +01:00
Kyle Thomas
a966389139 Bug 1137004 - Changed the location of the counter so when it is used in a maximized window it is no longer cut off, and added a little left padding. r=mattwoodrow 2015-03-03 18:47:00 -05:00
Kartikaya Gupta
920c3eb2ce Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
618525bef1 Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Botond Ballo
4d1c288a6b Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Anthony Jones
cb8ffc5ee9 Bug 1131638 - Discard DXVA frames that don't complete YUV->RGB conversion. r=cpearce 2015-02-20 16:27:42 +13:00
Botond Ballo
cec8c47e17 Bug 943537 - Handle modifiers on tap events in RemoteContentController and ChromeProcessController. r=kats,mbrubeck 2015-03-02 16:41:02 -05:00
Botond Ballo
27f1fc4347 Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck 2015-03-02 16:38:07 -05:00
Sotaro Ikeda
f37caf573f Bug 1136352 - Fix RemoveTextureAsync handling r=nical 2015-03-02 13:38:45 -08:00
Wes Kocher
9b35dd25c4 Merge b2g-inbound to m-c a=merge 2015-03-02 12:56:08 -08:00
Ryan VanderMeulen
7637933d6b Backed out changesets ddf965a90c07 and 305e676779f8 (bug 1137203) for being the likely cause of bug 1137952.
CLOSED TREE
2015-03-02 12:34:39 -05:00
Kartikaya Gupta
a778f4f785 Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond 2015-03-02 11:51:45 -05:00
Kartikaya Gupta
645592ebd8 Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond 2015-03-02 11:50:38 -05:00
Wes Kocher
64d28ca0a8 Merge m-c to b2ginbound a=merge CLOSED TREE 2015-02-26 18:53:42 -08:00
Wes Kocher
ffe6d5e8c1 Merge fx-team to m-c a=merge 2015-02-26 18:37:18 -08:00
Kartikaya Gupta
9e9b222c44 Bug 1137203 - Cleanup to ditch the fast-path code entirely and just prevent progressive drawing in the equivalent scenarios. r=BenWa 2015-02-26 17:45:37 -05:00
Kartikaya Gupta
dab7e7b16a Bug 1137203 - Ignore the critical displayport when a layer is subject to OMTA relative to the scrolling ancestor. r=BenWa 2015-02-26 17:45:37 -05:00
Milan Sreckovic
a5c26ca04e Bug 1130195: Report the failed bitmap creation, but still crash. r=bschouten 2015-02-25 17:44:56 -05:00
George Wright
9221d5da56 Bug 1137044 - Clarify README_SKIA a bit r=me DONTBUILD 2015-02-26 12:25:51 -05:00
Benoit Girard
a7be4a30a9 Bug 1132468 - Reject invalid sizes. r=jrmuizel 2015-02-24 17:02:10 -05:00
Kartikaya Gupta
b204ae6120 Bug 1130455 - Remove the ScrollingBehavior code to propagate APZ and use gfxPrefs instead. r=roc,fabrice
The ScrollingBehavior passed around extensively in TabParent/TabChild is
entirely redundant now that the layers.async-pan-zoom.enabled pref definitively
controls whether or not APZ is enabled. All the code related to ScrollingBehavior
can be removed.
2015-02-26 08:47:01 -05:00
Carsten "Tomcat" Book
330dfed36a Merge mozilla-central to fx-team 2015-02-26 12:07:22 +01:00
Milan Sreckovic
b1b2513c55 Bug 1019209 - Allow GL initialization without Android bridge, delay some GL string initialization, clean up some AndroidBridge code. r=snorp 2015-02-18 16:50:31 -05:00
Kartikaya Gupta
98767506c5 Bug 990907 - Add a flag on nsIScrollableFrame to indicate if it is actively being scrolled by APZ. r=tn 2015-02-25 09:32:09 -05:00
Jonathan Watt
d51834a89d Bug 1136486 - Simplify the SVG text rendering callbacks by getting rid of NotifyBeforeSVGGlyphPainted and NotifyAfterSVGGlyphPainted. r=heycam 2015-02-17 22:01:54 +00:00
Benoit Girard
cd2be197a6 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Benoit Girard
8e7100fac4 Bug 1135677 - Deal with overflowing rects. r=bas 2015-02-23 14:09:56 -05:00
Benoit Girard
486b737a48 Bug 1136389 - Fix qcms num in/out channels mismatch. r=jrmuizel 2015-02-24 19:03:25 -05:00
Wes Kocher
788d1b8da6 Merge m-c to inbound a=merge CLOSED TREE 2015-02-24 15:42:16 -08:00
Mason Chang
1470e52e97 Bug 1129133 - Clean up GeckoTouchDispatcher so that it's a real singleton. r=kats,mwu 2015-02-24 12:52:16 -08:00
Carsten "Tomcat" Book
d90f5b71e1 merge mozilla-inbound to mozilla-central a=merge 2015-02-24 12:54:34 +01:00
Wes Kocher
339dffd42e Merge m-c to b2ginbound a=merge 2015-02-23 17:02:28 -08:00
Benoit Girard
c4fc215cad Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow 2015-02-23 18:22:06 -05:00
Mason Chang
888a2f246b Bug 1133526. Only enable vsync compositor or refresh driver if hardware vsync is enabled. r=kats 2015-02-23 12:04:11 -08:00
William Chen
af5cd81ab7 Bug 1134021 - Use composed document when getting nsDOMWindowUtils from shadow DOM content. r=kats 2015-02-23 10:10:23 -08:00
Ms2ger
23beb3bfbf Bug 1135138 - Remove UNICODE from DEFINES in moz.build rather than Makefile.in; r=mshal
This was made possible by bug 928709.
2015-02-23 18:46:55 +01:00
Jeff Gilbert
e1f2c0e6ed Bug 1130616 - Support EXT_color_buffer_half_float on ANGLE. - r=jrmuizel,khuey 2015-02-24 14:09:09 -08:00
David Anderson
8e87a2bd33 Fix build bustage on CLOSED TREE. No bug 2015-02-24 14:16:27 -08:00
Bas Schouten
57b791bfb8 Bug 1135408: Report device resets and their reasons through telemetry. r=vladan 2015-02-22 22:53:32 +00:00
Bas Schouten
a5991e6be7 Bug 1131370: Give content side more time to finish its copy. r=jrmuizel 2015-02-22 22:52:47 +00:00
Jonathan Kew
07faf61412 Bug 1134216 - Preserve line-break flags properly when applying text-transform conversions. r=smontagu 2015-02-22 19:39:36 +00:00
David Anderson
cf720c0a8e Implement GetMaxTextureSize in the basic compositor. (bug 1135883, r=mattwoodrow) 2015-02-24 13:39:01 -08:00
Jacek Caban
e07ff74463 Bug 1133689 - Make D3DVsyncDisplay destructor private. r=jmuizelaar 2015-02-23 12:14:49 +01:00
John Daggett
d2d5381689 Bug 1135308 - add pref for disabling font cache. r=m_kato 2015-02-23 09:32:04 +09:00
Abhishek Arya
4bfa111fe2 Bug 944579 - another crashtest. 2015-02-22 04:57:16 +00:00
Jesse Ruderman
24b83f7936 Bug 950000 - crashtest. 2015-02-22 02:41:58 +00:00
Abhishek Arya
42594d9af1 Bug 944579 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman
e49462e47c Bug 593526 - crashtests. 2015-02-22 02:41:58 +00:00
Gregory Szorc
6bad3a35ba Bug 1134028 - Don't assign flags to file that may not be defined
The renderer/d3d/d3d11/SwapChain11.cpp source file is only defined if
building on Windows. The generated moz.build was adjusting the .flags
of this file unconditionally. This worked up until now because the
moz.build was only being evaluated on Windows. However, this assumption
no longer holds true after work in bug 1132771 is complete.

Patch the generation script to put .flags adjustment for the file
in question behind the same conditional as the SOURCES assignment.

--HG--
extra : rebase_source : 77becf0be99b5ade809a90ecf7954345d693d81e
2015-02-21 07:26:30 -05:00
Botond Ballo
271bb512e3 Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Milan Sreckovic
2d64afaf60 Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten 2015-02-20 14:58:00 -05:00
Markus Stange
651ef33740 Bug 1132626 - Indicate component alpha on layer borders of tiled layers + tiles. r=bgirard 2015-02-12 16:02:31 -05:00
Ryan VanderMeulen
beb474dbcf Backed out changeset ca73b950e612 (bug 1134762) for B2G crashtest failures. 2015-02-20 13:22:52 -05:00
Daniel Holbert
a4b9f40ba9 Bug 1134931: Add some missing MOZ_OVERRIDE annotations in ServiceWorkerManager.cpp, nsFrameMessageManager.cpp, and 2D.h. r=ehsan 2015-02-20 09:25:07 -08:00
Benoit Girard
8a339cf728 Bug 1134762 - Clean-up UseFastPath logic to avoid OOM error. r=kats 2015-02-18 15:27:40 -05:00
Milan Sreckovic
0d2e8077c3 Bug 1133160 - Matrix filters should have 20 elements. r=mstange 2015-02-18 18:11:54 -05:00
Masayuki Nakano
be3248be75 Bug 1119609 part.6 TextInputProcessor should manage modifier key state and set it to dispatching key events automatically r=smaug, sr=smaug 2015-02-19 15:50:19 +09:00
Jeff Gilbert
2debc1744f Bug 1094457 - Implement ReadBuffer and RenderbufferStorageMultisample. - r=kamidphish 2015-02-18 16:57:05 -08:00
Mike Hommey
77c7ab37e7 Bug 1134565 - Remove DISABLE_STL_WRAPPING in gfx/angle. r=gps 2015-02-24 11:28:26 +09:00
Markus Stange
392275a56d Bug 1123019 - Shrink clipped stroked rectangles and stroked lines. r=jrmuizel 2015-02-23 18:15:14 -05:00
Markus Stange
2faf3988b3 Bug 1123019 - In DrawTargetTiled::StrokeRect and StrokeLine, skip tiles that don't intersect the stroke. r=jrmuizel 2015-02-23 16:20:35 -05:00
Benoit Girard
09f62b1cd4 Bug 1113435 - Only cull the fully rendered region when doing progressive draw. r=jrmuizel
--HG--
extra : rebase_source : 063a04e728be38aaf2dc812ead3957c001e61e64
2015-02-18 14:51:05 -05:00
Benoit Girard
36b4b0736c Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 6934c2a60480b645c123f6788eb8e3b57e24911b
2015-02-17 10:54:48 -05:00
Botond Ballo
2f49c99bef Bug 1132153 - Replace 'using namespace base' with specific using-declarations. r=dholbert 2015-02-11 15:01:26 -05:00
Trevor Saunders
8dedc8cddc bug 1133075 - add more MOZ_OVERRIDE r=froydnj, waldo, jrmuizel 2015-02-18 17:03:30 -05:00
Ryan VanderMeulen
705ef9acc1 Backed out changeset 25a4a1aecec4 (bug 1131749) for gtest failures.
CLOSED TREE
2015-02-18 16:00:46 -05:00
Botond Ballo
df5f62d6cf Bug 1131749 - Correct for errors in our approximation of the spring equation for overscroll physics that might otherwise violate an assumption. r=kats 2015-02-18 15:12:50 -05:00
Nathan Froyd
a641e5e1a7 Bug 967300 - enable cairo's atomic support on gcc-esque compilers; r=mshal
Cairo has a number of nifty features predicated on support for atomic
operations on integer types.  Normally, such support would be determined
by cairo's configure script.  But since we don't run cairo's configure
script, we need to manually define HAVE_INTEL_ATOMIC_PRIMITIVES during
cairo's build.  That macro enables codepaths that depend on certain
SIZEOF_* variables being defined by autoconf, so we also need to add the
necessary code in moz.build to set those.
2015-01-15 15:53:28 -05:00
Wes Kocher
58075dba8e Backed out changeset cfc60f8124bb (bug 1136971) for mass crashes, CLOSED TREE 2015-02-27 13:57:21 -08:00
Botond Ballo
e0df27e4e7 Bug 1136971 - Draw layer borders correctly in the presence of multi-FrameMetrics. r=kats 2015-02-25 18:25:19 -05:00
Maksim Lebedev
f389e8e2b3 Bug 1133492 - Extract some of nsPresShell into a separate TouchManager class. r=smaug 2015-02-24 22:20:00 -05:00
Carsten "Tomcat" Book
ef5fa9a320 Merge mozilla-central to mozilla-inbound 2015-02-18 09:12:35 +01:00
Carsten "Tomcat" Book
599d367405 Backed out changeset 333cd39619fe (bug 1121871) for causing C2 Regressions 2015-02-18 09:08:54 +01:00
Kartikaya Gupta
9fe7f9b5c0 Back out bug 1121871 as it is an improper fix and creates regressions like bug 1132741. r=BenWa (on IRC) 2015-02-17 16:30:53 -05:00
Ryan VanderMeulen
d4c1289c37 Merge m-c to inbound. a=merge 2015-02-17 21:24:09 -05:00
Matt Woodrow
9401a149ce Bug 1128170 - Use UniquePtr for TextureClient KeepAlive objects to make sure we don't leak them. r=jrmuizel 2015-02-18 13:35:30 +13:00
Ryan VanderMeulen
266123e078 Backed out changeset 820649ecb0fa (bug 1113435) and changeset 4d049a07f749 (bug 1085223) for Android reftest failures.
CLOSED TREE
2015-02-17 16:14:50 -05:00
Benoit Girard
a898c86193 Bug 1113435 - Don't cull for layers being drawn progressively. r=jrmuizel
--HG--
extra : rebase_source : 775d70542a94bd5e9bd137aac7507699e6fb581d
2015-02-17 11:53:51 -05:00
Benoit Girard
3f17a8109e Bug 1085223 - Restore culling because of regressions from bug 1132144.
--HG--
extra : rebase_source : 8ba1967648ee48c8a7791125bbac697e4c11b63c
2015-02-17 10:54:48 -05:00
Carsten "Tomcat" Book
e121494bac Merge mozilla-central to mozilla-inbound 2015-02-17 14:47:52 +01:00
Carsten "Tomcat" Book
f31584a15c Backed out changeset 6952d9fe4f36 (bug 1129871) for causing R14/R15 Test failures 2015-02-17 14:36:42 +01:00
Carsten "Tomcat" Book
a3298e7ebb Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Carsten "Tomcat" Book
ad716b71e4 Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
Jim Mathies
c94fc8510c Bug 1132592 - Avoid showing PluginWidgetParent widgets before they are positioned and clipped. r=aklotz 2015-02-13 12:27:56 -06:00
David Anderson
024881b68a FrameMetrics comparator does not include the scroll generation. (bug 1132715, r=kats) 2015-02-15 13:01:00 -08:00
Kartikaya Gupta
1263c2a53c Bug 1133083 - Fix build when APZCCallbackHelper logging is enabled. r=botond 2015-02-16 21:34:42 -05:00
Kartikaya Gupta
0f981d0fa8 Bug 1131840 - Propagate the EventRegionsOverride flag on RefLayers also. r=roc 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
a2d821499e Bug 1131840 - Add an EventRegionsOverride flag to force an empty hit region. r=roc,botond 2015-02-16 21:30:02 -05:00
Kartikaya Gupta
1f5d00564d Bug 1131840 - Replace the shouldForceDispatchToContent flag with a bitset enum. r=roc,botond 2015-02-16 21:30:02 -05:00
James Willcox
7195045365 Bug 1131793 - Disable SurfaceTexture detach on Mali r=jgilbert 2015-02-14 11:23:01 -06:00
Nicolas Silva
d0462d286c Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Nicolas Silva
0dff182e54 Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00
Nicolas Silva
86cda7d880 Bug 1129871 - Favor passing tiles by ref rather than copy part 1. r=BenWa 2015-02-14 12:14:54 +01:00
Jeff Gilbert
ea33309bb2 Bug 1124394 - Support Core profiles for GLContext. - r=kamidphish 2015-02-12 19:00:41 -08:00
Mason Chang
b374a58cfe Bug 1127151. Part 3: Create a vsync thread loop with dwmflush. r=jrmuizel 2015-02-13 17:17:26 +08:00
Mason Chang
7281b963d7 Bug 1127151. Part 2: Create a vsync source on windows. r=kats 2015-02-13 17:17:24 +08:00
JerryShih
1476642368 Bug 1129686 - fix friend class declaration. r=jrmuizel 2015-02-12 22:26:00 +01:00
Nicolas Silva
fd7dd096b2 Bug 1120331 - "crash in mozilla::ipc::MessageChannel::Send(IPC::Message*)". r=sotaro 2015-02-04 07:15:00 +01:00
Mason Chang
ec9d8d1759 Bug 1130681. Part 1: Add unlock back to ClientTiledLayerBuffer for causing emulator R14 intermittent but doesn't seem necessary. r=jrmuizel 2015-02-13 16:36:46 +08:00
Mason Chang
14d3259912 Bug 1130681. Part 2: Backout bug 1118876 for android reftest failures. r=jrmuizel 2015-02-13 16:36:45 +08:00
Matt Woodrow
1f8d1ab89b Bug 1127925 - Lazily open shared handles in DXGITextureHostD3D11 to avoid holding references to textures that might not be used. r=jrmuizel 2015-02-13 14:23:43 +13:00
zhoubcfan
40d6e6f995 Bug 1129335 - Add private destructor to D3D9 texture usage reporters. r=bgirard 2015-02-16 12:37:43 +01:00
Botond Ballo
898f44f6bb Bug 1127066 - Implement ChromeProcessController::HandleLongTapUp(). r=kats
--HG--
extra : source : 5857a51daa23da0090b92467cc7fe5c23354b981
2015-02-09 18:20:15 -05:00
Botond Ballo
a3f5ee9fb5 Bug 1127066 - Use (nsBaseWidget's) APZEventState in ChromeProcessController. r=kats
--HG--
extra : source : 65d5458b6f6af13ebaf424ccef87d4a0654646c4
2015-02-09 19:06:06 -05:00
Botond Ballo
cd91ae9e1b Bug 1127066 - Complain loudly if APZEventState is used with a widget that doesn't support weak references. r=kats
--HG--
extra : source : e4337bd21059a0ecbffa5d0d567dd9a8f0a3bcd1
2015-02-09 14:10:08 -05:00
Botond Ballo
74667af216 Bug 1127066 - Use a weak reference to the widget in APZEventState to avoid reference cycles. r=kats
--HG--
extra : source : fa8926018068e8de68b0b9c44ad0bdc87acf2033
2015-02-09 14:09:20 -05:00
Botond Ballo
3990a194be Bug 1127066 - Extract an APZEventState class from TabChild. r=kats
--HG--
extra : source : fc54993e0c836ca01f3900072227938e8c4b938c
2015-02-09 14:05:18 -05:00
Botond Ballo
2a72a77d84 Bug 1127066 - Extract SendSetTargetAPZCNotification and its helpers into APZCCallbackHelper. r=kats
--HG--
extra : source : 930454419509346f1002ea7486a128072688a921
2015-02-06 18:11:19 -05:00
Botond Ballo
412107100c Bug 1127066 - Extract a helper to apply the APZ callback transform to a touch event. r=kats
--HG--
extra : source : d938af56c1d8225d794f879a5771c9a17d6a402b
2015-02-05 18:02:27 -05:00
Botond Ballo
eaf4eff1d2 Bug 1127066 - Fold APZCCallbackHelper::UpdateCallbackTransform() into ScrollFrame(). r=kats
--HG--
extra : source : 5b78d9e9ba84408c898d9e0ab55ae30f437792c8
2015-01-28 17:40:29 -05:00
Botond Ballo
98957944f7 Bug 1127066 - Factor out code common to APZCCallbackHelper::UpdateRootFrame and UpdateSubFrame. r=kats
--HG--
extra : source : fe1ea639cdfde510a2bb51d2f113fb14809b6b43
2015-01-23 18:54:19 -05:00
Matt Woodrow
665e47aabe Bug 1131808 - Avoid trying to allocate a buffer for 0 sized YCbCr images. r=nical 2015-02-12 11:23:56 +13:00
Nicholas Nethercote
74cc61fdfd Bug 1131901 (part 1) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : 526d96ab65e4d7d71197b90d086d19fbdd79b7b5
2015-02-02 14:48:58 -08:00
Carsten "Tomcat" Book
34b660c646 merge mozilla-inbound to mozilla-central a=merge 2015-02-11 14:58:16 +01:00
Kartikaya Gupta
1d240ac9cc Bug 1125422 - Read the force-dispatch-to-content flag from the layer tree and use it in the APZ code. r=botond 2015-02-10 16:28:07 -05:00
Kartikaya Gupta
566f0c5f51 Bug 1125422 - Add a flag on ContainerLayer to indicate when the entire subtree of layers needs to be in the dispatch-to-content region. r=roc 2015-02-10 16:28:07 -05:00
Joel Maher
d30568d952 Bug 1125509 - [backout 70aa258394bf] 10% tsvgx linux* regression on inbound (Jan 22) from push c6ece3462afd. r=froydnj 2015-02-10 11:13:34 -05:00
Martin Stransky
6727c7a42d Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
Benoit Girard
81bb5d08d8 Bug 1131462 - Remove buggy GetAsSurface override. r=jrmuizel 2015-02-10 23:03:15 +08:00
Kartikaya Gupta
d5c9c04107 Bug 930939 - Add a function to encapsulate running things on the APZ controller thread. r=botond 2015-02-10 08:24:23 -05:00
Kartikaya Gupta
b53fb2a07c Bug 930939 - Move thread assertion code into APZThreadUtils and add more assertions. r=botond 2015-02-10 08:24:23 -05:00
Milan Sreckovic
dd5cbcf0a9 Bug 1130971 - Null pointer checks before dispatching. r=mattwoodrow
--HG--
extra : rebase_source : f38f8831801730d4e9faf5701ad6210717a2fbc4
2015-02-09 17:23:09 +08:00
JerryShih
af362f98b4 Bug 1129686 - Update cms profile in SRGBOverrideObserver callback. r=jmuizelaar
--HG--
extra : rebase_source : 9fc25be48d86379004ed4fda37c8a9eaf81409ed
2015-02-06 00:18:00 +01:00
Jonathan Kew
ee276d8a7b Bug 1127935 - Check for null when trying to load 'head' table, to avoid crashing on non-sfnt fonts. r=jdaggett 2015-02-10 09:18:23 +00:00
Benoit Girard
af82915f3d Bug 1085223 - Comment out occlusion culling for now. r=mattwoodrow 2015-02-10 11:20:36 +08:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Markus Stange
f6e80715ad Bug 1092634 - Let feColorMatrix and feComponentTransfer generate output outside their input's bounds. r=Bas
This makes the color matrix and component transfer Moz2D filters generate
an infinite output, which is then cropped to the primitive's filter
primitive subregion by a subsequent crop filter node. This still gives us
different behavior than other browser when the primitive subregion is
overridden using the x/y/width/height attributes - other browsers either
ignore those completely (IE) or only let them crop the default subregion
(which is defined to be the same as the input subregion) and not enlargen
it - but I'll fix that in a separate bug.
2015-02-09 14:04:11 -05:00
Bas Schouten
555ec83c49 Bug 1118322: Block explicitly for vblank when presenting when using WARP. r=jrmuizel 2015-02-09 16:35:48 +01:00
Nicolas Silva
f77992e98d Bug 1131038 - Use a READ_WRITE lock instead of WRITE on tile back buffers. r=sotaro 2015-02-09 15:01:11 +01:00
Milan Sreckovic
c9f0182745 Bug 1120611 - Avoid a data race for the rendering intent. r=jrmuizelaar
--HG--
extra : rebase_source : 54549a96e59772af1223d69e854d34d28e6d369c
2015-01-13 17:02:34 -05:00
Phil Ringnalda
35113f86ce Merge b-i to m-c, a=merge 2015-02-07 18:02:06 -08:00
Jonathan Kew
a14c62c058 Bug 1130429 - Try to avoid font changes within a cluster. r=roc 2015-02-07 20:45:06 +00:00
Phil Ringnalda
d034395186 Merge m-c to b-i 2015-02-07 09:01:30 -08:00
Wes Kocher
152aafad82 Merge m-c to b2g-inbound a=merge CLOSED TREE 2015-02-06 14:56:32 -08:00
Kartikaya Gupta
be73e7767a Bug 1078275 - Ensure the first transaction received in the compositor is treated as a first-paint. r=mstange 2015-02-06 15:16:53 -05:00
Jeff Gilbert
8bb794cb82 Backout 80a88a3badba for causing bug 1130086. 2015-02-06 11:37:04 -08:00
Ethan Lin
31815090e9 Bug 1127405 - Remove the ForceRemove in CanvasClientSharedSurface to prevent crash. r=nical 2015-02-03 18:15:00 +01:00
Peter Chang
2769803f35 Bug 1129763 - Add pref for the threshold of frame visual warning, r=benwa 2015-02-06 14:38:16 +08:00
Robert O'Callahan
74edebf611 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Jeff Muizelaar
0b776d104d Bug 1128264 - Update ANGLE to chromium/2214. r=jgilbert
--HG--
extra : rebase_source : 2a8e6bdd19f95ada11aa6b3c58165b91d1f5eea2
2015-02-05 14:39:18 -05:00
Jeff Muizelaar
9d636c290c Bug 1129064. Remove duplicate IsPlaceholderTile function. r=BenWa
The method version is cheaper because it doesn't need to make a copy of the
Tile.
2015-02-03 14:07:45 -05:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Ryan VanderMeulen
b885391af4 Backed out changesets b57d930e0ba6 and 6c8a74ba8122 (bug 1129871) for gtest failures.
CLOSED TREE
2015-02-05 13:12:18 -05:00
Nicolas Silva
0abbe8647d Bug 1129871 - Pass tiles by ref rather than copy part 2. r=BenWa 2015-02-05 18:16:10 +01:00
Nicolas Silva
975fef893f Bug 1129871 - Pass tiles by ref rather than copy part 1. r=BenWa 2015-02-05 18:16:05 +01:00
Nicolas Silva
6cedce66f1 Bug 1129467 - Apply the tile offset to tiles when initializing DrawTargetTiled. r=Bas 2015-02-05 11:09:57 +01:00
Chris Double
6ae887f253 Bug 1129718 - Fix build error when using enable-debug and disable-logging - r=Bas 2015-02-05 16:25:38 +13:00
Matt Woodrow
b1240bf652 Bug 1128765 - Add more more reporters to break down D3D9 texture usage. r=jrmuizel 2015-02-05 16:20:14 +13:00
Matt Woodrow
9d38263e2b Bug 1114976 - Don't try to free TextureClients if allocation failed. r=nical 2015-02-05 14:11:46 +13:00
Jeff Gilbert
67d833acf8 Bug 1124394 - Support WebGL 2 with Core Profiles on Mac. - r=kamidphish 2015-02-04 16:34:55 -08:00
Nicholas Nethercote
c326200932 Bug 1050035 (part 4) - Make PL_DHashTableAdd() infallible by default, and add a fallible alternative. r=froydnj.
I kept all the existing PL_DHashTableAdd() calls fallible, in order to be
conservative, except for the ones in nsAtomTable.cpp which already were
followed immediately by an abort on failure.

--HG--
extra : rebase_source : eeba14d732077ef2e412f4caca852de6b6b85f55
2015-02-02 14:48:58 -08:00
Markus Stange
c17a9f3bb9 Bug 1045213 - Add nsITheme::ThemeGeometryTypeForWidget. r=roc 2015-02-04 17:25:18 -05:00
Markus Stange
b87e5450c9 Bug 1045213 - Make ns(Int)Region methods chainable. r=jrmuizel 2015-02-04 17:25:18 -05:00
Mason Chang
75dbe45832 Bug 1128691. Part 1: Consolidate vsync compositor pref checks. r=benwa 2015-02-04 13:08:31 -08:00
Bas Schouten
ce170cb3f3 Bug 1083245: Pop all clips before copying to the destination blending surface. r=jrmuizel
We need to pop the clips from the decide context before flushing and copying to the destination blending surface, otherwise drawing commands executed on a pushed layer for clipping will not be realized on the destination surface for blending.

Note that this fixes most situation, but in the case of doing custom blending to an area of a surface which is not opaque while having a complex clip pushed this will still lead to some artifacts. I haven't seen this be a problem in practice though.
2015-02-04 22:03:21 +01:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Nicolas Silva
b14a0ccd9f Bug 1118876 - Make tile edge padding work work with DrawTargetTiled. r=jrmuizel 2015-02-04 14:33:16 +01:00
Milan Sreckovic
21dc99d46d Bug 1126918 - NewShSurfaceHandle can return null. Guard against it. r=jgilbert 2015-02-02 17:18:29 -05:00
Boris Chiou
1892e7ab59 Bug 1121804 - Add websocket message listener. r=dglastonbury
1. Fix websocket listener, and implement a light-wight parser.
2. Handle the messages from clients by protobuf
3. Handle disconnection while receiving the close message.
2015-01-29 20:02:00 +01:00
David Anderson
c7d9088574 Remove apz.subframe.enabled and assume it is always true. (bug 1128761, r=kats) 2015-02-03 15:02:04 -08:00
David Anderson
d4b93595b2 Make debugging whole-layer invalidation slightly easier. (bug 1128752, r=mattwoodrow) 2015-02-03 14:18:44 -08:00
Matt Woodrow
440b48b397 Bug 1124543 - Handle invalidating mask changes correctly. r=roc 2015-02-04 10:39:59 +13:00