Commit Graph

16965 Commits

Author SHA1 Message Date
Phil Ringnalda
e63feb3849 Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
f9ac204f27 Bug 982338 - Enable tiling for OSX 10.8. r=Bas
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Matt Woodrow
e92fed092a Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : fa58170f6966ef0008f54ef4bc1b1b5381fbd0e0
2014-09-02 12:37:41 +12:00
Matt Woodrow
b7df98adc1 Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
--HG--
extra : rebase_source : 2046ee6e625b8869c7da5b401cb7fe1135f4966a
2014-09-02 12:35:32 +12:00
Matt Woodrow
9777e1de08 Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : b25fcc2b2fb298b9654c36a57fc9fa26877bf9ff
2014-09-02 12:35:10 +12:00
Matt Woodrow
a1e0fcbb84 Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
--HG--
extra : rebase_source : 832de898f3fe2373b7210e3c147bfeaf716434c5
2014-09-02 12:35:02 +12:00
Matt Woodrow
0828cb8571 Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 88884a1d6297a12cddd2c2f075985634e3fa235c
2014-09-02 12:34:53 +12:00
Matt Woodrow
bfd51b6cc3 Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
--HG--
extra : rebase_source : 74b1c51243fa1443c4d6d5d9bdc6d448680c5a07
2014-09-02 12:34:30 +12:00
John Daggett
63e2516073 Bug 1061065. Removed unneeded gfx telemetry probes. r=mkato. 2014-09-02 09:03:59 +09:00
Phil Ringnalda
a8940eb5c6 Backed out 3 changesets (bug 967844) for robopan bustage
Backed out changeset 6b53305f1c42 (bug 967844)
Backed out changeset dff3eb181f33 (bug 967844)
Backed out changeset 4d4b03442eaf (bug 967844)
2014-09-01 15:20:13 -07:00
chiajung hung
9f492bd227 Bug 1060121 - Make WebGLContext::TexImage2D avoid readback for video elements on Windows. r=jgilbert 2014-08-31 21:00:00 +02:00
Carsten "Tomcat" Book
1e05505fc7 Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE 2014-09-01 09:58:39 +02:00
Phil Ringnalda
7769dc074d Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
0b556d816a Bug 1059033 - Move DrawTargetTiled to non-unified to ensure that _USE_MATH_DEFINES is applied first. CLOSED TREE 2014-09-01 17:28:53 +12:00
Robert O'Callahan
83635319fd Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : d30d2af626038cc556fcd3add9a3876be2c58239
2014-08-31 15:29:24 +12:00
Robert O'Callahan
a67165f077 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d5a2d8ea13369db215e96e721efc3ce0b354a523
2014-08-30 00:23:25 +12:00
Robert O'Callahan
24299705bb Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b5fd1fd1b0b1f55990e72d205cc871a46d5f4f8c
2014-08-30 00:23:25 +12:00
Matt Woodrow
0029aa41fc Bug 1059033 - Followup to fix windows build
--HG--
extra : rebase_source : 1ad884a8f5d90feb431a522aa7937d726ad699ec
2014-09-01 16:30:25 +12:00
Matt Woodrow
3e5b8a53b3 Bug 1044129 - Don't crash if ContainerLayer temporary surface allocation fails. r=jrmuizel 2014-07-29 17:31:00 +12:00
Ehsan Akhgari
482db6a79a Bug 1060991 - Fix more bad implicit constructors in gfx; r=roc 2014-08-31 23:32:35 -04:00
Ehsan Akhgari
3cc9664125 Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Matt Woodrow
14ca0ef931 Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
4d6e7bf926 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas 2014-09-01 15:23:40 +12:00
Matt Woodrow
9eb54ea973 Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas 2014-09-01 15:23:21 +12:00
Matt Woodrow
43226736ad Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical 2014-09-01 15:22:57 +12:00
Matt Woodrow
e6217acf8a Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas 2014-09-01 15:22:49 +12:00
Matt Woodrow
353397b6a7 Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas 2014-09-01 15:22:40 +12:00
Matt Woodrow
7b75eff4d9 Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas 2014-09-01 15:22:08 +12:00
Phil Ringnalda
ef1c1cf1c9 Merge m-i to m-c, a=merge 2014-08-31 18:17:24 -07:00
Mason Chang
acd46de08c Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Jeff Gilbert
638c79d7ac Bug 1052234 - Allow RGBA-order D3D11 TextureHosts. - r=bas 2014-08-30 16:27:32 -07:00
Andrea Marchesini
eee60d5ec4 Bug 1058470 - Blob URL should contain the origin as part of the URI, r=bz 2014-08-31 11:40:11 +01:00
Kearwood (Kip) Gilbert
5f59b02c90 Bug 1022825 - Implement Asynchronous Smooth Scrolling on Compositor Thread. r=kats
- Extended nsIScrollableFrame and nsGfxScrollFrame to return destination
  of smooth scrolls which are to be animated on the compositor thread.
