Ed Morley
be1f5d2de8
Backed out changeset 3f58a7521a51 (bug 854421)
2014-05-29 10:55:51 +01:00
Ed Morley
ced23842df
Backed out changeset 123998cc3f92 (bug 854421)
2014-05-29 10:55:47 +01:00
Ed Morley
ca0e6070b9
Backed out changeset cbe947863ad3 (bug 854421)
2014-05-29 10:55:44 +01:00
Wes Kocher
f108ef46c1
Backed out 3 changesets (bug 1016086) for robocop bustage on a CLOSED TREE
...
Backed out changeset 450878674b08 (bug 1016086)
Backed out changeset e6b0a5086a81 (bug 1016086)
Backed out changeset 9e572e6623e7 (bug 1016086)
2014-05-28 15:10:32 -07:00
Matt Woodrow
58a93da0d3
Bug 854421 - Part 9: Send DidComposite during ClientLayerManager destruction. r=roc
2014-05-29 09:44:30 +12:00
Matt Woodrow
c9c9b9cb80
Bug 854421 - Part 8: Try find a 'root' refresh driver to see if it's blocked. r=vlad
2014-05-29 09:43:41 +12:00
Matt Woodrow
de268276b8
Bug 854421 - Part 7: Allocate and return transaction id's from the refresh driver when using OMTC to prevent over-production. r=roc
2014-05-29 09:43:39 +12:00
Matt Woodrow
28f6a2355c
Bug 854421 - Part 6: Add gfx API for allocating transaction ids. r=roc
2014-05-29 09:42:17 +12:00
Matt Woodrow
fbcf96b65f
Bug 854421 - Part 3: Add a way to detect PLayerTransaction objects that exist only for testing and won't composite. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
24efc9cfe8
Bug 854421 - Part 2: If we cancel a composite when going into test mode, fire the DidComposite event anway in case someone is waiting on it. r=nical
2014-05-29 09:42:16 +12:00
Matt Woodrow
345fc54583
Bug 854421 - Part 1: Add a transaction id number to DidComposite. r=nical
2014-05-29 09:42:14 +12:00
Sotaro Ikeda
6df66f0177
Bug 1014360 - memory leak when DEALLOCATE_CLIENT is set r=nical
2014-05-28 13:37:13 -07:00
Andreas Gal
823b7c091b
Bug 1016086 - Part 3: Setup attribute configuration when we start compositing instead of for every draw command (r=Bas)
2014-05-28 16:18:46 -04:00
Andreas Gal
613718288f
Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas)
2014-05-28 16:18:43 -04:00
Andreas Gal
39be2ca1b2
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-28 16:18:36 -04:00
Andreas Gal
ba67732f00
Fix rebase error for bug 1012407 (r=CLOSED TREE)
2014-05-28 14:24:23 -04:00
Andreas Gal
bd6b6ee02e
Bug 1012407 - Part 9: Use CLAMP instead of GL_REPEAT to draw quads (r=Bas)
2014-05-28 14:07:15 -04:00
Andreas Gal
47abe4ef63
Bug 1012407 - Part 8: Remove VBOArena which is now dead code (r=Bas)
2014-05-28 14:04:07 -04:00
Ed Morley
59d15edff7
Backed out changeset f0b1908ce71a (bug 1013392)
2014-05-28 18:19:44 +01:00
Andreas Gal
c5c9b67596
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-28 10:15:31 -04:00
Markus Stange
95804f228c
Bug 1013392 - Adjust the search algorithm for async scrollbar thumb shifting. r=kats
2014-05-28 16:14:43 +02:00
Jonathan Watt
f0ebd02780
Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas
2014-05-28 14:30:56 +01:00
Jonathan Kew
0d94ebb7d2
bug 985220: remove the old GDI, Uniscribe and DWrite text-shaping code paths, as we now use HarfBuzz or Graphite for all shaping on Windows. r=jdaggett
2014-03-19 12:27:44 +00:00
Kartikaya Gupta
f5a8493538
Bug 1016558 - Properly account for simple CSS transforms when computing fields for progressive update. r=Cwiiis r=botond
2014-05-29 12:47:42 -04:00
Kartikaya Gupta
c10c9955e4
Bug 1016558 - Rename some variables to be more meaningful, and update some comments. r=botond r=Cwiiis
...
Renames:
displayPortParent -> displayPortAncestor
scrollParent -> scrollAncestor
parent -> ancestor
displayPortParentParent -> displayPortAncestorGrandParent
layoutDeviceToScrollParentLayer -> layoutDeviceToDisplayPort
mTransformParentLayerToLayoutDevice -> mTransformDisplayPortToLayoutDevice
aTransformParentLayerToLayoutDevice -> aTransformDisplayPortToLayoutDevice
2014-05-29 12:47:41 -04:00
Kartikaya Gupta
48697602d2
Bug 1016558 - Log the critical displayport in the layers dump. r=Cwiiis
2014-05-29 12:47:41 -04:00
Andreas Gal
a53bfd7b3a
Bug 1016086 - Part 2: Save/restore attribute state in blit helper (r=Bas)
2014-05-29 10:19:48 -04:00
Andreas Gal
ee8dee4c76
Bug 1016086 - Part 1: Use a single attribute in all shaders (r=Bas)
2014-05-29 10:19:37 -04:00
Tatiana Meshkova
4a3f012888
Bug 1016795 - Make CompositorParent usable by Embedlite. r=dholbert
2014-05-28 10:44:00 -04:00
Jonathan Kew
edceb13745
bug 998844 - part 5 - support bundled fonts on Windows/DWrite. r=bas
2014-05-29 13:01:07 +01:00
Jonathan Kew
159d4f0a93
bug 998844 - part 4 - support bundled fonts on desktop Linux. r=jdaggett
2014-05-29 13:01:03 +01:00
Jonathan Kew
7d9c5700f4
bug 998844 - part 3 - support bundled fonts on Windows/GDI. r=jdaggett
2014-05-29 13:00:59 +01:00
Jonathan Kew
d132b2c66f
bug 998844 - part 2 - support bundled fonts on OS X. r=jdaggett
2014-05-29 13:00:55 +01:00
Carsten "Tomcat" Book
35b93b4942
Merge mozilla-central to mozilla-inbound
2014-05-28 14:48:41 +02:00
Carsten "Tomcat" Book
e096bc3ea7
merge b2g-inbound to mozilla-central
2014-05-28 14:33:48 +02:00
Brian Birtles
f3593b3f8a
Bug 1015803 - Align Layers' Animation.numIterations with AnimationTiming.mIterationCount; r=dholbert
...
In the IPC Animation struct used in layers code we have a member called
'numIterations' where 'iterate forever' is represented by -1.
In layout/style however we have an AnimationTiming struct with an
mIterationCount member where 'iterate forever' is represented by
NS_IEEEPositiveInfinity().
This patch renames 'numIterations' to 'iterationCount' and uses infinity to
represent 'iterate forever'.
2014-05-28 16:51:50 +09:00
Brian Birtles
7265fd639b
Bug 1004871 part 9 - Move ElementAnimations::GetPositionInIteration to ElementAnimation::GetComputedTimingAt; r=dholbert
...
This patch simply moves the code from ElementAnimations to ElementAnimation so
that it can later be used in transitions code and so we can later move
EnsureStyleRuleFor to ElementAnimation.
2014-05-28 16:51:50 +09:00
Brian Birtles
efbd693128
Bug 1004871 part 6 - Make GetPositionInIteration return a ComputedTiming object; r=dholbert
...
This patch makes ElementAnimations::GetPositionInIteration return
a ComputedTiming object instead of just a time portion (time fraction).
Since the ComputedTiming object includes phase information, we can fix those
parts of EnsureStyleRule and GetEventsAt that were temporarily using the time
portion to guess if the animation might have finished or not.
2014-05-28 16:51:49 +09:00
Brian Birtles
25641302e6
Bug 1004871 part 3 - Replace parameters to GetPositionInIteration with an AnimationTiming object; r=dholbert
...
This patch makes use of the AnimationTiming struct introduced in the previous
patch to simplify calls to ElementAnimations::GetPositionInIteration.
2014-05-28 16:51:49 +09:00
Brian Birtles
b4d589de64
Bug 1004871 part 1 - Factor event queuing out of EnsureStyleRuleFor; r=dholbert
...
This patch moves event queuing out of EnsureStyleRuleFor into a separate method.
This is a preparatory step towards making GetPositionInIteration into a more
generic method for calculating the current time fraction.
In order to achieve this, GetPositionInIteration needs to be able to calculate
the correct time portion for times outside the range [0, 1] even when it is not
passed a ElementAnimation object. Specifically, it needs the fill mode of the
animation to be passed in.
(Rather than using FillForwards/FillBackwards this patch just compares the
NS_STYLE_ANIMATION_FILL_MODE_* values directly but FillForwards/FillBackwards
are restored in a subsequent patch when they are added to the struct used to
lump the timing parameters together.)
There are a number of places where positionInIteration is used to determine if
the current sample occurs in the active phase or after. This is sub-optimal but
is fixed in a subsequent patch in this series.
The actual work of removing event queuing from GetPositionInIteration is
deferred to a subsequent patch in order to keep the changes as small as
possible. This patch simply makes separate calls to GetPositionInIteration for
interpolating and for event queuing.
2014-05-28 16:51:48 +09:00
Michael Wu
55637c3cfc
Bug 999694 - Followup - Don't assert on 4.2, r=jgilbert
2014-05-27 17:36:52 -04:00
Markus Stange
22992cbfea
Bug 1016437 - Make TextureImageTextureSourceOGL::Update refuse uploading textures that exceed the maximum texture size if bigimage is disallowed. r=bjacob
2014-05-28 12:52:13 +02:00
Markus Stange
136d73bcdc
Bug 1016437 - Document why we don't use TiledTextureImage for YCbCr frames and add an assert to that effect. r=nical
2014-05-28 12:52:12 +02:00
Jonathan Kew
24e9019170
bug 458634 part 2 - use 'smcp' feature in Graphite fonts if available. r=jdaggett
2014-05-28 11:35:14 +01:00
Jonathan Kew
142a69933c
bug 458634 part 1 - use OpenType 'smcp' feature to implement small-caps if available in the font. r=jdaggett
2014-05-28 11:35:12 +01:00
Jeff Gilbert
d17ff957ba
Bug 980178 - Clean up context loss handling code. - r=kamidphish
2014-05-27 20:01:33 -07:00
Matt Woodrow
7122baedb3
Bug 1013769 - Apply render target offset after the layer transform in BasicCompositor. r=Cwiiis
2014-05-28 13:21:32 +12:00
Matt Woodrow
0726340c00
Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical
2014-05-28 13:21:32 +12:00
Matt Woodrow
7c80741e2d
Bug 1013767 - Add Matrix::PostTranslate. r=Bas
2014-05-28 13:21:32 +12:00
Matt Woodrow
ee01a4734c
Bug 1003707 - Implement GetSize for recording surface created by windows printing. r=Bas
2014-05-28 12:59:10 +12:00
Matt Woodrow
6566a558e8
Bug 1001845 - Simplify invalid regions to avoid spending excessive amounts of time in region code. r=roc
2014-04-28 16:17:31 +12:00
Kartikaya Gupta
cfc7563bf0
Bug 949859 - When calculating fling velocity, ignore timestamps that are too old. r=botond
2014-05-27 11:45:03 -04:00
Kartikaya Gupta
567d9f0772
Bug 949859 - Remove mLastEventTime from APZC and store a timestamp in Axis instead. r=botond
2014-05-27 11:45:03 -04:00
Bas Schouten
8f3b724393
Bug 999943 - Followup: Add requested comment. r=jwatt
2014-05-27 17:35:35 +02:00
Bas Schouten
0eae897026
Bug 999943: Correctly use the absolute value to determine min and max of the inflection range. r=jwatt
2014-05-27 17:03:34 +02:00
Geoff Brown
bec6d138c6
Bug 979921 - Enable some crashtests on Android 2.3; r=dminor
2014-05-27 06:46:15 -06:00
Chris Lord
896c1a9861
Bug 1006797 - Fix application of OGL compositor screen render offset. r=nical
2014-05-27 13:31:01 +01:00
Neil Rashbrook
ef8d375d0b
Bug 869836 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
Relading with correct bug number so DONTBUILD.
--HG--
extra : amend_source : 6e05de7729c27761564124212b7d4cbe3318e482
2014-05-26 21:54:10 +03:00
Birunthan Mohanathas
7ed88d413a
Backout 8b8bbe7aa1cc due to wrong bug number
2014-05-27 14:42:13 +03:00
Birunthan Mohanathas
085f40aff8
Bug 869836 - Part 11: Use `Append('c')` instead of `AppendLiteral("c")`. r=ehsan
...
--HG--
extra : rebase_source : 08bcbfd804f1adcab40c7d59fa56deda1f6e0829
2014-05-26 21:54:58 +03:00
Neil Rashbrook
71828ecc1c
Bug 995730 - Part 9a: Use AssignLiteral(MOZ_UTF16(...)) instead of Assign(NS_LITERAL_STRING(...)). r=ehsan
...
--HG--
extra : rebase_source : d2d3d611c06a2a7ec930fb11576d7c8335c0a6e2
2014-05-26 21:54:10 +03:00
Milan Sreckovic
1acd60ec18
Bug 1016079: Remove unused gfxQtPlatform::UseXRender method. r=bjacob
2014-05-26 16:17:23 -04:00
Botond Ballo
44a50c8549
Bug 998025 - Have APZ gtests clear the overscroll handoff chain when appropriate. r=kats
...
--HG--
extra : rebase_source : 8253d35c2e0c610398c6b0d3f812552d0a09c246
2014-05-22 17:17:39 -04:00
Botond Ballo
fa66d8b8a2
Bug 998025 - Put overscrolling behind a developer pref. r=kats
...
--HG--
extra : rebase_source : 2f5a46cacd97120fcbb8e6608446074089d5bf50
2014-05-21 17:20:12 -04:00
Botond Ballo
97d46f7ecb
Bug 998025 - Overscroll rendering effect. r=kats
...
--HG--
extra : rebase_source : 8dba78d1e7a471cf739acc59390e1789a6e5873a
2014-05-20 18:30:45 -04:00
Botond Ballo
c205d40a5c
Bug 998025 - Ignore touch events when in an overscrolled state. r=kats
...
--HG--
extra : rebase_source : c7b6928915d589773aa536cf002c70c9e26fd371
2014-05-22 14:49:43 -04:00
Botond Ballo
98eba5d681
Bug 998025 - Apply resistance to pans and flings in overscroll. r=kats
...
--HG--
extra : rebase_source : df1cf70e0843c5806616ecce6003d2f5cd35fb8d
2014-05-13 18:41:32 -04:00
Botond Ballo
6500ef53d1
Bug 998025 - Snap-back animation to relieve overscroll. r=kats
...
--HG--
extra : rebase_source : 86ac2135be457f515e37c3adcac6787cc8edc36c
2014-05-21 19:47:58 -04:00
Botond Ballo
0eab576881
Bug 998025 - Allow AsyncPanZoomAnimation::Sample() to queue deferred tasks even if the animation is ending. r=kats
...
--HG--
extra : rebase_source : 6b8236545d95b3432084cc78b9f0505b62cb6c9c
2014-05-22 17:17:05 -04:00
Botond Ballo
949302511d
Bug 998025 - Support overscrolling during flinging. r=kats
...
--HG--
extra : rebase_source : 2c85f4a8ec9e21c3a7012f769a560d0153805d63
2014-05-12 18:51:07 -04:00
Botond Ballo
1f21eb4459
Bug 998025 - Support overscrolling during panning. r=kats
...
--HG--
extra : rebase_source : f26bb9dfc1267e0eba3216e8f4fa29c98021caa5
2014-05-21 18:21:03 -04:00
Botond Ballo
be741ab0ec
Bug 998025 - Refactor Axis::HasRoomToPan() and Axis::Scrollable(). r=kats
...
--HG--
extra : rebase_source : d0d56f0e1a4f8f9735a8a2755727ee17f33f371f
2014-05-05 19:29:31 -04:00
Botond Ballo
55e5a1d703
Bug 998025 - Factor out an Axis::GetFrameMetrics() helper. r=kats
...
--HG--
extra : rebase_source : d19c09863bb5f6e83198460747f9f4727d822456
2014-05-21 17:26:06 -04:00
Botond Ballo
66d5d29145
Bug 998025 - Remove some unused AsyncPanZoomController and Axis methods. r=kats
...
--HG--
extra : rebase_source : 9c56db6f7cc0ddb9e3059f502de72741b21de460
2014-05-05 17:46:57 -04:00
Sotaro Ikeda
bf17f250a7
Bug 1006957 - WebRTC crash fix r=nical
2014-05-26 10:09:25 -07:00
Jonathan Watt
18aa0427ad
backout ac5e2c6f4ec0 (Bug 1015780) for bustage
2014-05-26 17:59:43 +01:00
Kartikaya Gupta
8cc3cc3c7d
Bug 1015981 - Replace using namespace mozilla::css with qualified class name. r=botond
2014-05-26 12:44:43 -04:00
Andreas Gal
1a4978569a
Bug 1012407 - Part 9: Ensure texture coordinates are within (0,0)(1,1) and nits for Part 6 (r=Bas)
2014-05-24 02:49:41 +02:00
Andreas Gal
f78d29b988
Bug 1001885: Support NPOT texture wrap modes on older PowerVR drivers (r=mattwoodrow).
2014-05-22 15:05:03 -04:00
Jonathan Watt
6f70a74103
Bug 1015780 - Make Moz2D's GetAlignedStride() faster. r=Bas
...
--HG--
extra : rebase_source : 6e87f0f91cd9cab03facb789f1fee700175ba102
2014-05-26 16:20:39 +01:00
Jonathan Kew
35a3de2e99
bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
18ab93cab6
bug 1015603 part 4 - revise internal APIs to pass pointer to text for the current script or font run rather than the entire textrun. r=roc
2014-05-26 14:23:31 +01:00
Jonathan Kew
45a42995d1
bug 1015603 part 3 - add a smallCaps field to gfxFontStyle, and pass it through from layout when creating gfxFontStyle records. r=roc
2014-05-26 14:23:31 +01:00
Makoto Kato
d38288b73d
Bug 889401 - Part 2. Render color glyph using COLR/CPAL. r=jfkthame
2014-05-26 19:07:24 +09:00
Makoto Kato
f2dbe6caa9
Bug 889401 - Part 1. Add Segoe UI Emoji to fallback font list. r=jfkthame
2014-05-26 17:09:55 +09:00
Robert O'Callahan
7ed71d49d1
Bug 1006576. Set DISABLE_SNAPPING flag on all printing gfxContexts. r=mattwoodrow
...
--HG--
extra : rebase_source : 81253104ed611eebeb2518ec25f1fd480d872fff
2014-05-26 12:11:06 +12:00
Sotaro Ikeda
afdf8e01dd
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-24 09:14:45 -07:00
Steve Fink
12ba3a7a2a
Backed out changeset 171edffe0641 (bug 1006957) for crash at BaseAutoLock<mozilla::Mutex>::BaseAutoLock(mozilla::Mutex&) from layers::AsyncTransactionTrackersHolder::ClearAllAsyncTransactionTrackers on a CLOSED TREE
2014-05-23 21:16:02 -07:00
Nathan Froyd
3087f2eca6
Backout d6c58a2a6da4 (bug 1012407) for various bustages on a CLOSED TREE
2014-05-23 23:36:28 -04:00
Nathan Froyd
a31a0e4ff3
Backout 471244c106e9:634be002dbc9 (bug 1012407)
2014-05-23 23:34:43 -04:00
Andreas Gal
aca5916189
Bug 1012407 - Part 7: Use a single GL draw call to draw up to 4 texture quads (r=Bas)
2014-05-24 04:16:27 +02:00
Andreas Gal
6d44ef02e1
Bug 1012407 - Follow-up nits for part 6.
2014-05-24 04:15:45 +02:00
Botond Ballo
2fdad6c7af
Bug 1015331 - Do not leak Task object created during fling handoff. r=kats
2014-05-23 14:32:10 -04:00
Kartikaya Gupta
870ae6f32b
Bug 1015278 - Replace the std::string with a char[20] in FrameMetrics to make it cross-process shmem friendly. r=botond
2014-05-23 21:08:51 -04:00
Sotaro Ikeda
ac5d74bdb6
Bug 1006957 - Handle buffer ownership between SurfaceStream and CanvasClient r=nical
2014-05-23 17:52:43 -07:00
Andreas Gal
095d4eb7ff
Bug 1012407 - Part 9: Normalize texture coordinates in DecomposeIntoNoRepeatRects (r=BenWa)
2014-05-24 02:49:41 +02:00
Kartikaya Gupta
505e516ded
Bug 946879 - Guard compositable dumping with an environment variable. r=BenWa
2014-05-23 17:06:24 -04:00
Kyle Huey
8c5cca136c
Bug 996133: Remove unnecessary NS_DISPATCH_NORMAL arguments to NS_DispatchToMainThread. r=ehsan
2014-05-23 12:53:17 -07:00
Nicolas Silva
7c865568d2
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Carsten "Tomcat" Book
1c7db51a21
Backed out changeset c4a259f05a18 (bug 1012407) for reftest 5 test failures
2014-05-23 10:37:03 +02:00