Nicolas Silva
c86aa89ddc
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-28 13:49:54 +02:00
Nicolas Silva
f32cb15051
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-28 13:49:52 +02:00
Nicolas Silva
aa68ab6789
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-28 13:49:43 +02:00
Nicolas Silva
5b34998cb6
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-28 13:49:33 +02:00
Nicholas Nethercote
15a95be5b4
Bug 1208283 (part 2) - Change ColorLayer::mColor, ColorLayerProperties::mColor, ReadbackLayer::mBackgroundColor from gfxRBGA to gfx::Color. r=jwatt.
...
This avoids some gfxRGBA-to-Color conversions.
2015-09-24 18:16:45 -07:00
Wes Kocher
6ddd381a7d
Backed out bug 1083101 for build bustage CLOSED TREE
...
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5
2015-09-24 11:14:50 -07:00
Nicolas Silva
e4b953afb8
Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE.
2015-09-24 19:47:20 +02:00
Nicolas Silva
74021d279a
Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel
2015-09-24 17:35:37 +02:00
Nicolas Silva
eece822466
Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel
2015-09-24 17:35:30 +02:00
Nicolas Silva
7bb2fc5f80
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-09-24 17:35:10 +02:00
Nicolas Silva
7f03885fb0
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-09-24 17:34:43 +02: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
d827a26912
Bug 1200063 - Rename MakeAPZCInstance to NewAPZCInstance for consistency. r=kats
2015-09-16 19:10:24 -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
John Daggett
cd38bedf03
Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
2015-09-11 13:24:33 +09:00
Nicholas Nethercote
2c450343f3
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.
2015-09-09 20:51:33 -07:00
Nicholas Nethercote
69d088e45f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen
e9749a6b42
Backed out 7 changesets (bug 1083101) for static analysis bustage and debug gtest asserts.
...
Backed out changeset a277ab555649 (bug 1083101)
Backed out changeset 831ad34078f3 (bug 1083101)
Backed out changeset 42d622972b02 (bug 1083101)
Backed out changeset ff4b35d2f501 (bug 1083101)
Backed out changeset 00e568d08a1f (bug 1083101)
Backed out changeset d9448dc26a8a (bug 1083101)
Backed out changeset 8c943cd72144 (bug 1083101)
CLOSED TREE
2015-08-27 10:47:55 -04:00
Nicolas Silva
627c49beb0
Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel
2015-08-27 14:47:16 +02:00
Nicolas Silva
90f8c65778
Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel
2015-08-27 14:47:12 +02:00
Nicolas Silva
216f313711
Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel
2015-08-27 14:47:07 +02:00
Kartikaya Gupta
cf40bd90a1
Bug 1198900 - Add a gtest to ensure we don't crash when prevent-defaulting a wheel event. r=botond, a=topcrash
2015-08-26 15:08:00 -04:00
Mason Chang
c616dd292e
Bug 1197898 - Delete vsync refresh driver preference. r=kats
2015-08-25 09:01:40 -04:00
Kartikaya Gupta
923721d7d4
Bug 1194876 - Add test. r=botond
2015-08-25 07:50:01 -04:00
Mason Chang
47d7b94a15
Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats
2015-08-24 11:27:23 -04:00
Milan Sreckovic
11cfa4678b
Bug 1188105: Parse bad driver versions. r=botond
2015-08-19 15:14:59 -07:00
Matt Woodrow
23350b9b55
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
41b12d46e3
Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
...
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow
2b069a812f
Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
2015-08-07 15:37:56 -04:00
Matt Woodrow
6fa6ea7eec
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
b06b49037f
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Wes Kocher
2d40eac90e
Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
...
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
738c3246e7
Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert
2015-07-29 16:35:55 -04:00
Matt Woodrow
d73157f84a
Bug 1150944 - Fix gfxPrefs unit test to not rely on skia-gl pref. r=mstange
2015-07-29 16:35:55 -04:00
Bobby Holley
59c4d9cf6c
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Robert O'Callahan
9117630ce9
Bug 1143575. Store composition time in Compositor. r=nical
...
We'll need this later so ImageHost can select the correct image to use.
Adding a TimeStamp parameter to BeginFrame is a bit annoying since BeginFrame
is overridden by every subclass. It's a bit more convenient to just call a
separate non-virtual method just before we call BeginFrame.
2015-07-07 15:38:38 +12:00
Lynn Tran
f6656f6e1f
Bug 1031443 - Allow panning in the pinching state even if zooming is
...
disabled;r=botond
2015-07-01 14:58:32 -04:00
Benoit Girard
6864124fbc
Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
2015-06-04 19:30:52 -04:00
Ryan VanderMeulen
43e01dd99d
Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
...
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva
cf06c34790
Bug 1179287 - Attempt to fix a gcc warning by removing the line in the test that may have caused it. CLOSED TREE
2015-07-01 18:22:17 +02:00
Nicolas Silva
a2edb251f4
Bug 1170189 - Simplify the client-side tiling code. r=BenWa
2015-07-01 13:50:58 +02:00
Nathan Froyd
8780083336
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Kartikaya Gupta
e1f765d245
Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond
2015-06-19 08:25:41 -04:00
Jeff Muizelaar
8979bb4dcc
Bug 1170983 - Re-enable gfx gtests that were skipped on Windows. r=ted
...
We can run these now that we don't split out gkmedias.
This also changes a test to avoid MSVC codegening a divide by 0
2015-06-04 14:34:46 -04:00
Botond Ballo
9f74606e9e
Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
2015-06-08 16:01:26 -04:00
Botond Ballo
139bfb7eec
Bug 1169690 - Gtests. r=kats
2015-06-03 19:38:50 -04:00