- Added apz.smooth_scroll_repaint_interval preference.
- Implemented AsyncPanZoomController::PanZoomState::SMOOTH_MSD_SCROLL state
  and AsyncPanZoomController::SmoothScrollAnimation class to animate smooth
  scroll animations on the compositor thread.
- Extended FrameMetrics to report requests for smooth scrolls to be animated
  on the compositor thread and their corresponding destination positions.
- AsyncPanZoomController now checks FrameMetrics for requests to perform
  smooth scrolling on the compositor thread.  It will ensure that they
  are cancelled as needed by mousewheel, touchpanel, keyboard, and
  CSSOM-View instant scrolling DOM methods.
- The layout/generic/test/test_scroll_behavior.html mochitest has been
  commented as depending on Bug 1062609 before being enabled for APZ.
2014-07-10 11:52:40 -07:00
Artem Sobolev
290a915cf0 Bug 1054510 - Turned on SSE for image resizing. r=jrmuizel 2014-09-03 11:20:18 -07:00
Kartikaya Gupta
2af7f171fc Bug 1058886 - Extract a helper function to get the APZC from a simple layer. r=botond 2014-09-04 13:55:05 -04:00
Kartikaya Gupta
39c367463c Bug 1053992 - Add a red square in the top-right corner of FPS display for unused APZ transforms (i.e. when content is sync-scrolling). r=BenWa 2014-09-04 13:54:54 -04:00
Max Vujovic
bfebdef8a4 Bug 1058756 - Use consistent values for luminance in FilterSupport.cpp. r=mstange,milan 2014-09-04 10:31:02 -07:00
Sotaro Ikeda
79d583db14 Bug 1061943 - Purge all GradientCache on memory-pressure r=jrmuizel 2014-09-04 10:28:43 -07:00
Sotaro Ikeda
2899f5985d Bug 1062361 - Free cached tiles on memory-pressure r=nical 2014-09-04 08:27:46 -07:00
Bill McCloskey
2809db39b7 Bug 1060620 - RequestNotifyAfterRemotePaint can send messages to a dead actor on linux. r=smaug 2014-09-04 07:20:45 -05:00
Jonathan Kew
459e4b0582 bug 983985 - remove fake-italic skew from the drawTarget's matrix before rendering a hexbox. r=bas 2014-08-30 17:29:06 +01:00
Botond Ballo
9a389023b5 Bug 1058884 - Update drawing of borders to account for multi-layer-apz. r=kats,BenWa
--HG--
extra : rebase_source : e7ebb3ac4f7e30ce28e49fb27034a6322ea8a085
2014-08-28 18:38:52 -04:00
Botond Ballo
565b752a56 Bug 1057578 - Re-enable overscrolling during panning. r=kats 2014-08-29 15:03:02 -04:00
Botond Ballo
f1400587fe Bug 1057578 - Make the overscroll transform a uniform stretch. r=kats 2014-08-29 15:28:47 -04:00
Botond Ballo
0f34790a9a Bug 1057578 - Change the overscroll transform exposed by APZC from a ViewTransform to a Matrix4x4. r=kats 2014-08-29 14:41:49 -04:00
Cameron McCormack
4982d40d0e Bug 1063194 - Bustage fix. (CLOSED TREE) 2014-09-05 13:10:25 +10:00
Botond Ballo
14e96669a9 Bug 1063194 - Make assertions in Axis::OverscrollBy() more informative. r=kats 2014-09-04 19:42:07 -04:00
Ryan VanderMeulen
f4e712f3f6 Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Ryan VanderMeulen
f9e1c75706 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Carsten "Tomcat" Book
22a02d91d0 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
James Kolb
74a487913a Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
David Zbarsky
0b7ba4a9b8 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
David Zbarsky
205b93ba09 Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
John Daggett
780497e3ca Bug 1059691. Cleanup tabs in gfx/thebes source files. r=mkato 2014-08-29 13:18:28 +09:00
Matt Woodrow
1b8c313b60 Bug 1059031 - Do quartz native drawing in device space when we need to use a temporary surface. r=jrmuizel 2014-08-29 15:08:15 +12:00
Matt Woodrow
a2fb3915f5 Bug 1057218 - Initialize mFormat in DrawTargetTiled. r=Bas 2014-08-29 15:07:35 +12:00
Matt Woodrow
926bf7dfb9 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Matt Woodrow
7c24945392 Bug 1053934 - Don't use the cairo context to create similar surfaces since it might be in an error state. r=jrmuizel 2014-08-28 16:07:43 +12:00
Arnaud Sourioux
507f505826 Bug 1040582 - Change nsLayoutUtils.cpp's MULDIV Macro to inline function in nsCoord.h. r=dholbert 2014-08-29 01:14:00 -04:00
Kartikaya Gupta
3f830a6a73 Bug 1058664 - Update the LD transform to go with the changes in bug 1052063. r=botond 2014-08-28 20:11:07 -04:00
Botond Ballo
a5db405d9f Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
Botond Ballo
bb5b3e24c2 Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Benoit Girard
d83f3e3d33 Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Botond Ballo
e7dbf26fb2 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel
--HG--
extra : rebase_source : 667fc18943d84f1ae28579fc23f846f9350e6fe2
2014-08-26 17:14:51 -04:00
Botond Ballo
19f0eab038 Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang
--HG--
extra : rebase_source : 73cbb638427eae5987c3b19169ceed1fa47ec190
2014-08-28 16:32:49 -04:00
George Wright
1772aea8cc Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Jeff Muizelaar
8108de6363 Bug 1059803. Change FPSCounter to not use ToSecondsSigDigits() part 2
ToSecondsSigDigits() should only really be used for printing values.

