Commit Graph

20095 Commits

Author SHA1 Message Date
Thinker K.F. Li
e9a8758d19 Bug 1097464 - Part 3 - Fix and add reftests. r=roc
--HG--
extra : rebase_source : cd4a906c120d96e6c8d37ce2e301f7ab3837e3bc
2015-09-17 08:30:00 +02:00
Thinker K.F. Li
568e7ca86e Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc
--HG--
extra : rebase_source : ec019b2aff7aa4d62d1ce7bfcc389cdce0018246
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
061d1bb4c7 Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow
--HG--
extra : rebase_source : 3ff8f50daf2309dd742806ab34577acc8edf38c7
2015-09-17 03:31:00 +02:00
John Daggett
70e21e9853 Bug 1205570 - fix up font prefs for x-math lang group. r=heycam 2015-09-18 13:48:45 +09:00
Phil Ringnalda
10cf9b120c Back out changeset e18e75437c6e (bug 1204106) for Android 4.0 API11+ debug reftest-5 opacity-blending.html failures 2015-09-17 20:30:09 -07:00
Nicholas Nethercote
af6751ef10 Bug 1205533 - Fix and disallow warnings in gfx/qcms/. r=jrmuizel.
This patch fixes various warnings from MSVC.

- Several "truncation from 'double' to 'float'" warnings, easily fixed by
  appending 'f' to literals.

- Some "signed/unsigned mismatch" warnings. In read_tag_lutType(), MSVC is
  apparently promoting the multiplication of a uint8_t and a uint16_t to an
  int32_t, oddly enough. A uint32_t cast fixes the warning.

- |offset| was unused in qcms_data_create_rbg_with_gamma().

- A couple of "overflow in floating-point constant arithmetic" warnings
  involving INFINITY in transform_util.c. There is some type confusion here --
  in C99 HUGE_VAL is a double and INFINITY is a float. So the HUGE_VAL here
  should actualy be HUGE_VALF. But, strangely enough, that isn't enough to
  avoid the warning, I don't know why. However, it turns out that any
  non-positive value for |interval| will have the same effect, so I just
  removed all the INFINITY/HUGE_VAL stuff and used -1 instead.

It also fixes an ARM-only GCC warning.

- "'__force_align_arg_pointer__' attribute directive ignored". This is an
  x86-only attribute. Instead of disabling it on x86-64, instead enable it on
  i386 (which avoids enabling it uselessly on ARM).

--HG--
extra : rebase_source : 61015b7e48aebd58035fc222abf076e79a99a972
2015-09-17 17:11:27 -07:00
Matt Woodrow
f21e058613 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
Matt Woodrow
1ea4b7e961 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Carsten "Tomcat" Book
f7534678df Backed out 6 changesets (bug 1097464) for causing OS X 10.10 Reftest Errors
Backed out changeset fbf63ce1ba88 (bug 1097464)
Backed out changeset fdaf4cfa6707 (bug 1097464)
Backed out changeset 727ebd9f744a (bug 1097464)
Backed out changeset 03f03a776042 (bug 1097464)
Backed out changeset 5ec6364b87d7 (bug 1097464)
Backed out changeset 47d056b3af7f (bug 1097464)

--HG--
extra : rebase_source : e2da133b489e4adba373303dad6e559826927e19
2015-09-17 16:24:43 +02:00
Sotaro Ikeda
51c653ee0e Bug 1204895 - Add fence handling to AutoRemoveTexture on gonk r=nical 2015-09-17 07:22:41 -07:00
Jamie Nicol
f868aa65e7 Bug 1194923 - Call glFlush before glDeleteFramebuffers on Adreno 420 devices. r=snorp
There is an occasional driver crash on the nexus 6, and possibly other
Adreno 420 devices, which seems to occur in some circumstances after
calling glDeleteFramebuffers. Calling glFlush before
glDeleteFramebuffers prevents this. Add this workaround at least until
it is better known what is going on.
2015-09-17 04:41:00 +02:00
Randall Barker
a7e6f1f6ef Bug 1204932 - When C++APZ is enabled, elements that are zoomed with double tap should be centered. r=botond 2015-09-16 10:53:00 +02:00
Randall Barker
1075e0ad2c Bug 1204084 - Double tap gesture fails when tapping on a large element contained in an iframe or scrollable div. r=botond 2015-09-16 11:17:00 +02:00
Chris Lord
07467bcbc8 Bug 1201101 - Enable axis-locking over multiple APZCs. r=botond 2015-09-14 07:40:00 +02:00
Chris Lord
930f7b97f3 Bug 1201098 - Consume fling and overscroll velocity per-axis. r=botond 2015-09-16 01:49:00 +02:00
Jamie Nicol
a7a276263d Bug 1200729 - Recompute FrameLayerBuilder item visibility if dirty region changes. r=mwoodrow
Make the FrameLayerBuilder remember for what region it has calculated
display item visibility, then recompute the visibility whenever the
dirty region it is passed to DrawPaintedLayer changes.

