Commit Graph

14883 Commits

Author SHA1 Message Date
Ryan VanderMeulen
1adee1da91 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Morris Tseng
bf7a3fb220 Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish 2014-03-10 08:36:31 -04:00
Tom Schuster
7cb5069528 Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow 2014-03-10 12:13:54 +01:00
Robert O'Callahan
de8e052f6d Bug 975931. Part 8: When we reduce a layer's shadow-visible-region due to opaque covering content, restore it after compositing to ensure it's correct if the opaque content isn't there next time. r=mattwoodrow
--HG--
extra : rebase_source : 72119bd17b0606af70b4f6dbf05cea631aa71e9a
2014-02-24 21:57:27 +13:00
Brian Birtles
73dcc15d98 Bug 980207 - When the refresh driver is under test control, make compositor thread only update when a composite is scheduled; r=dzbarsky
In order to make test behavior better match real-world sampling behavior, this
patch updates the test code in CompositorParent so that it only updates the
layer when a composite is scheduled. This enables creating mochitests that
reproduce bugs observed in regular usage.
2014-03-10 13:47:12 +09:00
Brian Birtles
84d1a1f391 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
e3b4d6f388 Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.

This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Ehsan Akhgari
276e2d1e15 Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Ehsan Akhgari
f745bb2ae1 Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-03-08 12:14:32 -05:00
Wes Kocher
93d5055706 Merge m-c to inbound 2014-03-07 17:39:52 -08:00
Wes Kocher
259c357e28 Merge inbound to m-c 2014-03-07 17:07:37 -08:00
George Wright
10d60c90df Bug 921670 - Trivial fixup to generate_mozbuild.py to cater for SkFontHost_android_old DONTBUILD 2014-03-07 17:11:57 -05:00
Mike Conley
e5ef2f1eee Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bas Schouten
d301df5d45 Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Jeff Gilbert
77c841f7fd Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
99e4a449b6 Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Ryan VanderMeulen
e3a295895e Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Sotaro Ikeda
6700706a9e Bug 979394 - fix calling Unmap() in GrallocImage r=nical 2014-03-07 10:16:35 -08:00
Michael Wu
d65ac2bc62 Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Ed Morley
f60c92c019 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
a14af0da5d merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Phil Ringnalda
463d77795b Back out 965fe5b195ab (bug 962670) for leaking 2014-03-06 20:36:28 -08:00
Matt Woodrow
abce112be1 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Jonathan Watt
b698826726 Bug 980472 - Make SurfaceToPackedBGRA take a DataSourceSurface to avoid unnecessary surface conversion. r=Bas
--HG--
extra : rebase_source : c11c7ead8897255b3012495cc66beed27142275a
2014-03-06 23:31:33 +00:00
Jonathan Watt
d0a02625d2 Bug 979853 - Convert the Windows widget consumers of imgIContainer::GetFrame to act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow
--HG--
extra : rebase_source : 12e05d7d6b80669e38b959d3fe9986a179f60cb6
2014-03-06 23:31:22 +00:00
Jonathan Watt
0d571066b7 Bug 980272 - Make DataSourceSurfaceD2D::Map set mIsMapped. r=Bas
--HG--
extra : rebase_source : cb485b1cf09dc570fed1e495ce7bfd83b03788c8
2014-03-06 23:29:57 +00:00
James Willcox
aa0b93b644 Bug 956993 - Fix typo with GL_TEXTURE_EXTERNAL textures r=jgilbert 2014-03-06 14:50:42 -06:00
Michael Wu
ead4d27e3d Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Sotaro Ikeda
5b2f907a64 Bug 979394 - Fix YV12 color conversion at GrallocImage r=nical 2014-03-06 13:58:02 -08:00
Ed Morley
4aff758393 Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Jonathan Watt
dfa404843f Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas CLOSED TREE to fix orange 2014-03-07 14:55:16 +00:00
Kartikaya Gupta
bc9bf44597 Bug 975962 - Remove plumbing that is no longer needed. r=botond 2014-03-07 08:41:23 -05:00
Jonathan Watt
943ca63f3b Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas 2014-03-07 13:24:47 +00:00
Jonathan Watt
7fa77ee22d Bug 980603 - Move the implementation of SurfaceToPackedBGRA and ConvertBGRXToBGRA to a source file (un-inline them). r=gal 2014-03-07 13:24:42 +00:00
Jonathan Watt
75e6be1cb4 Bug 980428 - Add a DEBUG-only DataSourceSurface dtor to assert that the surface has not been left mapped. r=Bas 2014-03-07 13:21:46 +00:00
Jonathan Watt
aa2222cae6 Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas 2014-03-07 13:21:38 +00:00
Carsten "Tomcat" Book
0264444cdb Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Chris Lord
ab92d95b9e Bug 979084 - Enlarge displayport along one axis when the other is clipped. r=ajones
If a generated displayport expands beyond the scrollable rect on one axis,
redistribute that extra area to the other axis. Enabled by pref
apz.enlarge_displayport_when_clipped.
2014-03-07 09:26:23 +00:00
Robert O'Callahan
f291db0474 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Matt Woodrow
205af94a59 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Jeff Gilbert
6ca9eaaa7d Bug 980108 - GLContext.h should not use GLAPIENTRY decls. - r=kamidphish 2014-03-05 17:35:40 -08:00
Ehsan Akhgari
87efce53b9 Bug 979685 - Rewrite the qcms Makefile.in in moz.build; r=mshal 2014-03-05 17:00:17 -05:00
Ehsan Akhgari
cc460fe766 Bug 979684 - Port the per-source flags for skia to moz.build; r=mshal 2014-03-05 16:59:42 -05:00
James Willcox
38c98ab8dc Bug 980048 - Don't use EGL fences on Pandaboard r=jgilbert 2014-03-05 15:49:55 -06:00
James Willcox
dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
1fd761ef37 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Milan Sreckovic
3b37f2da27 Bug 910860: Use gfxPrefs to make sure preferences are evaluated on the main thread. This still leaves the preference re-evaluated all the time, not just at startup. Changing that is another bug. r=bgirard. 2014-03-05 16:25:09 -05:00
Ehsan Akhgari
2b37c097ed Bug 979816 - Backout bug 977701 because of a Talos regression
Landed on a CLOSED TREE
2014-03-05 15:18:09 -05:00
Ryan VanderMeulen
60176ce528 Backed out changesets 23ab61f4bba1, d0f6a0106f43, and 9b656ca5ec50 (bug 974575) for Linux crashtest asserts. 2014-03-05 15:23:26 -05:00
Jonathan Watt
4b64c371e1 Bug 950368 - Make nsWindowsShellService's WriteBitmap act on a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-03-04 16:56:44 +00:00