Commit Graph

14972 Commits

Author SHA1 Message Date
Olivier Brunel
ed3287c777 Bug 1194631 - Make firefox build with --disable-logging. r=jrmuizel 2015-09-22 17:39:12 +02:00
Markus Stange
5f3c0c1a90 Back out changeset 17a4283a8b6f (bug 1195400) because of build bustage. 2015-09-22 12:51:48 +02:00
Markus Stange
52e387832e Bug 1195400 - Don't use SingleTiledContentClient for layers that are larger than the maximum texture size. r=mattwoodrow 2015-09-20 18:34:04 +02:00
Andrew Comminos
a34161357c Bug 1202175 - Guard GLX-specific call in SurfaceDescriptorX11. r=jgilbert 2015-09-11 16:53:00 +02:00
Botond Ballo
2f607532d4 Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats 2015-09-18 13:19:55 -04:00
Botond Ballo
993899b63a Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats 2015-09-16 19:49:59 -04:00
Botond Ballo
76c4fb2334 Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium 2015-09-18 13:19:05 -04:00
Botond Ballo
ee4d63107b Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats 2015-09-16 19:45:14 -04:00
Botond Ballo
fa6eaef87a Bug 1014691 - Move APZ mochitests to gfx/layers/apz/test/mochitest. r=kats 2015-09-16 19:26:04 -04:00
Wes Kocher
2e06e71f8c Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE 2015-09-21 10:37:07 -07:00
Mason Chang
42c9c81cc8 Backout bug 1188075 for graphical artifacts. r=me 2015-09-21 08:14:05 -07:00
Nicolas Silva
50fd76f662 Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Sotaro Ikeda
acb0a59cbe Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical 2015-09-21 07:21:52 -07:00
Seth Fowler
40c407a01f Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Milan Sreckovic
5c849a66f3 Bug 1200021 - crash in mozilla::layers::ContentClientDoubleBuffered::FinalizeFrame(nsIntRegion const&): Diagnostics to get more data. r=bas 2015-09-19 11:19:07 +02:00
Phil Ringnalda
0d952f7717 Back out 2 changesets (bug 1111689) for ASan mochitest-gl leaks
Backed out changeset 909b9b147e71 (bug 1111689)
Backed out changeset bd0a637e8000 (bug 1111689)
2015-09-18 19:04:54 -07:00
Milan Sreckovic
4d0c7fef14 Bug 1111689 - Part 1: Let EXT_shader_texture_lod play when ARB_shader_texture_lod can play. r=jgilbert 2015-02-09 17:53:38 +08:00
Mason Chang
226124a0f3 Bug 1188075 - Speed up inner box-shadow drawing by using a border-image style approach. r=mstange 2015-09-18 11:23:55 -07:00
Lee Salzman
d240e9c991 Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Thinker K.F. Li
c4820d6fca 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
96df61630e Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a4cf5175bd Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 08:30:00 +02:00
Thinker K.F. Li
7cb7713946 Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
a76cd2da5c Bug 1097464 - Part 1 - Remove Z value from 3D transforms for D3D9. r=roc,matt.woodrow 2015-09-17 03:31:00 +02:00
John Daggett
702885dc8a Bug 1205570 - fix up font prefs for x-math lang group. r=heycam 2015-09-18 13:48:45 +09:00
Phil Ringnalda
adb9b864ab 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
b0500a35e3 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).
2015-09-17 17:11:27 -07:00
Matt Woodrow
cd70d8e2f5 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
Matt Woodrow
044f3b47c5 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Carsten "Tomcat" Book
42aa14ed8e 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)
2015-09-17 16:24:43 +02:00
Sotaro Ikeda
3913108a58 Bug 1204895 - Add fence handling to AutoRemoveTexture on gonk r=nical 2015-09-17 07:22:41 -07:00
Jamie Nicol
37e32f14b8 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
48f148663b 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
80617bdda6 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
2cbc9bdccb Bug 1201101 - Enable axis-locking over multiple APZCs. r=botond 2015-09-14 07:40:00 +02:00
Chris Lord
75f01f9217 Bug 1201098 - Consume fling and overscroll velocity per-axis. r=botond 2015-09-16 01:49:00 +02:00
Jamie Nicol
709cbe92db 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
0238a11403 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
bc6f3228bb Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
6edca56043 Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
81bccd393b Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
0d0732a41d 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
6855b78fbf Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Timothy Nikkel
ef9fe160e9 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
d827a26912 Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats 2015-09-16 19:10:24 -04:00
Botond Ballo
5e588863cc 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.
2015-09-16 17:23:59 -04:00
Botond Ballo
add8d8267f 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.
2015-09-16 20:29:41 -04:00
Botond Ballo
d7d2955d42 Bug 1200063 - Share a paint throttler between APZCs in the same layers id. r=kats
In this process, TaskThrottler is made reference-counted.
2015-09-16 14:45:07 -04:00
Botond Ballo
917642ff2f Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats 2015-09-16 14:58:16 -04:00
Nicholas Nethercote
cae6e9971a 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.)
2015-09-09 21:07:07 -07:00