This means that the caller does not have to know the entire dirty region
that will be drawn for the transaction, but we can still optimise cases
where it knows some of the dirty region in advance.

This fixes a regression where MultiTiledContentClient's low-res display
port would not be painted if a smaller region of its high-res buffer had
already been painted that transaction, since the FrameLayerBuilder
had decided that most of the larger low-res region was invisible.
2015-09-15 14:41:42 +01:00
Thinker K.F. Li
76109f93c4 Bug 1097464 - Part 6 - Handle preserves-3d by compositor. r=roc
Remove WrapPreserve3DList() and replaced it by creating a
nsDisplayTransform item for each transformed frame.

 - Add an additional item for each top frame extending 3D context to
   separate consequence contexts.

 - Effective transform of a layer is the accumulation of ancestors in
   the same 3D context.

 - The layers creating new context and extended by children need a
   temporary buffer if it's effective transform is not 2D.

 - Clip rects are accumulated along the context chain.

 - Visible rects of items are computed from dirty regions of the frame
   creating the context and accumulated transforms.

 - Bounds of items are computed from accumulated transforms and
   accumulated bounds of the descent frames.

 - Backface hidden is handled by compositor and BasicLayerManager.
2015-09-17 03:31:00 +02:00
Thinker K.F. Li
577d814813 Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
67f398225c Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
88a510d1f5 Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a4c2346c7e Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow 2015-09-17 03:31:00 +02:00
Nicholas Nethercote
647b520991 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8.
--HG--
rename : xpcom/glue/pldhash.cpp => xpcom/glue/PLDHashTable.cpp
rename : xpcom/glue/pldhash.h => xpcom/glue/PLDHashTable.h
extra : rebase_source : 06b9d30db96ed78500fd44d9c0b51609103508a3
2015-09-15 20:49:53 -07:00
Timothy Nikkel
1341b9b27d Bug 1204824. Make Matrix4x4::PreScale scale all values in the first three rows. r=bas 2015-09-16 23:39:09 -05:00
Botond Ballo
f6316bb39c Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
--HG--
extra : source : acc5f6c432b709cf3519508579ae7076c6836a1f
2015-09-16 19:10:24 -04:00
Botond Ballo
376d8645a1 Bug 1200063 - Make sure TaskThrottler sends its pending repaint request eventually, even if it never receives a notification from the previous request. r=kats
This is important because the previous repaint can be a no-op, and those don't trigger notifications.

--HG--
extra : source : cb474b5a74ad026f7a1151ae8fd38cdfd538be7c
extra : intermediate-source : b4129db9a5e6a431f556fc2149131d975f3fc33d
2015-09-16 17:23:59 -04:00
Botond Ballo
73518fc4f5 Bug 1200063 - Add a generic implementation of nsITimerCallback that's usable with a lambda or other function object. r=kats
We can consider moving this to xpcom in the future.

--HG--
extra : source : 6511683402da8d3d893aecf6c39babab639a7daf
extra : intermediate-source : a84022dd2c07d269b6b4c6004a2ac4613486a760
2015-09-16 20:29:41 -04:00
Botond Ballo
3ec0663f3b Bug 1200063 - Share a paint throttler between APZCs in the same layers id. r=kats
In this process, TaskThrottler is made reference-counted.

