Commit Graph

9867 Commits

Author SHA1 Message Date
Chris Lord
936dd8f9a0 Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Bas Schouten
048bec3c9f Bug 982275 - Followup: Fix some compiler warnings that were errors on gcc. r=bustage 2014-03-12 03:55:07 +01:00
Bas Schouten
8f4898dace Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel 2014-03-12 03:27:33 +01:00
Bas Schouten
0a2a30af07 Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel 2014-03-12 03:27:30 +01:00
Jonathan Watt
4ff79704b9 Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow 2014-03-11 23:50:59 +00:00
Nicolas Silva
3a04e42f86 Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Botond Ballo
ff7c37b52e Bug 965871 - Implement overscroll handoff for flings. r=kats 2014-03-10 20:04:44 -04:00
Botond Ballo
17c73ca346 Bug 965871 - Introduce a mechanism for AsyncPanZoomAnimation::Sample() to schedule tasks to be performed after the APZC lock is released in SampleContentTransformForFrame(). r=kats 2014-03-10 15:52:09 -04:00
Botond Ballo
ed721375c9 Bug 965871 - Document lock ordering in APZ. r=kats 2014-03-10 15:55:44 -04:00
Botond Ballo
066636cb79 Bug 965871 - Minor cleanup and refactoring. r=kats 2014-03-10 19:17:23 -04:00
Ryan VanderMeulen
278d650fe0 Backed out changeset 3697a043583b (bug 982118) for bustage.
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
cb9ace90ec Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta 2014-03-11 08:24:12 -07:00
Morris Tseng
eecfb9e542 Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish 2014-03-11 11:14:50 -04:00
Dmitry Rozhkov
b18080737d Bug 975336 - Some skia headers have got exec bit set on. r=gwright 2014-03-11 07:50:00 -07:00
Jonathan Watt
7887504abd Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel 2014-03-11 07:24:43 +00:00
Vladimir Vukicevic
4a91df6014 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Jeff Gilbert
3ba237c70c Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert
7cf50c98a3 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Vladimir Vukicevic
4646ced960 backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6a1c3e6135 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Jeff Gilbert
91352f644c Bug 943190 - Implement WEBGL_compressed_texture_et1. - r=kamidphish 2014-03-10 15:42:58 -07:00
Matt Woodrow
e638200a0e 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
Matt Woodrow
b14644234b Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical 2014-03-11 11:12:49 +13:00
Matt Woodrow
0a14fe22dd Bug 981393 - Check against correct compositable types for old-textures. r=nical 2014-03-11 11:12:48 +13:00
George Wright
308f5abef3 Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow 2014-03-06 16:33:39 -05:00
Kartikaya Gupta
a83d646cfb Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
70dfe7ab91 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Jeff Muizelaar
7f48f279b5 Bug 979894. Add unwind information for pixman arm functions. r=jseward
This isn't technically correct because these functions will never call
functions that throw exceptions, however it lets the profiler unwind them.
The unwinding will also probably be wrong during prologue/epilogue. The right
solution is probably to use cfi.
2014-03-10 12:31:58 -04:00
Ryan VanderMeulen
c990503a46 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Morris Tseng
1bd061dc20 Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish 2014-03-10 08:36:31 -04:00
Tom Schuster
d51745dfb0 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
5f352be6e0 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
ffb19fb875 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
138adeb229 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
5de0a15099 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
158ac51adc Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Ehsan Akhgari
b965cde2f2 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
83398347ef Merge m-c to inbound 2014-03-07 17:39:52 -08:00
Wes Kocher
ffa3b0216a Merge inbound to m-c 2014-03-07 17:07:37 -08:00
George Wright
3ed5c9afc2 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
4611b5bdb4 Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bas Schouten
bde06b3dca 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
bdd584a1f9 Bug 843666 - Implement color-buffer-(half-)float for WebGL. - r=kamidphish 2014-03-07 13:26:17 -08:00
Ryan VanderMeulen
add6a567df Merge m-c to inbound. 2014-03-07 15:45:57 -05:00
Ryan VanderMeulen
d76583a0fc Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Sotaro Ikeda
3e0a19a183 Bug 979394 - fix calling Unmap() in GrallocImage r=nical 2014-03-07 10:16:35 -08:00
Michael Wu
7111cc628d Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Ed Morley
0ddf702725 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
c346b6e437 merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Phil Ringnalda
5319ebeaed Back out 965fe5b195ab (bug 962670) for leaking 2014-03-06 20:36:28 -08:00