Commit Graph

16706 Commits

Author SHA1 Message Date
George Wright
a33666666f 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
93ec08d11c 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
3d0e98c859 Bug 1017113 - Remove unnecessary files that slipped in accidentally r=nobody DONTBUILD 2014-08-13 13:27:44 -04:00
Jonathan Kew
ded61cb118 bug 1052535 - fix errors in Unicode Joining_Type data for Mandaic. r=jdaggett 2014-08-13 11:00:31 +01:00
Dan Glastonbury
8efb306126 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
14dc52ff49 Bug 1052813 - Add -fomit-frame-pointer to CXXFLAGS for Skia r=mattwoodrow 2014-08-12 17:14:43 -04:00
Benoit Girard
07510ca060 Bug 1052857 - Overdraw should report dst pixels, not src pixels. r=jrmuizel 2014-08-12 18:46:16 -04:00
Harshit Harchani
f2bdad18c7 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
85036e65fa Bug 1047755 - Add copy constructor to ScrollableLayerguid in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 10:32:51 -07:00
Walter Litwinczyk
04cc732c28 Bug 1047755 - Add copy constructor to ZoomConstraints in gfx/layers/FrameMetrics.h. r=botond 2014-08-11 09:35:17 -07:00
George Wright
2131560b58 [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
68d6d6c3c3 [PATCH 14/15] Bug 1017113 - Add RefPtrSkia to replace SkRefPtr functionality r=mattwoodrow 2014-07-28 14:48:29 -04:00
George Wright
05d9bc512e [PATCH 13/15] Bug 1017113 - Ensure SkDebugf is exported from Skia r=upstream 2014-07-31 18:52:22 -04:00
George Wright
cde29378e6 [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
6700baffb9 [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
2eb8ee275e [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
47fe8e294b [PATCH 09/15] Bug 1017113 - Update buildsystem for new Skia r=snorp 2014-07-27 20:56:09 -04:00
George Wright
02299210d9 [PATCH 08/15] Bug 1017113 - Update Skia to 2014-07-28 r=upstream 2014-07-28 15:06:12 -04:00
George Wright
5f89083d4c [PATCH 07/15] Bug 1017113 - Add some legacy defines to SkUserConfig.h r=mattwoodrow 2014-07-27 20:58:09 -04:00
George Wright
bd20cd4758 [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
eaa8ae26b2 [PATCH 05/15] Bug 1017113 - Remove unnecessary SkEmptyShader.h include r=mattwoodrow 2014-07-27 20:56:42 -04:00
George Wright
89604a18bf [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
b10548389f [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
9b00d18c49 [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
2ba75ff85d [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
7dd2f3251a b=1052518; remove --disable-webgl; r=jgilbert 2014-08-12 12:04:36 -04:00
Nigel Babu
9bb67b6622 Merge m-c to m-i 2014-08-12 12:20:36 +05:30
Michael Wu
d807acf06e 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
1fc3c3121f Bug 1051985 - Move the APZ from ContainerLayer to Layer. r=mattwoodrow,botond 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
901529a459 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
78cc61d618 Bug 1051985 - Move the scroll handoff parent id from ContainerLayer to Layer. r=mattwoodrow 2014-08-11 20:00:37 -04:00
Kartikaya Gupta
40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Michael Wu
0861dbb935 Bug 1036394 - Use CRC32 to query hidden fonts, r=jfkthame 2014-08-04 12:26:55 -04:00
Brian Birtles
2520d366a6 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
0c90999575 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
dbe61a26d8 Bug 1048952 - Lower compositor permanent hang timeout to 2 seconds; r=snorp 2014-08-08 18:11:52 -04:00
Kartikaya Gupta
53c6f4303a Bug 1046344 - Update some ifdefs to account for MOZ_ANDROID_APZ. r=snorp 2014-08-08 17:42:25 -04:00
David Parks
955ab1eae9 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
861267f74f 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
a7cf4142b4 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
019ccf1af6 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
1fe5ef80f4 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
e12386da41 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
8c26761616 Bug 1045955 - Style fix. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
b85cf980a4 Bug 1045955 - Tighten requirements for framebuffer_blit, and use GL_FRAMEBUFFER when unavailable. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
b2c6fe98ab Bug 1045955 - Allow blitting 'internal' fb0. - r=kamidphish 2014-08-07 19:03:25 -07:00
Jeff Gilbert
4f8b794b06 Bug 1045955 - Make snapshots pick RGBA or RGBX. - r=kamidphish 2014-08-07 19:03:24 -07:00
Wes Kocher
25e69b0e1e Backed out changeset c62468b61fed (bug 1041695) for bustage on a CLOSED TREE 2014-08-07 18:16:25 -07:00
Kartikaya Gupta
aeabb8d6b0 Bug 966362 - Fix copy/paste error to fix typo in gfx2d. r=Bas 2014-08-07 17:45:08 -07:00
David Parks
e41219467b Bug 1041695 - Run ShadowLayersForwarder::ReleaseTexture on worker thread r=nical 2014-07-30 23:44:31 -07:00