Commit Graph

12053 Commits

Author SHA1 Message Date
George Wright
67ca68b1ac Bug 1061241 - Unref our LocalMatrixShader when building our mask SkPaint r=mattwoodrow 2014-09-02 15:18:15 -04:00
Wes Kocher
ed0a7d599e Backed out changeset 89f165978438 (bug 1061241) for mochitest-4 orange 2014-09-02 18:56:40 -07:00
Sotaro Ikeda
567e76c4bc Bug 1060790 - Call glFlush() to SkiaGL's GLContext on memory-pressure r=gw280 2014-09-02 18:49:06 -07:00
George Wright
82886ca9b5 Bug 1061241 - Unref our LocalMatrixShader when building our mask SkPaint r=mattwoodrow 2014-09-02 15:18:15 -04:00
George Wright
c9bf1ac793 Bug 996108 - Enable even rounding when rasterising r=jrmuizel 2014-09-02 12:16:21 -04:00
Jeff Muizelaar
1e77370046 Bug 996108 - Use even rounding for better results when converting from scalar to fdot6 r=upstream 2014-09-02 12:15:27 -04:00
Trevor Saunders
f4fbfeeb43 bug 1059490 - mark more classes MOZ_FINAL r=froydnj 2014-08-27 14:26:48 -04:00
Jeff Gilbert
d8b3a82e21 Bug 1060085 - Add thread-local Fence/Poll/Wait to Basic ShSurf. - r=kamidphish 2014-09-02 15:16:02 -07:00
Jeff Gilbert
fb74033dcf Bug 1060085 - Add entrypoints, use NV_fence in ANGLE ShSurfs. - r=kamidphish 2014-09-02 15:15:41 -07:00
Matt Woodrow
2b56d2e447 Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas
--HG--
extra : rebase_source : 88b89a41765ab7d6b1f8ac2ae023267418bc31dc
2014-09-03 09:21:35 +12:00
Matt Woodrow
b2c63285ba Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
--HG--
extra : rebase_source : dac51f66400d5810b9662cf6cf48ce60bf1aa4d1
2014-09-03 09:21:14 +12:00
Matt Woodrow
c570dad38c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : 8413ce440168235196e44f1a166cfff07a4f842f
2014-09-03 09:20:56 +12:00
Matt Woodrow
f9567164a3 Bug 1059033 - Part 3: Avoid save/restoring for tiles that are entirely clipped out. r=Bas
--HG--
extra : rebase_source : c4fa893c9955f7b9af9d152c719d97b0aefef462
2014-09-03 09:20:44 +12:00
Matt Woodrow
35dfe842cd Bug 1059033 - Part 2: Approximate path stroke extents for culling since its faster. r=Bas
--HG--
extra : rebase_source : 153dd5cda0d9c35c724568eae5234dbd26a17683
2014-09-03 09:20:33 +12:00
Matt Woodrow
761e9feabe Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas
--HG--
extra : rebase_source : 469f465fa1a715b7c7af904da4cc48969ff805e6
2014-09-03 09:20:10 +12:00
Benoit Girard
3ac132d301 Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Benoit Girard
abfb34caf2 Bug 1061414 - Fix VisualFrameWarning logic. r=milan
--HG--
extra : rebase_source : 238fd87657e3e82237f84bfe185d3088178b4c6d
2014-09-02 14:37:17 -04:00
Ehsan Akhgari
907e3c92d4 Bug 1060918 - Do not rely on two implicit conversions in GLContextProviderWGL.cpp for clang-cl compatibility; r=jrmuizel
This works around http://llvm.org/PR20821.
2014-09-02 12:20:50 -04:00
James Willcox
2344972256 Bug 1056947 - Don't enable GLFeature::draw_buffers (and therefore WEBGL_draw_buffers) on GLES3 r=jgilbert
--HG--
extra : rebase_source : b2ba97bf610bc414ab744ab08d788b740d518578
2014-09-02 09:57:55 -05:00
Ehsan Akhgari
ec19e1ef85 Bug 1061269 - Do not try to build the SkBlitRow assembly implementation with clang-cl; r=snorp
clang-cl builds use ml.exe which is the MASM assembler, same as the one
we use for MSVC builds.  In that respect, clang-cl and gcc builds are
quite different.
2014-09-02 10:23:51 -04:00
Ehsan Akhgari
2e7a1f5631 Bug 1061250 - Fix more bad implicit constructors in graphics; r=roc 2014-09-02 09:47:43 -04:00
Markus Stange
d07acdd93c Bug 1055646 - Allow setting the uniforms of the blur shader on ShaderProgramOGL. r=nical 2014-09-02 14:09:26 +02:00
Markus Stange
703198fcf7 Bug 1055646 - Fix a typo in the blur shader. r=nical 2014-09-02 14:09:21 +02:00
Markus Stange
5711cc595b Bug 1055661 - Add Matrix5x4::operator*=. f=milan, r=Bas 2014-09-02 14:06:01 +02:00
Markus Stange
3cad134299 Bug 1055661 - Add Matrix5x4::operator== which does exact equality comparison. f=Milan, r=Bas 2014-09-02 14:05:49 +02:00
Nicolas Silva
f63936f7f6 Bug 1059793 - Mark the compositor's gl context destroyed before the widget is gone. r=jgilbert 2014-09-02 14:05:00 +02:00
Robert O'Callahan
293fcf9eac Bug 967844. Part 3: Setup FrameMetrics from FrameLayerBuilder based on animated geometry roots. r=mattwoodrow
--HG--
extra : rebase_source : 19593cafc17053d450905161fa7d4ce8721c58a0
2014-08-31 15:29:24 +12:00
Robert O'Callahan
08fc3b5784 Bug 967844. Part 2: Move mContentDescription from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : b616a0ab2e5bb203a66a5f0b3644bdcbe5f17ce7
2014-08-30 00:23:25 +12:00
Robert O'Callahan
f25942deec Bug 967844. Part 1: Move mBackgroundColor from Layer to FrameMetrics. r=kats
--HG--
extra : rebase_source : d7cf8756678cc342e1d648638dd867c5479b74ba
2014-08-30 00:23:25 +12:00
Jacek Caban
ebad23c206 Bug 1055655 - Fix warnings turned to errors by bug 1018288 found by mingw build. r=ted,jmathies
--HG--
extra : rebase_source : 2e1d8d0ae697515994b718634f8f8ae9b26b8d80
2014-09-02 11:07:25 +02:00
Jonathan Kew
d3b9a0a59f bug 1060791 - support cmap subtable format 10, for the Apple Symbols font. r=jdaggett 2014-09-02 09:01:06 +01:00
Vincent Liu
438928e59f Bug 1060811 - PlanarYCbCrData contains null for color conversion if the output format of HW decoder is YV12. r=Sotaro 2014-09-01 13:52:03 +08:00
Phil Ringnalda
d75200777a 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
ab08ddbe57 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
fff56208c8 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
1228e8b905 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
0da1f6255a 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
dbfc91a41f 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
4f4a0d8de2 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
1fd0156c52 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
aaa1429b25 Bug 1061065. Removed unneeded gfx telemetry probes. r=mkato. 2014-09-02 09:03:59 +09:00
Phil Ringnalda
609fe6b9c4 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
ff630e0862 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
cd08246928 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
91ea7d35b7 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
d09dce4fdf 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
2d6bf232ea 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
864c99dd28 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
349231bac5 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
d31ee05c81 Bug 1059033 - Followup to fix windows build
--HG--
extra : rebase_source : 1ad884a8f5d90feb431a522aa7937d726ad699ec
2014-09-01 16:30:25 +12:00
Matt Woodrow
30532d99d0 Bug 1044129 - Don't crash if ContainerLayer temporary surface allocation fails. r=jrmuizel 2014-07-29 17:31:00 +12:00
Ehsan Akhgari
64f296432b Bug 1060991 - Fix more bad implicit constructors in gfx; r=roc 2014-08-31 23:32:35 -04:00
Ehsan Akhgari
08ea187b4e Bug 1060802 - Fix some more bad implicit constructors in gfx; r=roc 2014-08-31 23:31:20 -04:00
Matt Woodrow
60ee95919c Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
2f821dd7be Bug 1057212 - Avoid copying all the tiles when doing PushGroupAndCopyBackground. r=Bas 2014-09-01 15:23:40 +12:00
Matt Woodrow
b48bd57177 Bug 1059033 - Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas 2014-09-01 15:23:21 +12:00
Matt Woodrow
2b8f6be48c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical 2014-09-01 15:22:57 +12:00
Matt Woodrow
d5c33cbff9 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
0d56aae4ca 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
7ce21c5b7e Bug 1059033 - Part 1: Cull DrawTargetTiled operations where we can. r=Bas 2014-09-01 15:22:08 +12:00
Phil Ringnalda
a127cbc54f Merge m-i to m-c, a=merge 2014-08-31 18:17:24 -07:00
Mason Chang
17a2258d01 Bug 970751 Resample touch events. r=mwu,kats. a=kwierso 2014-08-31 15:38:00 -07:00
Jeff Gilbert
e6b31f9bc4 Bug 1052234 - Allow RGBA-order D3D11 TextureHosts. - r=bas 2014-08-30 16:27:32 -07:00
Andrea Marchesini
35125820b7 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
a5c8bcd2a0 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
910938cba0 Bug 1054510 - Turned on SSE for image resizing. r=jrmuizel 2014-09-03 11:20:18 -07:00
Kartikaya Gupta
9a81e7b11f 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
bf40c0ed98 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
1e0c4d9e29 Bug 1058756 - Use consistent values for luminance in FilterSupport.cpp. r=mstange,milan 2014-09-04 10:31:02 -07:00
Sotaro Ikeda
8509bc57c3 Bug 1061943 - Purge all GradientCache on memory-pressure r=jrmuizel 2014-09-04 10:28:43 -07:00
Sotaro Ikeda
5e807d5689 Bug 1062361 - Free cached tiles on memory-pressure r=nical 2014-09-04 08:27:46 -07:00
Bill McCloskey
c7b6916c26 Bug 1060620 - RequestNotifyAfterRemotePaint can send messages to a dead actor on linux. r=smaug 2014-09-04 07:20:45 -05:00
Jonathan Kew
af9c08c29d 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
0e664e7f0c 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
d4d54642ef Bug 1057578 - Re-enable overscrolling during panning. r=kats 2014-08-29 15:03:02 -04:00
Botond Ballo
10776feb20 Bug 1057578 - Make the overscroll transform a uniform stretch. r=kats 2014-08-29 15:28:47 -04:00
Botond Ballo
19ecff8ab5 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
75092c001c Bug 1063194 - Bustage fix. (CLOSED TREE) 2014-09-05 13:10:25 +10:00
Botond Ballo
30510e3a47 Bug 1063194 - Make assertions in Axis::OverscrollBy() more informative. r=kats 2014-09-04 19:42:07 -04:00
Ryan VanderMeulen
28146780ed Merge m-c to inbound. a=merge
--HG--
extra : rebase_source : 3282a3113131b9cdc5b808ad75a834516c43ef73
2014-08-29 15:39:48 -04:00
Ryan VanderMeulen
a3c8179253 Merge b2g-inbound to m-c. a=merge 2014-08-29 15:26:40 -04:00
Carsten "Tomcat" Book
b838e5c2a9 Merge mozilla-central to b2g-inbound a=merge 2014-08-29 15:41:02 +02:00
James Kolb
ea2c2a5c07 Bug 1028288 Add canvas global transparency support to svgs. r=seth 2014-08-29 23:04:34 +09:00
David Zbarsky
5662a359c6 Bug 952977: Remove gfxPointH3D r=nical 2014-08-29 14:47:30 -04:00
David Zbarsky
848b6c007e Bug 1060165: Remove gfxPoint3D r=nical 2014-08-29 14:47:30 -04:00
John Daggett
100e7f2947 Bug 1059691. Cleanup tabs in gfx/thebes source files. r=mkato 2014-08-29 13:18:28 +09:00
Matt Woodrow
867c05581a 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
16d4944833 Bug 1057218 - Initialize mFormat in DrawTargetTiled. r=Bas 2014-08-29 15:07:35 +12:00
Matt Woodrow
3b784c5247 Bug 1060114 - Fix partial surface uploading through BufferTextureClient. r=Bas 2014-08-29 15:06:26 +12:00
Matt Woodrow
636bbdc9ed 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
c8e7aaa169 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
4c6b48d9b8 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
ce6b54b741 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
00e33dc16a 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
c507c01cdf 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
3adfa2126f 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
597bf0c9d5 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
76eb280fc0 Bug 1055265 - Correct the SkColorType used for 32-bit in SkANP r=snorp 2014-08-28 15:31:01 -04:00
Jeff Muizelaar
c9e5585926 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
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
4193dbe5f7 Bug 1055760 - Add some basic gtests for LayerMetricsWrapper tree-walking. r=BenWa 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
4628990ec6 Bug 1055760 - Update TestAsyncPanZoomController to deal with multiple FrameMetrics. r=botond 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
8b0267fcfe Bug 1055760 - Update SetAsyncScrollOffset test API to deal wth multiple FrameMetrics. r=roc 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
c93cfd612d Bug 1055760 - Update frame uniformity code to use the shadow transform. r=BenWa,mchang 2014-08-27 22:13:43 -04:00
Kartikaya Gupta
dd86fa4d26 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
30c7225718 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
4a7387ef2d 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
8c4f7273c2 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
6241d290a7 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
39794bb5b4 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
c11c63c527 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
065340dd41 Bug 1055760 - Add a LayerMetricsWrapper and fix up APZCTreeManager FrameMetrics accessing. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
5b416e567c 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
b278e78810 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
8d38ec98d1 Bug 1055760 - Rearrange AlignFixedAndStickyLayers; no functional changes. r=botond 2014-08-27 22:13:40 -04:00
Kartikaya Gupta
8b8760b990 Bug 1055760 - Move the scroll handoff parent id from Layer to FrameMetrics. r=botond 2014-08-27 22:13:39 -04:00
James Willcox
12fa2997a0 Bug 1055259 - Correctly initialize SharedTextureClientOGL::mIsLocked r=nical
--HG--
extra : rebase_source : a57c1b1a510c9663a49b954fd69d9fbe02953296
2014-08-27 11:12:51 -05:00
Milan Sreckovic
735f45f426 Bug 1033310: Handle CreateDataSourceSurface* returning nullptr. f=nsilva, r=bschouten 2014-08-27 11:57:43 -04:00
Nicolas Silva
c0faefef23 Bug 1016538 - Fix unbalanced locking logic in tiling. r=Bas 2014-08-27 16:50:25 +02:00
Boris Chiou
625e45b64c 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
4c3afc78a3 Backed out changeset 6bcda9f223b3 (bug 996266) for bustage on a CLOSED TREE 2014-08-27 11:15:40 +02:00
Carsten "Tomcat" Book
af4818e820 Backed out changeset c97ad94c5220 (bug 996266) 2014-08-27 11:15:21 +02:00
Carsten "Tomcat" Book
c6842af3e1 Backed out changeset 2984228b8fb1 (bug 996266) 2014-08-27 11:15:19 +02:00
Matt Woodrow
248ac41512 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
fb5f228c2c 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
75af5617b6 Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 01:31:15 -07:00
Jeff Gilbert
8c76c4faf2 Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 01:31:14 -07:00
Jeff Gilbert
51bd4b867c Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 01:31:14 -07:00
Matt Woodrow
ba0aa4478a 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
1107842200 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
f43d2177c0 Bug 1010584 - Cull in ContainerLayerComposite. r=mwoodrow
--HG--
extra : rebase_source : ed9457906ac6d69bf563ddadff1599aea8964849
2014-08-27 18:46:55 -04:00
Benoit Girard
65cde9a382 Bug 1058919 - Make regions and matrix printable. r=botond
--HG--
extra : rebase_source : d881d86afbba64ba989c66fe98de89ef0a381dba
2014-08-27 18:38:42 -04:00
Markus Stange
0e4d29ece6 Bug 1051522 - Add -moz-appearance values -moz-mac-vibrancy-light and -moz-mac-vibrancy-dark for the behind-window vibrancy effect on 10.10. r=roc 2014-08-28 02:15:31 +02:00
Jeff Gilbert
6d1eaccc33 Bug 996266 - E_INVALIDARG sometimes means OOM. - r=kamidphish 2014-08-27 16:18:50 -07:00
Jeff Gilbert
fca978efc7 Bug 996266 - Fix bustage. 2014-08-27 16:18:46 -07:00
Jeff Gilbert
5604ecbabd Bug 996266 - Support testing for errors at the GLContext level. - r=kamidphish 2014-08-27 16:18:43 -07:00
Jeff Gilbert
1909c23f43 Bug 996266 - Fall back from failed WebGL context creation attribs. - r=kamidphish,bjacob 2014-08-27 16:16:22 -07:00
Matt Woodrow
af9626ab2e Bug 1047945 - Delete the TileExpiry object at shutdown to avoid leak warnings. r=BenWa 2014-08-27 10:57:49 +12:00
Matt Woodrow
203cf0b526 Bug 1050788 - Fix a bug where cairo's region clipping code incorrectly handled empty clips. r=jrmuizel
--HG--
extra : rebase_source : 653c04da802a5e6598638baaaab05c059b46709d
2014-08-27 10:22:38 +12:00
Matt Woodrow
86d55eb90d Bug 1057216 - Make DrawTargetCG hold a reference to DataSourceSurface when we're wrapping their data. r=jrmuizel
--HG--
extra : rebase_source : ad610592f69294caedcbca5d61c1644120cbec66
2014-08-27 10:20:18 +12:00
Matt Woodrow
a6aa23317a Bug 1057211 - Use DrawTargetDual for component alpha layers when tiling so that we get correct PushGroupAndCopyBackground behaviour. r=nical
--HG--
extra : rebase_source : e304d9947d42317e5eeb38c1d30cc5e149472e11
2014-08-27 10:18:55 +12:00
Ryan VanderMeulen
a390eae5a3 Backed out 5 changesets (bug 965022) for mochitest-2 failures on a CLOSED TREE.
Backed out changeset 7f68752ffe1e (bug 965022)
Backed out changeset 24251d4da019 (bug 965022)
Backed out changeset a34ae046c947 (bug 965022)
Backed out changeset f747fd154739 (bug 965022)
Backed out changeset f076faf3c282 (bug 965022)
2014-08-26 16:02:37 -04:00
Jim Chen
67cb28f899 Bug 1056941 - Fix dangerous destructors in Fennec code; r=blassey 2014-08-26 15:07:59 -04:00
Botond Ballo
18e3296080 Bug 965022 - Use MOZ_FORMAT_PRINTF for [f]printf_stderr, and fix incorrect usages. r=jrmuizel 2014-08-25 18:28:25 -04:00
Botond Ballo
9a73334a6e Bug 965022 - Avoid passing a TimeStamp to printf in PrintUniformityInfo. r=mchang 2014-08-25 17:24:21 -04:00
Jeff Muizelaar
c502d21c20 Bug 1057716. d3d11: Properly copy the background. r=bas
Previously we were copying an empty box.
2014-08-26 14:33:03 -04:00
Kartikaya Gupta
0a8d0f93db Bug 1057642 - Fix some printing call sites that try to print CoordTyped as floats. r=botond 2014-08-26 12:05:05 -04:00
Kartikaya Gupta
657851e486 Bug 1058048 - Implement the *= operator on Matrix4x4. r=Bas 2014-08-26 12:04:07 -04:00
Jeff Muizelaar
91cd5c097b Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
This makes the ownership of LayerProperties more clear.