--HG--
extra : source : 68295d4d1616e257732b8f2e8dd46c24debc8626
extra : intermediate-source : 2cd0c4caec06689c5325e23006d2cb14d40c5b5c
2015-09-16 14:45:07 -04:00
Botond Ballo
d84490b7db Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats
--HG--
extra : source : b9e4b80438234e98f9304a6e29f0f4b9b8eb58a8
extra : intermediate-source : 3c88311ea92fef66479c08cd6b160de82d393249
2015-09-16 14:58:16 -04:00
Nicholas Nethercote
6f036921dc Bug 1203427 (part 1) - Add nsExpirationTracker::mName. r=froydnj.
There are many sub-classes of nsExpirationTracker. In order to distinguish them
nicely in the logging of timer firings, it's necessary to manually name each
one. (This wouldn't be necessary if there was a way to stringify template
parameters, but there isn't.)

--HG--
extra : rebase_source : 89b99e9dbb2a806bd21145d04a5e023794643b61
2015-09-09 21:07:07 -07:00
Benoit Girard
2881f47a4c Bug 1189565 - Only factor in the async zoom change. r=kats
--HG--
extra : commitid : CjuuLbwyk5M
2015-09-16 13:42:24 -04:00
Chris Peterson
e7dc549743 Bug 1204400 - Fix -Wshadow warnings in gfx/thebes and suppress those from Skia headers. r=BenWa 2015-09-11 20:30:14 -07:00
Nicholas Nethercote
2ee4fd783b Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru.
--HG--
extra : rebase_source : 3cdc975507170d783b02d70f7c7d95c6bf2e1bcd
2015-09-14 14:23:47 -07:00
Nicholas Nethercote
479244f7c9 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru.
--HG--
extra : rebase_source : 41eb939bfb5c925cba58b1af57abce9a4e5fdb30
2015-09-14 14:23:12 -07:00
Nicholas Nethercote
fcfdd8f54b Bug 1121760 (part 1) - Remove PL_DHashTableSearch(). r=poiru.
--HG--
extra : rebase_source : 770e1f49a451ecbadd778e071b204611e27cf701
2015-05-21 00:34:25 -07:00
Botond Ballo
1f87f52eb8 Bug 1166301 - When applying an async adjustment to a fixed layer, only adjust its mask layer under the same circumstances as its clip rect. r=mattwoodrow
--HG--
extra : rebase_source : 711ec4146313ffa80e52303449d2529bde2c00d0
extra : source : 1981f6bcae100a38af7dc3aa9038f74390e6ef04
2015-08-28 13:57:00 -04:00
Botond Ballo
a1d5d090fe Bug 1166301 - Allow async scrolling to move the clip rects of fixed background layers. r=mattwoodrow
--HG--
extra : rebase_source : f176d9c355eeb4b7a88ca7ef3ececf03af2227cc
extra : source : 723c35828fbc080b6e372cfbbf187167db455156
2015-09-04 19:23:19 -04:00
Botond Ballo
f5f74997cd Bug 1166301 - Update an old comment in AsyncCompositionManager::AlignFixedAndStickyLayers. r=kats
--HG--
extra : rebase_source : b69104a407c62a3f25e708b172c8e51eac7e9295
extra : source : 2a98e76921bb905d750a2e36e6057a5bb6f4fd41
2015-08-28 15:21:01 -04:00
Botond Ballo
a22ee7711a Bug 1166301 - Store a flag on Layer to tell fixed background layers apart from fixed position layers. r=mattwoodrow
--HG--
extra : rebase_source : eaad2e8c7f85f20cc691353d9675611eee4733ee
extra : source : 33b55c6b3a48e3e9a2f19f498f56084d6905dfc1
2015-09-04 17:26:33 -04:00
Botond Ballo
5d157ca8b0 Bug 1166301 - Use the correct format flags for printing fixed position data in the layers dump. r=kats
--HG--
extra : rebase_source : 17752b971d1157f740e17cf4c0708c2228c0cec4
extra : source : 016c66b680b96acf5009ceefcb370d5d86660386
2015-09-04 15:57:50 -04:00
David Anderson
ea934017d9 Support all blend modes in the basic compositor. (bug 1203829 part 1, r=mattwoodrow) 2015-09-15 13:07:05 -07:00
Mason Chang
76b8c1d6e8 Bug 1160216 - Add a preference to force software vsync and set software vsync rate. r=kats 2015-09-15 08:13:57 -07:00
Bas Schouten
c39f9055e3 Bug 1182147: Ensure ImageHost does not attempt to call DrawQuad with an effect unsupported by the compositor. r=nical 2015-09-04 18:31:52 +00:00
David Anderson
b8fb04e7b8 Handle screen and multiply blend modes in the D3D11 compositor. (bug 1203829 part 4, r=mattwoodrow) 2015-09-15 01:04:37 -07:00
David Anderson
250032dd90 Refactor shader initialization in CompositorD3D11. (bug 1203829 part 3, r=mattwoodrow) 2015-09-15 01:04:17 -07:00
David Anderson
4dcdb71497 Compile shaders with newer fxc. (bug 1203829 part 2, r=mattwoodrow) 2015-09-15 01:04:09 -07:00
Nicholas Nethercote
9d68ee2953 Bug 1204277 - Disallow warnings in six more directories. r=glandium.
These are all conditional uses of ALLOW_COMPILER_WARNINGS=True that are no
longer necessary.

--HG--
extra : rebase_source : e654fa940aed18b1d5ef7b2bebb45bbef59cfd84
2015-09-14 21:16:37 -07:00
Bas Schouten
016218727f Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Wes Kocher
82a9b4cd94 Backed out changeset be88a56c4856 (bug 1197534) for test_BufferingWait.html crashes CLOSED TREE 2015-09-14 14:43:52 -07:00
Michael Layzell
b4d95d7c97 Bug 1202794 - Explicitly clear array in SortChildrenBy3DZOrder to satisfy the move analysis, r=mattwoodrow 2015-09-14 16:04:11 -04:00
Matt Woodrow
3a98f89348 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel
--HG--
extra : rebase_source : 2eb322beabf6557fdff509c8d8212762a9835dfe
2015-09-14 14:18:20 -04:00
Matt Woodrow
c7235f4a33 Bug 1203744 - Fix the SCREEN blend mode with CompositorOGL when the source data is unpremultiplied. r=dvander
--HG--
extra : rebase_source : 92ae508e7c7b6f483355791f9baa23643aad6c39
2015-09-14 14:17:39 -04:00
Matt Woodrow
ae983d7ba4 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro
--HG--
extra : rebase_source : 431841816dbb14ceca9138b3ee98af12d8e05eca
2015-09-14 14:17:39 -04:00
Kearwood (Kip) Gilbert
821ab79706 Bug 914457 - Part 2: Implement Crashtest
- Implemented a crashtest based on the testcase.

--HG--
extra : rebase_source : ed2d2cc1f8c526d2c5608f4273453ad6d6c8fdaf
2015-09-14 09:26:13 -07:00
Kearwood (Kip) Gilbert
e39a8b9817 Bug 914457 - Part 1: Use an empty clip rect for layers with an empty visible region
- Layer::CalculateScissorRect no longer asserts when all children of a
  3d transformed layer have an empty visible region.

--HG--
extra : rebase_source : e05b1e12d88d36a7fedd20fc50c1f02a5370d7fc
2015-09-14 09:26:10 -07:00
Masayuki Nakano
683794135c Bug 895274 part.244 Rename NS_TOUCH_CANCEL to eTouchCancel r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
51d7268995 Bug 895274 part.243 Rename NS_TOUCH_END to eTouchEnd r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
52a7afe36c Bug 895274 part.242 Rename NS_TOUCH_MOVE to eTouchMove r=smaug 2015-09-15 00:14:35 +09:00
Masayuki Nakano
7a48a6f2ab Bug 895274 part.241 Rename NS_TOUCH_START to eTouchStart r=smaug 2015-09-15 00:14:34 +09:00
Kartikaya Gupta
21a44de982 Bug 1203992 - Distinguish between SingleTiledContentClient and MultiTiledContentClient in the layer tree dump. r=nical
--HG--
extra : commitid : DBHien2adYx
2015-09-14 11:02:11 -04:00
Milan Sreckovic
865e1ef45c Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
David Anderson
84df7133f4 Don't attempt to use WARP after D3D11CreateDevice crashes. (bug 1201202, r=bas) 2015-09-13 23:52:29 -07:00
David Anderson
7fc797a935 Don't run the compositor:created notification from within unsafer callers. (bug 1201684, r=mattwoodrow) 2015-09-13 23:51:45 -07:00
Phil Ringnalda
b25d7ef2e4 Merge f-t to m-c, a=merge 2015-09-12 09:13:57 -07:00
Phil Ringnalda
b164dfe263 Merge m-c to f-t 2015-09-11 22:10:22 -07:00
Phil Ringnalda
f79d829bdf Merge b-i to m-c, a=merge 2015-09-11 20:27:20 -07:00
Kartikaya Gupta
c57e3a610e Bug 1203132 - Add an SVG for the B2G flow of touch events. r=botond
DONTBUILD because NPOTB

--HG--
extra : commitid : 19NNOhDSDA4
2015-09-11 14:36:36 -04:00
Phil Ringnalda
42095e9f99 Merge m-c to m-i 2015-09-11 22:04:40 -07:00
Botond Ballo
b979ad25d3 Bug 1202312 - Use mozilla::Function for the ContentReceivedInputBlock callback. r=kats
--HG--
extra : source : d0d8d51c89955d70c72591b424e18790973e8805
2015-09-11 12:52:43 -04:00
Botond Ballo
976c25b63c Bug 1202312 - Use mozilla::Function for the SetAllowedTouchBehavior callback. r=kats
--HG--
extra : source : 168244f8869806e0fb6b318a938e46b706972f94
2015-09-11 12:27:49 -04:00
Kartikaya Gupta
711b35cb56 Bug 1201581 - Hook up the syncFrameMetrics call to sync metrics info from the compositor to Java-land on each composite. r=rbarker
--HG--
extra : commitid : JByEVaIboTo
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
9ebc137a82 Bug 1201581 - Extract a helper method. r=rbarker
--HG--
extra : commitid : G3fI5OSxBKC
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
6630a65ba4 Bug 1201529 - Ensure that zoomable scrollframes return true from WantAsyncScroll(). r=botond
--HG--
extra : commitid : 29B0WVGYfId
2015-09-11 21:58:16 -04:00
Kartikaya Gupta
653a1da394 Bug 1201529 - Fall back to rootmost metrics if there is no root content document metrics. r=botond
--HG--
extra : commitid : IueYz1Pt0HX
2015-09-11 21:58:15 -04:00
Wes Kocher
ca0fa7c1cb Backed out 4 changesets (bug 1182665) for android reftest orange CLOSED TREE
Backed out changeset 719a4fbded10 (bug 1182665)
Backed out changeset 9559cead8d08 (bug 1182665)
Backed out changeset 4080fb4b9a7f (bug 1182665)
Backed out changeset c8549221c366 (bug 1182665)
2015-09-11 11:21:56 -07:00
Wes Kocher
bbe3773db1 Backed out changeset 5b9886673514 (bug 1201541) for android reftest orange CLOSED TREE 2015-09-11 11:21:22 -07:00
Wes Kocher
2fddaed099 Backed out 3 changesets (bug 1178376) for android reftest bustage CLOSED TREE
Backed out changeset 9394c5f63b56 (bug 1178376)
Backed out changeset 83295d5f54a9 (bug 1178376)
Backed out changeset 5e1c6511123a (bug 1178376)
2015-09-11 11:20:23 -07:00
Wes Kocher
a48d20d520 Backed out changeset f0fbe3de27cb (bug 1127270) for b2g debug mochitest failures CLOSED TREE 2015-09-11 10:58:47 -07:00
James Willcox
1e69214491 Back out 69e7d484b749452e7c7ba2ab01f66f71c6339a6b due to Android 4.0 debug reftest failures 2015-09-11 11:27:24 -05:00
Carsten "Tomcat" Book
a6cd041140 Merge mozilla-central to fx-team 2015-09-11 16:42:01 +02:00
Victor Porof
14ba9c7285 Bug 1200252 - Add marker for when the IPC request for a composite is sent to the compositor thread, r=jsantell,matt 2015-09-11 07:59:53 +02:00
Jim Mathies
61df61dda2 Bug 1137944 - Backout compositor bits (cset b4711fa5f734) which caused a telemetry metric regression. r=backout 2015-09-08 18:14:51 -05:00
Milan Sreckovic
85a127ddb0 Bug 1160295 - Part 2. Make sure the DLLs are loaded before checking the version. r=bas 2015-09-04 08:52:00 +02:00
Robert O'Callahan
a0bdc144af Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange
--HG--
extra : commitid : 1mRKtZjMMmq
extra : rebase_source : f94fc3fbe11318f5770f6e2b788fb4674fcb62da
2015-09-07 17:09:11 +12:00
Robert O'Callahan
8c59471aa8 Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange
--HG--
extra : commitid : IzBfiPS7qav
extra : rebase_source : 71418319c9bbfc4bdad68fe1229e77be0ab4496b
2015-09-07 17:11:35 +12:00
Robert O'Callahan
ff15b1bada Bug 1202317. Bail out early if RequestRect is going to do redundant work. r=mstange
--HG--
extra : commitid : JQHaCF87nEG
extra : rebase_source : facdbfb7d1d06b64920e8f014367145cfdea9a43
2015-09-07 17:08:36 +12:00
Nathan Froyd
b4f3c3be46 Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel
NS_GFX last meant something prior to bug 648911, which removed support
for non-libxul builds.  Now that it's meaningless, let's get rid of it.
2015-09-07 17:53:36 -04:00
John Daggett
06366cd453 Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
John Daggett
71e6ecf0ad Bug 1201183 - handle font family name OOM error. r=nfroyd 2015-09-11 09:40:30 +09:00
Matt Woodrow
fb01190fe1 Bug 1199361 - Add texture memory reporters for YCbCr TextureClients. r=jrmuizel
--HG--
extra : rebase_source : 56c1ec34c1d4285117fef854aebaf2bbf8b1a93a
2015-09-01 15:33:40 -04:00
Matt Woodrow
284d1f503c Bug 1202700 - Use d3d9 device to upload YCbCr surfaces on the client side if possible. r=Bas
--HG--
extra : rebase_source : ec496595f871e2e3fc54aae14ef01b25e6a4f9ff
2015-09-10 13:21:43 -04:00
Nicholas Nethercote
2c42ac7941 Bug 1203379 - Fix indentation of gfxWordCacheTest.cpp. r=jrmuizel.
This file has an intriguing mix of 1, 2, 3 and 4 space indentation, which this
patch fixes. The patch also fixes a small number of other style violations,
such as long lines.

--HG--
extra : rebase_source : 5a4668ddc2441c190a393f3a8519ad451918c4f0
2015-09-09 20:51:33 -07:00
Jeremy Chen
593cd9f969 Bug 1202316 - Ease the fuzzy threshold of reftest to fit all platform. r=roc
--HG--
extra : rebase_source : bec30d857f13d497fd590afed84749a00dfc5404
2015-09-08 18:16:00 +02:00
Lee Salzman
3188abf696 Bug 1201272 - use a SkBlurImageFilter for Skia canvas shadows so we can better control composite operations. r=gwright
--HG--
extra : rebase_source : 3c9269cd9fa28f0b8f4c30c376f5a573e2851e7e
2015-09-04 15:29:11 -04:00
Jonathan Kew
c82b11c0be Bug 1196463 - Update harfbuzz to release 1.0.3 from upstream. r=jdaggett 2015-09-07 08:22:05 +01:00
John Daggett
df9bdfa193 Bug 1201403 - streamline MacOSFontEntry::HasFontTable implementation. r=jfkthame 2015-09-07 16:01:59 +09:00
Makoto Kato
544d70a000 Bug 1170072 - Part 1. Make GetCharProps1 as static function. r=jfkthame 2015-09-07 11:54:46 +09:00
David Anderson
93bbda05d5 Remove a pref that forces directwrite on when D2D is blocked. (bug 1193641, r=milan) 2015-09-04 17:47:49 -07:00
David Anderson
6ef885ab51 Ensure scroll info layers have a dispatch-to-content region. (bug 1193557 part 2, r=kats) 2015-09-04 17:18:03 -07:00
David Anderson
4c72778d2c Backout changeset b5e6116756b6 (wrong bug number). 2015-09-04 17:44:23 -07:00
David Anderson
51c747a7db Add a test case for bug 1193557, r=kats. 2015-09-04 17:18:11 -07:00
David Anderson
02e78d587c Ensure scroll info layers have a dispatch-to-content region. (bug 1193641 part 2, r=kats) 2015-09-04 17:18:03 -07:00
Jim Mathies
a1c23ca55a Bug 1201660 - When layer tree updates get dropped, hide plugins associated with the tree. Fixes a bug where we were hiding all plugins associated with the window. r=matt.woodrow 2015-09-04 16:18:55 -05:00
Jeff Muizelaar
eb58e4fc03 Bug 1180225. Make convolver more like upstream. r=seth
This fixes uninitialised reads.

--HG--
extra : rebase_source : c7f50d9ea7a56d845ccb2f324e3e73fbd2e83003
2015-08-27 16:06:37 -04:00
Sebastian Hengst
8440886183 Backed out 8 changesets c8de1f3f0bf3, fc0ab17babda, 051166e3d6e4, 2c11c33beb7c, f52ff32dfb47, 9fe51adf6a70, 6ad2ac42107c, 022810f9a65a (bug 1083101) for for frequent gtest timeouts in Moz2D.TaskScheduler_Join. r=backout on a CLOSED TREE 2015-09-04 20:03:45 +02:00
Michael Pruett
f912c6affe Bug 1201277 - Replace functors with lambdas in APZCTreeManager. r=botond
--HG--
extra : source : 264ed23109b0ee2e8f12ae77d969bb1a26504fdd
extra : amend_source : 2ed03a71a24ae3386b41feba0d5ae9d7b5e53ffb
2015-09-03 23:09:46 -05:00
Nicolas Silva
dd0b1efc0e Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-04 14:28:31 +02:00
Nicolas Silva
cac9a73750 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-04 14:28:20 +02:00
Nicolas Silva
63fd1ccf4d Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-04 14:27:52 +02:00
Nicolas Silva
8f49f122e9 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-04 14:27:43 +02:00
Nicolas Silva
60dc713b98 Bug 1083101 - Part 3: Extend DrawCommand storage functionality and fix a bug with dashed stroke patterns. r=jrmuizel 2015-06-10 19:57:08 +02:00
Nicolas Silva
3ef74569e7 Bug 1083101 - Implement gfx::DrawingTask. r=jrmuizel 2015-09-04 14:27:30 +02:00
Nicolas Silva
6c5cc2c997 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-04 14:27:26 +02:00
Nicolas Silva
92711430f7 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-04 14:27:17 +02:00
Jonathan Kew
7ab6a729ab Bug 1201518 - Remove the (unused) HBGetEastAsianWidth callback from gfxHarfBuzzShaper. r=jdaggett 2015-09-04 12:59:19 +01:00
David Anderson
4dacc4bcac Relax the driver crash guard on nightly and e10s builds. (bug 1200825, r=jgilbert) 2015-09-03 21:05:41 -07:00
Kartikaya Gupta
aad457aa8e Bug 1201625 - Special-case B2GDroid since it doesn't have a root content document. r=rbarker
--HG--
extra : commitid : HyFaXHFS3vH
2015-09-03 23:18:52 -04:00
Jeff Muizelaar
0abf6a52fb Bug 1197296. Check the error code of Map. r=bas
--HG--
extra : rebase_source : 093468b6ce7df1bafcd3e73288e93555228dc919
2015-09-10 11:04:01 -04:00
James Willcox
fd1ffff272 Bug 1178376 - Optionally fade in new progressively painted tiles r=nical 2015-09-11 09:09:51 -05:00
James Willcox
55d33074aa Bug 1178376 - Allow progressive painting when low-precision tiles are disabled r=BenWa 2015-09-11 09:09:49 -05:00
James Willcox
827acb829b Bug 1178376 - Put progressive paint status in tile updates r=nical 2015-09-11 09:09:48 -05:00
James Willcox
d06b91de48 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-11 09:09:47 -05:00
James Willcox
ba7c467b33 Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-11 09:09:44 -05:00
James Willcox
ec43fd4643 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-11 09:09:19 -05:00
James Willcox
a80e13e6fe Bug 1182665 - Add gfxPlatform::CanUseDoubleBufferedContent() r=nical 2015-09-11 09:09:18 -05:00
James Willcox
6d957289cf Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical 2015-09-11 09:09:17 -05:00
Bas Schouten
9fcfcb0de7 Bug 1127270: Only acquire a hold on the compositor thread once the channel for a parent actor has been succesfully connected. r=nical 2015-09-11 15:24:46 +02:00
Jonathan Kew
6bd9c973ed Bug 1200098 - patch 3 - Pass the gr_nobidi flag when shaping with graphite2, as we split text into unidirectional runs ahead of time. r=jdaggett 2015-09-11 12:32:00 +01:00
Jonathan Kew
065c095a00 Bug 1200098 - Update graphite2 library to release 1.3.2 from upstream. r=jdaggett 2015-09-11 12:31:59 +01:00
Jim Mathies
3a7a0cccbe Bug 1137944 - Fire before and after composite events. r=matt.woodrow 2015-09-03 09:55:23 -05:00
Jim Mathies
416c99cb91 Bug 1137944 - Simplify the api associated with hiding e10s plugin widgets. r=roc 2015-09-03 10:01:33 -05:00
Kartikaya Gupta
ffff568fff Bug 1197824 - Support the browser.ui.zoom.force-user-scalable pref in the gecko zoom-constraints codepath. r=botond
The browser.ui.zoom.force-user-scalable pref can be modified by the user from
the Fennec settings screen, and allows them zoom pages despite the meta-viewport
tag that might otherwise restrict zooming. This effectively ignores the effect
of the user-scalable, minimum-scale, and maximum-scale meta-viewport tokens.

--HG--
extra : commitid : MWjCDpGJkH
2015-09-03 10:30:41 -04:00
Jed Davis
214e2c8aeb Bug 1198979 - GC unused IPDL struct member. r=jmuizelaar 2015-09-02 08:56:00 +02:00
Lee Salzman
01cdb40ced Bug 1004489 - propagate Cairo font AA settings to Skia font. r=gw280 2015-09-02 14:12:32 -04:00
Carsten "Tomcat" Book
12570b009b Backed out changeset edc0db4368a0 (bug 1199361) for suspicion of making OS X 10.6 reftest failing very frequently 2015-09-03 08:39:48 +02:00
Carsten "Tomcat" Book
f08a248c9a Backed out changeset 446055bf8ee4 (bug 1199371) 2015-09-03 08:38:28 +02:00
Carsten "Tomcat" Book
54c591509e Backed out changeset aef5095f71da (bug 1199371) 2015-09-03 08:38:18 +02:00
Phil Ringnalda
ae95aea501 Back out 71886d218c12 (bug 1200864) for Win8 mochitest-gl failures
CLOSED TREE
2015-09-02 20:35:45 -07:00
Jeff Gilbert
f2508b4907 Bug 1200864 - Skip DrawElements buffer validation when we have robust_buffer_access. - r=kamidphish 2015-09-02 14:06:58 -07:00
Kartikaya Gupta
e824af9852 Bug 1200399 - Only send the RCD's metrics to Java-land for fennec-apz. r=rbarker
--HG--
extra : commitid : GQyuAXJf3iE
2015-09-02 16:31:06 -04:00
Masayuki Nakano
811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
John Daggett
8995363ec7 Bug 1185812 - rejigger the ordering of fonts within a family to avoid obscure faces. r=heycam 2015-09-02 12:24:30 +09:00
John Daggett
28b858ab4a Bug 1100949 - wrap font info reads with structured exception handler. r=bas 2015-09-02 10:58:23 +09:00
Jeremy Chen
68a1353ed5 Bug 1149923 - Add reftest to testify whether mask layer is rendered correctly. r=roc 2015-08-31 20:35:00 -04:00
Jeremy Chen
866bb24e7e Bug 1149923 - Let 2D mask effect can check whether to use IntermediateSurface or not in its own logic. r=roc 2015-08-28 03:47:00 -04:00
Vincent Liu
62a02d2e47 Bug 1198574 - Remove unnecessary argument for PersistentBufferProvider. r=bas 2015-08-26 18:58:18 +08:00
Kearwood (Kip) Gilbert
fb03e30b9f Bug 1157984 - Part 4: Remove gfxRect::TransformBounds,r=vlad
--HG--
extra : rebase_source : 1ef637037fc4084f8d6b19dc25175501697b96e0
2015-08-06 17:28:38 -07:00
Kearwood (Kip) Gilbert
cbc7ba3ddb Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.

--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Kearwood (Kip) Gilbert
5265775c94 Bug 1157984 - Part 2: Implement double precision clipping functions in Matrix4x4,r=vlad
- Implement Matrix4x4::TransformAndClipBounds
- Update methods in Matrix4x4 with templates, allowing for both single
  and double precision.

--HG--
extra : rebase_source : 6d5710a85bf5d82c441463debd98b31be4ec2ace
2015-08-06 17:26:03 -07:00
"Kearwood \"Kip\" Gilbert"
0f397fb78d Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
  and Rect to create double precision versions.

--HG--
extra : rebase_source : 91e16a7b970026346b6e90a23427fd0f70491765
2015-06-11 13:43:40 -07:00