--HG--
extra : rebase_source : b5d62b76f95e248f7f14e8559a6ab5a586d26135
2014-08-28 10:25:23 -04:00
Carsten "Tomcat" Book
13c41fb6fd merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
0a357da2bf Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
d591fbed2a Bug 1055760 - Update TestAsyncPanZoomController to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
e0a4bd21ea Bug 1055760 - Update SetAsyncScrollOffset test API to deal wth multiple FrameMetrics. r=roc 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
fe7f22ce27 Bug 1055760 - Update frame uniformity code to use the shadow transform. r=BenWa,mchang 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
f72e3c0ee4 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
1c013ea7c8 Bug 1055760 - Update AsyncCompositionManager's animation-sampling code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
29bf92e1ea Bug 1055760 - Update AsyncCompositionManager's fixed- and sticky-layer-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
cf3bee3fd4 Bug 1055760 - Update AsyncCompositionManager's scrollbar-adjusting code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta
6cf11ad811 Bug 1055760 - Update AsyncCompositionManager's async-transform application code to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
81379297b8 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
baed559ce3 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
4e8832c9dd Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
23cccb3b33 Bug 1055760 - Modify Layers API to expose multiple FrameMetrics and APZCs per layer. r=roc,BenWa 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
656c80c306 Bug 1055760 - Don't pass an out-ref for a parameter that doesn't change. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
b997ee23d8 Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
f0b76c5903 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
James Willcox
4946b14b44 Bug 1055259 - Correctly initialize SharedTextureClientOGL::mIsLocked r=nical
--HG--
extra : rebase_source : a57c1b1a510c9663a49b954fd69d9fbe02953296
2014-08-27 11:12:51 -05:00
Milan Sreckovic
4455d895e8 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Nicolas Silva
209a4ad3a3 Bug 1016538 - Fix unbalanced locking logic in tiling. r=Bas 2014-08-27 16:50:25 +02:00
Boris Chiou
683937c974 Bug 987527 - Register Vsync monitor to HWComposer. r=mwu
In order to enable/disable the Vsync from mHwc, we should make sure
the order of each command is correct. In this patch, I added an
interface for registering these mHwc callback functions and some
accessor/helper functions for manipulating Hwc Vsync.
2014-08-27 01:17:00 -04:00
Carsten "Tomcat" Book
b2d1c25a26 Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Carsten "Tomcat" Book
6d9d5a7a88 Backed out changeset c97ad94c5220 (bug 996266) 2014-08-27 11:15:21 +02:00
Carsten "Tomcat" Book
bc9a11a684 Backed out changeset 2984228b8fb1 (bug 996266) 2014-08-27 11:15:19 +02:00
Matt Woodrow
8b5e9e6b2d Bug 1057222 - Avoid uploading the whole tile when it's new but only partially valid. r=BenWa
--HG--
extra : rebase_source : 8fe73f903f2917830f05fd82a865a5376ecab31c
2014-08-27 18:52:24 +12:00
Matt Woodrow
7b1157f5a9 Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Jeff Gilbert
1509793fce Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 01:31:15 -07:00
Jeff Gilbert
fe2536a833 Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 01:31:14 -07:00
Jeff Gilbert
bee2e24b94 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Matt Woodrow
862e26e32e Bug 1059029 - Fix buffer invalidation logic when using DrawTargetTiled. r=nical
--HG--
extra : rebase_source : 117bdf387a3743f35abbfb68a47b2cd88d1f1dc4
2014-08-28 15:37:01 +12:00
Matt Woodrow
096a36ef3a Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas
--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
2014-08-28 15:36:07 +12:00
Benoit Girard
5fb8e2a235 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Benoit Girard
cf2697d0ae Bug 1058919 - Make regions and matrix printable. r=botond
--HG--
extra : rebase_source : d881d86afbba64ba989c66fe98de89ef0a381dba
2014-08-27 18:38:42 -04:00