--HG--
extra : rebase_source : 5d786a246337353522fc1d6e2c252e98e673e936
2014-08-25 11:09:39 -04:00
Bas Schouten
d0d5ac91bf Bug 1040187: Combine update regions properly when upload hasn't executed yet. r=nical 2014-08-26 13:06:17 +00:00
Jacek Caban
6192a8ddfd Bug 1055664 - Use static instead of fiend function for StartTaskThread. r=bas.schouten 2014-08-26 13:50:38 +02:00
Milan Sreckovic
ad0fca8451 Bug 1055891: Add contrast to layer effects. Rename preferences to be consistent. More comments, some more explicit tests. r=mattwoodrow 2014-08-25 15:36:17 -04:00
Andrew McCreight
eb3502679c Bug 1055280 - Move CountingAllocatorBase into its own header file. r=froydnj 2014-08-25 12:34:00 -07:00
Botond Ballo
c45a583f94 Bug 1062437 - Test APZC tree structure in gtest for multi-layer-apz. r=kats 2014-09-04 14:43:31 -04:00
Botond Ballo
28d3eb9629 Bug 1062437 - Consider all layers associated with an APZC when determining if it should be the parent of another APZC. r=kats 2014-09-03 17:22:05 -04:00
Mason Chang
65b41ce925 Bug 1057645 - Update Frame Uniformity Tool to use APZC metrics. r=botond
CLOSED TREE
2014-08-25 08:56:00 -04:00
Walter Litwinczyk
98c905b0c2 Bug 1046921 - Remove usage of legacy Skia API, SK_SUPPORT_LEGACY_BITMAP_CONFIG. r=gw280 2014-08-15 10:02:46 -07:00
Frédéric Wang
9f7b84b25b Bug 1057488 - Part 4: Update OTS to 5c25bdac8f02080f49fa416ea997ed77e3be0d30. r=jfkthame
--HG--
extra : rebase_source : c78868d91c35ba3f7cf427740d19cfc775df8cc2
2014-08-24 09:52:00 -04:00
Frédéric Wang
cc00895495 Bug 1057488 - Part 3: Update OTS to 97d043dd8977751835ca8d33d773ae8416e456d5. r=jfkthame
--HG--
extra : rebase_source : a040d22b1758ae60b7bbafecbe35d0dc9891365a
2014-08-23 10:12:00 -04:00
Frédéric Wang
10c7b7058c Bug 1057488 - Part 2: Update OTS to 2a1859a6629bdb6f2915b1d3041621dbd396a4f7. r=jfkthame
--HG--
extra : rebase_source : bd1aeeb6c94148c8b1b219d933b9fc24f732da1b
2014-08-23 01:59:00 -04:00
Frédéric Wang
baf21181ec Bug 1057488 - Part 1: Add a small bash script to help keeping OTS up-to-date. r=jfkthame
--HG--
extra : rebase_source : 1cdf7b565e5ed55a9630ff9f0f93827f5112f0e3
2014-08-23 01:58:00 -04:00
Sotaro Ikeda
3a2500deb7 Bug 1053927 - Add memory leak check to GrallocTextureHostOGL r=nical 2014-08-25 06:45:26 -07:00
Masatoshi Kimura
9b1d2327f3 Bug 1057839 - Fix build failure on VS2013 Update 3 with --enable-warnings-as-errors due to Warning C4717. r=roc 2014-08-25 07:13:38 +09:00
Emma Benoit
9feab3bf0f bug 1030741 - Make FrameMetrics::mIsRoot private and add getter/setter methods to manipulate it. r=kats 2014-08-23 19:09:10 -04:00
Kartikaya Gupta
8059354fff Bug 912700 - Audit all uses of FrameMetrics::mViewport and wrap it in getter/setters. r=botond 2014-08-22 23:18:56 -04:00
Eric Rahm
604350c1e5 Bug 1056962 - Part 2: Add proc name to gralloc memory report entries. r=BenWa 2014-08-22 16:36:24 -07:00
Seth Fowler
71d94ea626 Bug 1043560 - Refactor the imgIContainer::Draw API. r=tn,dholbert,jwatt,mwu,mattwoodrow,roc sr=jrmuizel
--HG--
extra : rebase_source : b5ed02cb200ece12a07328613dca217e9d975703
2014-08-22 13:12:38 -07:00
Kartikaya Gupta
942bbe220f Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Benoit Girard
25ed23f75c Bug 1055821 - Add layer construction logging. r=mattwoodrow
--HG--
extra : rebase_source : 318ea4b96780830fd5665fc0b0cd610b67392113
2014-08-22 11:53:24 -04:00
Botond Ballo
e16b94d4d3 Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats 2014-08-21 15:27:51 -04:00
Markus Stange
a33644f6b8 Bug 1055661: Add 5x4 matrix multiply. r=bschouten 2014-08-22 11:30:20 -04:00
David Zbarsky
10410114ac Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Ed Morley
c52d58f374 Backed out changeset 3a61a6eb04d6 (bug 1055821) for build failures 2014-08-22 14:12:01 +01:00
Benoit Girard
29db28c887 Bug 1055821 - Add layer construction logging. r=mattwoodrow 2014-08-21 13:46:07 -04:00
Trevor Saunders
86b7aff8fc bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj 2014-08-05 13:33:55 -04:00
Matt Woodrow
4d7eebfb5f Bug 1056427 - Stop PRenderFrame from managing PLayerTransaction since it hasn't worked since the layers refactoring. r=roc
--HG--
extra : rebase_source : 38c86648bb8e59a6b992bd377acb9aacb418c98b
2014-08-22 12:16:44 +12:00
Wes Kocher
8d00fd2166 Backed out changeset 36a60b15c104 (bug 1049109) for gtest failures on a CLOSED TREE 2014-08-21 15:25:29 -07:00
Botond Ballo
528d6d9048 Bug 1049109 - Clear overscroll along entire handoff chain at end of pinch. r=kats
--HG--
extra : rebase_source : fc10f5f0fd176fa91c825805f1180dc8af3f67ad
2014-08-21 15:27:51 -04:00
Sotaro Ikeda
5dd904a9c7 Bug 1055934 - Backout Bug 1028532 r=milan 2014-08-21 14:10:57 -07:00
Nathan Froyd
631962a036 Bug 1055281 - check for existence of paths in LOCAL_INCLUDES in moz.build; r=mshal 2014-08-20 11:51:33 -04:00
Kartikaya Gupta
3672e7649e Bug 1056829 - Explicitly specify scroll handoff parents to avoid warnings in debug mode. r=botond 2014-08-21 13:47:42 -04:00
Botond Ballo
9d30e4e27f Bug 1056617 - Don't try to do panning for OS X pan events that are not preceded by a 'pan begin' event. r=mstange 2014-08-21 13:17:26 -04:00
Botond Ballo
c8d921e614 Bug 1046993 - Use floating-point coordinates throughout in Axis. r=kats 2014-08-20 17:39:45 -04:00
Max Vujovic
d6749d8bc7 Bug 948265 - Add CSS sepia filter to nsCSSFilterInstance. r=mstange 2014-08-21 10:17:12 -07:00
Kartikaya Gupta
3b63cf597b Bug 1056155 - Follow-up to bug 1051985 to not assume only ContainerLayers have FrameMetrics. r=mattwoodrow 2014-08-21 05:40:00 -04:00
Kartikaya Gupta
6ee2b32a8d Bug 1055932 - Don't build an APZCTreeManager if APZ is disabled. r=botond 2014-08-21 08:36:07 -04:00
Markus Stange
ba92f94878 Bug 1011166 - Improve the workarounds cairo does when rendering large gradients with pixman. rubber-stamp=roc, pending r?jrmuizel 2014-08-21 13:57:55 +02:00
Wes Kocher
ccac14d435 Merge m-c to inbound a=merge 2014-08-20 18:13:40 -07:00
Mason Chang
9f8cadde05 Bug 1056190 - Delete Scrollgraph. r=benwa 2014-08-20 17:42:03 -07:00
Ryan VanderMeulen
c1a069b5aa Merge m-c to b2g-inbound. a=merge 2014-08-20 16:21:52 -04:00
Kartikaya Gupta
9e80e0e3da Bug 1056159 - Extract a helper function from UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
Kartikaya Gupta
6d29c3c630 Bug 1056159 - Extract a helper struct to hold some of the parameters to UpdatePanZoomControllerTree. r=botond 2014-08-20 14:04:37 -04:00
John Daggett
6a8be967a3 Bug 1055931 - bump up priority of Hiragino Kaku Gothic for symbol fallback. r=mkato 2014-08-20 16:54:38 +09:00
John Daggett
784d03c63a Bug 1041951 - parse font-variant as a shorthand for font feature subproperties. r=dbaron 2014-08-20 16:54:25 +09:00
Ehsan Akhgari
3bffba3b99 Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc 2014-08-20 00:55:14 -04:00
Kartikaya Gupta
7be80289f4 Bug 1052063 - Add some tests to ensure layers with the same scrollid get the same APZC. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
56148e11f5 Bug 1052063 - Expand the APZCTreeManagerTester to take care of more boilerplate. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
25e89f6eaa Bug 1052063 - Avoid running multiple animation steps if there are multiple layers sharing an APZC. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
66c2355539 Bug 1052063 - Do a single pass over the APZC tree to advance animations before sampling. r=botond 2014-08-19 21:17:10 -04:00
Kartikaya Gupta
feedf75ded Bug 1052063 - Move the CSS transform into the ancestor transform. r=botond 2014-08-19 21:17:09 -04:00