Commit Graph

11668 Commits

Author SHA1 Message Date
Jeff Muizelaar
bc537cc1e3 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Matt Woodrow
903bd31201 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel 2014-08-15 14:23:22 +12:00
Ryan VanderMeulen
bac3f6dbb7 Backed out changeset 028c43cd12a5 (bug 1051592) for Windows bustage.
CLOSED TREE
2014-08-15 00:37:46 -04:00
Matt Woodrow
e0240d6186 Bug 1053159 - fully qualify filter name to fix bustage. CLOSED TREE
--HG--
extra : rebase_source : d819fe43ccceb6b70e036df9fab1d15cfcbd21ae
2014-08-15 14:56:44 +12:00
Matt Woodrow
e582e00ffe Bug 1053159 - Initialize gfxPattern::mFilter. r=Bas
--HG--
extra : rebase_source : 8b381ebeda17be5931f38ababb19fe6eead09c52
2014-08-15 14:24:11 +12:00
Matt Woodrow
3b9b54ae65 Bug 1051592 - Clip DrawTargetCairo's context to the surface bound to prevent massive mask allocations within cairo. r=jrmuizel
--HG--
extra : rebase_source : 89bc9dd9c4d5120c73b025d5106827594fac6663
2014-08-15 14:23:22 +12:00
George Wright
b63a5fc50c Bug 1053492 - [Skia] Use heap allocation for buffers that will end up with the 3D API r=mattwoodrow,upstream 2014-08-13 23:14:31 -04:00
Ehsan Akhgari
7ef2679c79 Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
George Wright
ccb75fe49a Bug 1017113 - Remove unnecessary files that slipped in accidentally r=nobody DONTBUILD 2014-08-13 13:27:44 -04:00
Jonathan Kew
c14808b33b bug 1052535 - fix errors in Unicode Joining_Type data for Mandaic. r=jdaggett 2014-08-13 11:00:31 +01:00
Dan Glastonbury
cb6ddd36cd Bug 1050599 - Sort GLContext extension names and strings.; r=bjacob
--HG--
extra : rebase_source : 1af2dd171a4eac879ee83aa25d1430e620f11021
2014-08-05 17:26:57 +10:00
George Wright
f6b1cf92a3 Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow 2014-08-12 17:14:43 -04:00
Benoit Girard
a4daec6b93 Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel 2014-08-12 18:46:16 -04:00
Harshit Harchani
8ab53106b7 Bug 927946 - Add all APZC preferences to all.js. r=botond
--HG--
extra : rebase_source : d96f4aea65b40490d4cc7f8ec8704a2a2f7ef4b8
2014-08-13 01:35:22 +05:30
Walter Litwinczyk
9cdb43072d Bug 1047755 - Add copy constructor to ScrollableLayerguid in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 10:32:51 -07:00
Walter Litwinczyk
ff80bb9d79 Bug 1047755 - Add copy constructor to ZoomConstraints in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 09:35:17 -07:00
George Wright
a9787ed881 [PATCH 15/15] Bug 1017113 - Use RefPtrSkia instead of SkRefPtr as it no longer exists. r=mattwoodrow 2014-08-06 12:01:44 -04:00
George Wright
b50a943d5a [PATCH 14/15] Bug 1017113 - Add RefPtrSkia to replace SkRefPtr functionality r=mattwoodrow 2014-07-28 14:48:29 -04:00
George Wright
15c7679f2a [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
2bfc460227 [PATCH 12/15] Bug 1017113 - Explicitly typedef GetUserDefaultLocaleName as WINVER may not be high enough when compiling to allow visibility of the function prototype in windows.h r=upstream 2014-07-29 15:19:53 -04:00
George Wright
1001cb46fc [PATCH 11/15] Bug 1017113 - Re-apply bug 985217 - Stub out CreateTypeface* for Mac r=snorp 2014-03-17 13:17:49 -04:00
George Wright
8572b96d2e [PATCH 10/15] Bug 1017113 - Include SkPreConfig.h to ensure that SK_BUILD_FOR_MAC is defined as necessary r=mattwoodrow 2014-07-28 20:53:00 -04:00
George Wright
57253213ed [PATCH 09/15] Bug 1017113 - Update buildsystem for new Skia r=snorp 2014-07-27 20:56:09 -04:00
George Wright
b50d70f43c [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
babadb79f6 [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
044a81f360 [PATCH 06/15] Bug 1017113 - Update SkFontHost_android_old.cpp and SkFontHost_cairo.cpp to cater for Skia API changes r=mattwoodrow 2014-07-27 20:57:19 -04:00
George Wright
8475f48ef4 [PATCH 05/15] Bug 1017113 - Remove unnecessary SkEmptyShader.h include r=mattwoodrow 2014-07-27 20:56:42 -04:00
George Wright
bd2dd7bfd9 [PATCH 04/15] Bug 1017113 - Remove GL functions no longer required by Ganesh r=mattwoodrow 2014-07-27 20:52:33 -04:00
George Wright
b8a5da6fd1 [PATCH 03/15] Bug 1017113 - Update DrawTargetSkia to use the new SkDropShadowImageFilter::Create() r=mattwoodrow 2014-07-27 20:51:32 -04:00
George Wright
3c264dd730 [PATCH 02/15] Bug 1017113 - Calling save on an SkCanvas no longer takes any parameters r=mattwoodrow 2014-07-27 20:51:09 -04:00
George Wright
a6d2faace3 [PATCH 01/15] Bug 1043745 - Use SkColorType and SkImageInfo instead of SkBitmap::Config r=mattwoodrow 2014-07-27 20:47:43 -04:00
Vladimir Vukicevic
4a3c43c587 b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Nigel Babu
654359f1ef Merge m-c to m-i 2014-08-12 12:20:36 +05:30
Michael Wu
6dbfffbba9 Follow up to bug 1035394 - Fix bustage from initializing fields in the wrong order on a CLOSED TREE, r=bustage 2014-08-11 17:53:06 -04:00
Kartikaya Gupta
89ab2a4eb0 Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
9370d1374f Bug 1051985 - Move the background color and content description from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
7f106b13e3 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
a0ad18d035 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Michael Wu
8931c79879 Bug 1036394 - Use CRC32 to query hidden fonts, r=jfkthame 2014-08-04 12:26:55 -04:00
Brian Birtles
eee37dc2bd Bug 1040543 part 8 - Move timing parameters from AnimationPlayer to Animation; r=bz
As the second step in dividing functionality between AnimationPlayer and
Animation, this patch moves the AnimationTiming member from AnimationPlayer to
Animation.

Most of this patch is simply moving code around. However, one significant
functional difference is that Animation::GetLocalTime() uses the mParentTime
member which is set when the Animation is updated by the player it is attached
to.

Other less significant differences are:

* AnimationPlayer::GetLocalTime is renamed to GetCurrentTimeDuration
  In Web Animations, animation players have a (writeable) "current time" and
  animations have a (read-only) "local time".
  We would call the method simply "GetCurrentTime" (instead of
  "GetCurrentTimeDuration") but GetCurrentTime is the name of the method used in
  the content-facing API where it returns a double.

* "IsCurrent" is defined on both AnimationPlayer and Animation with the version
  in AnimationPlayer serving mostly as a convenience shortcut to the version on
  Animation.

* Animation::GetComputedTiming (previously on AnimationPlayer) now makes the
  timing parameter optional since most of the time it is not needed.
2014-08-10 17:06:50 +10:00
Brian Birtles
b1759d304e Bug 1040543 part 1 - Move/Rename ElementAnimations to dom::AnimationPlayer; r=bz
This patch renames mozilla::ElementAnimations to mozilla::dom::AnimationPlayer
and moves the code from layout/style/AnimationCommon.cpp to
dom/animation/AnimationPlayer.cpp.

It also moves various helper classes needed by AnimationPlayer to
AnimationPlayer.cpp and moves them from the mozilla::css namespace to the
mozilla namespace.

Beyond that, there are no functional changes contained in this patch.

The renaming of various members and variables that used to refer to
ElementAnimation objects but now refer to AnimationPlayer objects--to give them
a more appropriate name--is performed in a subsequent patch.

--HG--
rename : layout/style/AnimationCommon.cpp => dom/animation/AnimationPlayer.cpp
rename : layout/style/AnimationCommon.h => dom/animation/AnimationPlayer.h
2014-08-10 17:06:44 +10:00
Jim Chen
d042927049 Bug 1048952 - Lower compositor permanent hang timeout to 2 seconds; r=snorp 2014-08-08 18:11:52 -04:00
Kartikaya Gupta
9380d25515 Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp 2014-08-08 17:42:25 -04:00
David Parks
e130c16516 Bug 1041695 - Make ShadowLayersForwarder::RemoveTexture run on worker thread, as required by TextureClient::Finalize. r=nical
--HG--
extra : rebase_source : 5498e78ba405c0b2e75063b3d7bda7d1cead4669
2014-07-30 23:44:31 -07:00
Robert O'Callahan
28409a4a31 Bug 1043163. Avoid negative widths and heights due to overflow. r=mats
--HG--
extra : rebase_source : 62db3ad669f7a965672ea6bbab1b932c4a07040f
2014-08-06 17:19:23 +12:00
Nicholas Nethercote
8c60d14a1a Bug 1050009 - Initialize pldhash tables with a length, not a capacity. r=roc.
* * *
imported patch rm-dummy-params

--HG--
extra : rebase_source : c25987eb11bae197218d5fc53b77def19afa36ac
2014-08-06 06:31:21 -07:00
Matt Woodrow
6c16eeea37 Bug 1049303 - Avoid an invalid cast to ClientThebesLayer when we're using tiling. r=Bas 2014-08-07 11:55:31 +12:00
Matt Woodrow
84c916ae97 Bug 1048110 - Pad visible regions out by 1 pixel to avoid sampling from invalid content. r=Bas 2014-08-05 12:17:47 +12:00
Matt Woodrow
a4fa815cab Bug 1048110 - Expand complex visible regions if we're going to be resampling when using tiling. r=Bas 2014-08-04 15:29:55 +12:00
Jeff Gilbert
0627be2bfd Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00