Commit Graph

14968 Commits

Author SHA1 Message Date
Botond Ballo
c291e1eee0 Bug 1014691 - Move APZ reftests to apz/test/reftest. r=kats 2015-09-18 13:19:55 -04:00
Botond Ballo
a931ccfcbc Bug 1014691 - Get TestAsyncPanZoomController to compile in its new location. r=kats 2015-09-16 19:49:59 -04:00
Botond Ballo
fecaa29a5a Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium 2015-09-18 13:19:05 -04:00
Botond Ballo
c9133340dc Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats 2015-09-16 19:45:14 -04:00
Botond Ballo
07c03b4271 Bug 1014691 - Move APZ mochitests to gfx/layers/apz/test/mochitest. r=kats 2015-09-16 19:26:04 -04:00
Wes Kocher
b4245f0248 Backed out changeset 09c2a214244b (bug 1072313) for Windows textureclient crashes CLOSED TREE 2015-09-21 10:37:07 -07:00
Mason Chang
6248fc9129 Backout bug 1188075 for graphical artifacts. r=me 2015-09-21 08:14:05 -07:00
Nicolas Silva
3916892435 Bug 1072313 - Never call TextureClient::KeepUntilFullDeallocation off the ipdl thread. r=mattwoodrow 2015-09-21 16:54:40 +02:00
Sotaro Ikeda
598d9ceddd Bug 1172719 - Fix SharedSurface fence handling on gonk r=jgilbert,nical 2015-09-21 07:21:52 -07:00
Seth Fowler
9e43ef5e44 Bug 1146663 (Part 1) - Remove HQ scaling, which is now dead code. r=tn 2015-09-19 16:20:56 -07:00
Milan Sreckovic
6a5f621b33 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
9c59120311 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
30945a6c25 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
39992da3c8 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
fd95572dda Bug 1205045 - remove GTK calls from compositor thread. r=jmuizelaar 2015-09-15 16:46:39 -04:00
Thinker K.F. Li
35640a2b48 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
4063b73092 Bug 1097464 - Part 4: Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
494d012e60 Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 08:30:00 +02:00
Thinker K.F. Li
b6c08e87d9 Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
e3cca66ff3 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
179cf6e72b Bug 1205570 - fix up font prefs for x-math lang group. r=heycam 2015-09-18 13:48:45 +09:00
Phil Ringnalda
4262baf358 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
d856434c17 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
a6bc220780 Bug 1204106 - Use correct alpha blend modes for OVER in CompositorOGL. r=jrmuizel 2015-09-17 19:31:00 -04:00
Matt Woodrow
b1e586b324 Bug 1197534 - Send RecycleTexture messages from the ImageBridge thread. r=sotaro 2015-09-14 14:17:39 -04:00
Carsten "Tomcat" Book
d5a4a5acf7 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
54c82d1a14 Bug 1204895 - Add fence handling to AutoRemoveTexture on gonk r=nical 2015-09-17 07:22:41 -07:00
Jamie Nicol
0c22018580 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
0ba31eb403 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
815875ede3 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
7906f8bf77 Bug 1201101 - Enable axis-locking over multiple APZCs. r=botond 2015-09-14 07:40:00 +02:00
Chris Lord
f28d54ae3c Bug 1201098 - Consume fling and overscroll velocity per-axis. r=botond 2015-09-16 01:49:00 +02:00
Jamie Nicol
f49f7a7845 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
b33806dfa4 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
e61d312ba8 Bug 1097464 - Part 4 - Fix preserve3d wording for layer flags. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
3fc7eb479f Bug 1097464 - Part 3 - Fix and add reftests. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
0deda0edcd Bug 1097464 - Part 2 - Snap translation for 3d transforms. r=roc 2015-09-17 03:31:00 +02:00
Thinker K.F. Li
d4772154e6 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
248f611da3 Bug 1201135 - Rename pldhash.{h,cpp} to PLDHashTable.{h,cpp}. r=mccr8. 2015-09-15 20:49:53 -07:00
Timothy Nikkel
e9bd25c265 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
fae0d40fb0 Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats 2015-09-16 19:10:24 -04:00
Botond Ballo
1a470826eb 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
64ffb772c3 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
af32ca45ae 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
9276ec6c50 Bug 1200063 - Make APZCTreeManager the place where GetFrameTime() can be overridden. r=kats 2015-09-16 14:58:16 -04:00
Nicholas Nethercote
e7fadb1c11 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
Benoit Girard
7daa5e882e Bug 1189565 - Only factor in the async zoom change. r=kats 2015-09-16 13:42:24 -04:00
Chris Peterson
94cea7d91b 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
f71059bd78 Bug 1121760 (part 6) - Move all remaining PL_DHash*() functions into PLDHashTable. r=poiru. 2015-09-14 14:23:47 -07:00
Nicholas Nethercote
6f753fbb80 Bug 1121760 (part 2) - Remove PL_DHashTableAdd(). r=poiru. 2015-09-14 14:23:12 -07:00