Граф коммитов

1238 Коммитов

Автор SHA1 Сообщение Дата
Kevin Chen e8bec7d8c2 Bug 1300699 - (Part 3) Implement the TextureClient creating functions for the gtest. r=jerry 2017-02-14 01:20:00 +08:00
Kevin Chen 7098a27b99 Bug 1300699 - (Part 2) Add a gtest to verify the behavior of applying incompatible compositor to a TextureHost. r=jerry 2017-02-14 00:51:00 +08:00
Kevin Chen 5d56f81be0 Bug 1300699 - (Part 1) Refactor some tests so that the new test can reuse the sources. r=jerry 2017-02-06 01:50:00 +08:00
Carsten "Tomcat" Book 818da54eb3 merge mozilla-inbound to mozilla-central a=merge 2017-02-13 12:38:26 +01:00
David Anderson a55e86f1b5 Give browser-process PuppetWidgets a BasicLayerManager. (bug 1287004, r=mattwoodrow) 2017-02-12 11:38:34 -08:00
Lee Salzman 78ab903fce Bug 738343 - part 7 - add gtest for Moz2d swizzles. r=jrmuizel
MozReview-Commit-ID: 8URP2A8okKd
2017-02-12 09:28:43 -05:00
Cameron McCormack 058a689aa1 Bug 1338872 - stylo: Test expectation adjustments. r=bholley
MozReview-Commit-ID: 4q7NJJrpX7q

--HG--
extra : rebase_source : 98279628439e6d432794e726955605d6f1358b10
2017-02-12 17:23:14 +08:00
Jonathan Kew 84d0ff400f Bug 1331683 - Crashtest. r=jrmuizel 2017-02-11 23:49:56 +00:00
Kartikaya Gupta 96c394d70c Merge m-c to graphics
MozReview-Commit-ID: AXRXwXgkOTv
2017-02-10 13:57:53 -05:00
Cameron McCormack 90e83367ae Bug 1334768 - stylo: Test expectation adjustments for for 2017-02-09 merge. r=me
MozReview-Commit-ID: AhvCAu3NYrb
2017-02-09 21:11:09 +08:00
Kartikaya Gupta 21e9123c56 Merge m-c to graphics
MozReview-Commit-ID: 3tWI3srj2uj
2017-02-01 08:48:31 -05:00
Kartikaya Gupta 445dea068b Merge m-c to graphics
MozReview-Commit-ID: Kv6GW5ElioD
2017-01-29 08:03:30 -05:00
Kartikaya Gupta eb1d639e68 Bug 1333122 - Use the CompositorOptions to determine the appropriate LayerManager to create for content-process tabs. r=dvander
MozReview-Commit-ID: AhEpuPa2heV
2017-01-24 08:03:08 -05:00
Kartikaya Gupta 90ff407202 Merge m-c to graphics
MozReview-Commit-ID: Gds3AlDHXgY
2017-01-20 10:07:40 -05:00
Kartikaya Gupta b66c471aef Merge m-c to graphics
MozReview-Commit-ID: LyU2woFOt7O
2017-01-18 13:48:56 -05:00
Mark Banner 16e6d381ac Bug 503613 - Remove old 'tail =' lines from xpcshell.ini files; r=gps
MozReview-Commit-ID: 62Hp5ISxowJ

--HG--
extra : rebase_source : daa8efb3409031fea553f4fd0c9d0746e38dc308
extra : histedit_source : b4c23aacf678ba0d0ac9c09191a7c494ead11a08
2017-01-18 10:30:39 +00:00
Ryan Hunt 04951a435e Merge m-c to graphics 2017-01-13 10:14:22 -06:00
Carsten "Tomcat" Book d69139ac79 merge mozilla-inbound to mozilla-central a=merge 2017-01-13 10:20:25 +01:00
Bobby Holley e69afdcb2e Bug 1323671 - Reenable crashtests. r=me 2017-01-12 17:37:30 -08:00
Kartikaya Gupta c65ab1c730 Merge m-c to graphics
MozReview-Commit-ID: LPeWBwbK82h
2017-01-12 12:40:09 -05:00
Eric Rahm 7e3225e327 Bug 1315464 - Dynamically allocate test regions. r=jrmuizel
Avoid allocating 720K on the stack.
2017-01-27 11:58:14 -08:00
Cameron McCormack 590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Cameron McCormack 946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Kartikaya Gupta a2e54cebb4 Merge m-c to graphics
MozReview-Commit-ID: 1rubIYTE0fk
2017-01-11 10:01:17 -05:00
Kartikaya Gupta fe1bb32f1a Merge m-c to graphics
MozReview-Commit-ID: Oh14EA4ip9
2017-01-10 08:34:13 -05:00
Shing Lyu 11a1d3e940 Bug 1328825 - Update reftest-stylo.list and expectations. r=heycam
MozReview-Commit-ID: AMwdk5wvM0F
2017-01-10 15:50:59 +08:00
Kartikaya Gupta ac6cc8ce06 Bug 1330037 - Propagate the CompositorOptions to all CompositorWidget instances. r=dvander
MozReview-Commit-ID: DFeeo2WNmhZ

--HG--
extra : rebase_source : d40bea7f726df007e3f079bb9576e1cbe17e3460
2017-01-12 17:29:42 -05:00
Ethan Lin fadcc0a39f Bug 1325159 - Add crash test for bug 1325159. r=pchang
--HG--
extra : rebase_source : 46af60083f421699b67ba229770d175f45e65014
2017-01-08 22:57:00 +01:00
Kartikaya Gupta 5e2e8f8f8e Merge m-c to graphics
MozReview-Commit-ID: 5ovnMmSOiZX
2017-01-09 10:18:37 -05:00
Morris Tseng d0ee835ee4 Merge m-c to graphics.
--HG--
rename : taskcluster/ci/desktop-test/test-platforms.yml => taskcluster/ci/test/test-platforms.yml
rename : taskcluster/ci/desktop-test/test-sets.yml => taskcluster/ci/test/test-sets.yml
2016-12-29 18:26:24 +08:00
Ethan Lin 0b1384e9e5 Bug 1322079 - Set CreateBorderLayer to pure virtual function and let nsDisplayBorder return LAYER_ACTIVE. r=mattwoodrow
MozReview-Commit-ID: 6zGq7ymIkO0
2016-12-27 11:40:40 +08:00
Kartikaya Gupta 18071e92df Merge m-c to graphics
MozReview-Commit-ID: 6XqNGxF5EiQ

--HG--
rename : dom/animation/test/css-transitions/file_csstransition-events.html => dom/animation/test/css-transitions/file_event-dispatch.html
rename : dom/animation/test/css-transitions/test_csstransition-events.html => dom/animation/test/css-transitions/test_event-dispatch.html
rename : js/src/jit/BaselineCacheIR.cpp => js/src/jit/BaselineCacheIRCompiler.cpp
rename : js/src/jit/BaselineCacheIR.h => js/src/jit/BaselineCacheIRCompiler.h
rename : testing/docker/README.md => taskcluster/docker/README.md
rename : testing/docker/REGISTRY => taskcluster/docker/REGISTRY
rename : testing/docker/android-gradle-build/Dockerfile => taskcluster/docker/android-gradle-build/Dockerfile
rename : testing/docker/android-gradle-build/README.md => taskcluster/docker/android-gradle-build/README.md
rename : testing/docker/android-gradle-build/REGISTRY => taskcluster/docker/android-gradle-build/REGISTRY
rename : testing/docker/android-gradle-build/VERSION => taskcluster/docker/android-gradle-build/VERSION
rename : testing/docker/android-gradle-build/bin/after.sh => taskcluster/docker/android-gradle-build/bin/after.sh
rename : testing/docker/android-gradle-build/bin/before.sh => taskcluster/docker/android-gradle-build/bin/before.sh
rename : testing/docker/android-gradle-build/bin/build.sh => taskcluster/docker/android-gradle-build/bin/build.sh
rename : testing/docker/android-gradle-build/bin/checkout-script.sh => taskcluster/docker/android-gradle-build/bin/checkout-script.sh
rename : testing/docker/android-gradle-build/bin/checkout-sources.sh => taskcluster/docker/android-gradle-build/bin/checkout-sources.sh
rename : testing/docker/android-gradle-build/buildprops.json => taskcluster/docker/android-gradle-build/buildprops.json
rename : testing/docker/android-gradle-build/dot-config/pip/pip.conf => taskcluster/docker/android-gradle-build/dot-config/pip/pip.conf
rename : testing/docker/android-gradle-build/oauth.txt => taskcluster/docker/android-gradle-build/oauth.txt
rename : testing/docker/base-build/Dockerfile => taskcluster/docker/base-build/Dockerfile
rename : testing/docker/base-build/VERSION => taskcluster/docker/base-build/VERSION
rename : testing/docker/base-build/system-setup.sh => taskcluster/docker/base-build/system-setup.sh
rename : testing/docker/base-test/Dockerfile => taskcluster/docker/base-test/Dockerfile
rename : testing/docker/base-test/REGISTRY => taskcluster/docker/base-test/REGISTRY
rename : testing/docker/base-test/VERSION => taskcluster/docker/base-test/VERSION
rename : testing/docker/base-test/sources.list => taskcluster/docker/base-test/sources.list
rename : testing/docker/centos6-build-upd/Dockerfile => taskcluster/docker/centos6-build-upd/Dockerfile
rename : testing/docker/centos6-build-upd/REGISTRY => taskcluster/docker/centos6-build-upd/REGISTRY
rename : testing/docker/centos6-build-upd/VERSION => taskcluster/docker/centos6-build-upd/VERSION
rename : testing/docker/centos6-build/Dockerfile => taskcluster/docker/centos6-build/Dockerfile
rename : testing/docker/centos6-build/REGISTRY => taskcluster/docker/centos6-build/REGISTRY
rename : testing/docker/centos6-build/VERSION => taskcluster/docker/centos6-build/VERSION
rename : testing/docker/centos6-build/hgrc => taskcluster/docker/centos6-build/hgrc
rename : testing/docker/centos6-build/system-setup.sh => taskcluster/docker/centos6-build/system-setup.sh
rename : testing/docker/decision/Dockerfile => taskcluster/docker/decision/Dockerfile
rename : testing/docker/decision/README.md => taskcluster/docker/decision/README.md
rename : testing/docker/decision/REGISTRY => taskcluster/docker/decision/REGISTRY
rename : testing/docker/decision/VERSION => taskcluster/docker/decision/VERSION
rename : testing/docker/decision/system-setup.sh => taskcluster/docker/decision/system-setup.sh
rename : testing/docker/desktop-build/Dockerfile => taskcluster/docker/desktop-build/Dockerfile
rename : testing/docker/desktop-build/bin/build.sh => taskcluster/docker/desktop-build/bin/build.sh
rename : testing/docker/desktop-build/bin/checkout-script.sh => taskcluster/docker/desktop-build/bin/checkout-script.sh
rename : testing/docker/desktop-build/bin/checkout-sources.sh => taskcluster/docker/desktop-build/bin/checkout-sources.sh
rename : testing/docker/desktop-build/buildprops.json => taskcluster/docker/desktop-build/buildprops.json
rename : testing/docker/desktop-build/dot-config/pip/pip.conf => taskcluster/docker/desktop-build/dot-config/pip/pip.conf
rename : testing/docker/desktop-build/oauth.txt => taskcluster/docker/desktop-build/oauth.txt
rename : testing/docker/desktop-test/Dockerfile => taskcluster/docker/desktop-test/Dockerfile
rename : testing/docker/desktop-test/apport => taskcluster/docker/desktop-test/apport
rename : testing/docker/desktop-test/buildprops.json => taskcluster/docker/desktop-test/buildprops.json
rename : testing/docker/desktop-test/deja-dup-monitor.desktop => taskcluster/docker/desktop-test/deja-dup-monitor.desktop
rename : testing/docker/desktop-test/dot-files/config/pip/pip.conf => taskcluster/docker/desktop-test/dot-files/config/pip/pip.conf
rename : testing/docker/desktop-test/dot-files/config/user-dirs.dirs => taskcluster/docker/desktop-test/dot-files/config/user-dirs.dirs
rename : testing/docker/desktop-test/dot-files/config/user-dirs.locale => taskcluster/docker/desktop-test/dot-files/config/user-dirs.locale
rename : testing/docker/desktop-test/dot-files/pulse/default.pa => taskcluster/docker/desktop-test/dot-files/pulse/default.pa
rename : testing/docker/desktop-test/fonts.conf => taskcluster/docker/desktop-test/fonts.conf
rename : testing/docker/desktop-test/jockey-gtk.desktop => taskcluster/docker/desktop-test/jockey-gtk.desktop
rename : testing/docker/desktop-test/motd => taskcluster/docker/desktop-test/motd
rename : testing/docker/desktop-test/release-upgrades => taskcluster/docker/desktop-test/release-upgrades
rename : testing/docker/desktop-test/taskcluster-interactive-shell => taskcluster/docker/desktop-test/taskcluster-interactive-shell
rename : testing/docker/desktop-test/tc-vcs-config.yml => taskcluster/docker/desktop-test/tc-vcs-config.yml
rename : testing/docker/desktop-test/tester.env => taskcluster/docker/desktop-test/tester.env
rename : testing/docker/desktop1604-test/Dockerfile => taskcluster/docker/desktop1604-test/Dockerfile
rename : testing/docker/desktop1604-test/apport => taskcluster/docker/desktop1604-test/apport
rename : testing/docker/desktop1604-test/buildprops.json => taskcluster/docker/desktop1604-test/buildprops.json
rename : testing/docker/desktop1604-test/deja-dup-monitor.desktop => taskcluster/docker/desktop1604-test/deja-dup-monitor.desktop
rename : testing/docker/desktop1604-test/dot-files/config/pip/pip.conf => taskcluster/docker/desktop1604-test/dot-files/config/pip/pip.conf
rename : testing/docker/desktop1604-test/dot-files/config/user-dirs.dirs => taskcluster/docker/desktop1604-test/dot-files/config/user-dirs.dirs
rename : testing/docker/desktop1604-test/dot-files/config/user-dirs.locale => taskcluster/docker/desktop1604-test/dot-files/config/user-dirs.locale
rename : testing/docker/desktop1604-test/dot-files/pulse/default.pa => taskcluster/docker/desktop1604-test/dot-files/pulse/default.pa
rename : testing/docker/desktop1604-test/fonts.conf => taskcluster/docker/desktop1604-test/fonts.conf
rename : testing/docker/desktop1604-test/jockey-gtk.desktop => taskcluster/docker/desktop1604-test/jockey-gtk.desktop
rename : testing/docker/desktop1604-test/motd => taskcluster/docker/desktop1604-test/motd
rename : testing/docker/desktop1604-test/release-upgrades => taskcluster/docker/desktop1604-test/release-upgrades
rename : testing/docker/desktop1604-test/taskcluster-interactive-shell => taskcluster/docker/desktop1604-test/taskcluster-interactive-shell
rename : testing/docker/desktop1604-test/tc-vcs-config.yml => taskcluster/docker/desktop1604-test/tc-vcs-config.yml
rename : testing/docker/desktop1604-test/tester.env => taskcluster/docker/desktop1604-test/tester.env
rename : testing/docker/image_builder/Dockerfile => taskcluster/docker/image_builder/Dockerfile
rename : testing/docker/image_builder/REGISTRY => taskcluster/docker/image_builder/REGISTRY
rename : testing/docker/image_builder/VERSION => taskcluster/docker/image_builder/VERSION
rename : testing/docker/image_builder/build-image.sh => taskcluster/docker/image_builder/build-image.sh
rename : testing/docker/image_builder/setup.sh => taskcluster/docker/image_builder/setup.sh
rename : testing/docker/lint/Dockerfile => taskcluster/docker/lint/Dockerfile
rename : testing/docker/lint/system-setup.sh => taskcluster/docker/lint/system-setup.sh
rename : testing/docker/recipes/centos6-build-system-setup.sh => taskcluster/docker/recipes/centos6-build-system-setup.sh
rename : testing/docker/recipes/common.sh => taskcluster/docker/recipes/common.sh
rename : testing/docker/recipes/install-mercurial.sh => taskcluster/docker/recipes/install-mercurial.sh
rename : testing/docker/recipes/run-task => taskcluster/docker/recipes/run-task
rename : testing/docker/recipes/tooltool.py => taskcluster/docker/recipes/tooltool.py
rename : testing/docker/recipes/ubuntu1204-test-system-setup.sh => taskcluster/docker/recipes/ubuntu1204-test-system-setup.sh
rename : testing/docker/recipes/ubuntu1604-test-system-setup.sh => taskcluster/docker/recipes/ubuntu1604-test-system-setup.sh
rename : testing/docker/recipes/xvfb.sh => taskcluster/docker/recipes/xvfb.sh
rename : testing/docker/rust-build/Dockerfile => taskcluster/docker/rust-build/Dockerfile
rename : testing/docker/rust-build/README.md => taskcluster/docker/rust-build/README.md
rename : testing/docker/rust-build/REGISTRY => taskcluster/docker/rust-build/REGISTRY
rename : testing/docker/rust-build/VERSION => taskcluster/docker/rust-build/VERSION
rename : testing/docker/rust-build/build_cargo.sh => taskcluster/docker/rust-build/build_cargo.sh
rename : testing/docker/rust-build/build_rust.sh => taskcluster/docker/rust-build/build_rust.sh
rename : testing/docker/rust-build/build_rust_mac.sh => taskcluster/docker/rust-build/build_rust_mac.sh
rename : testing/docker/rust-build/fetch_cargo.sh => taskcluster/docker/rust-build/fetch_cargo.sh
rename : testing/docker/rust-build/fetch_rust.sh => taskcluster/docker/rust-build/fetch_rust.sh
rename : testing/docker/rust-build/package_rust.sh => taskcluster/docker/rust-build/package_rust.sh
rename : testing/docker/rust-build/repack_rust.py => taskcluster/docker/rust-build/repack_rust.py
rename : testing/docker/rust-build/splat_rust.py => taskcluster/docker/rust-build/splat_rust.py
rename : testing/docker/rust-build/task.json => taskcluster/docker/rust-build/task.json
rename : testing/docker/rust-build/tcbuild.py => taskcluster/docker/rust-build/tcbuild.py
rename : testing/docker/rust-build/upload_rust.sh => taskcluster/docker/rust-build/upload_rust.sh
rename : testing/docker/tester/Dockerfile => taskcluster/docker/tester/Dockerfile
rename : testing/docker/tester/REGISTRY => taskcluster/docker/tester/REGISTRY
rename : testing/docker/tester/VERSION => taskcluster/docker/tester/VERSION
rename : testing/docker/tester/bin/test.sh => taskcluster/docker/tester/bin/test.sh
rename : testing/docker/tester/dot-config/pip/pip.conf => taskcluster/docker/tester/dot-config/pip/pip.conf
rename : testing/docker/tester/dot-config/user-dirs.dirs => taskcluster/docker/tester/dot-config/user-dirs.dirs
rename : testing/docker/tester/dot-config/user-dirs.locale => taskcluster/docker/tester/dot-config/user-dirs.locale
rename : testing/docker/tester/dot-pulse/default.pa => taskcluster/docker/tester/dot-pulse/default.pa
rename : testing/docker/tester/tc-vcs-config.yml => taskcluster/docker/tester/tc-vcs-config.yml
rename : testing/docker/tester/tester.env => taskcluster/docker/tester/tester.env
rename : testing/docker/upload-symbols/Dockerfile => taskcluster/docker/upload-symbols/Dockerfile
rename : testing/docker/upload-symbols/README.md => taskcluster/docker/upload-symbols/README.md
rename : testing/docker/upload-symbols/bin/checkout-script.sh => taskcluster/docker/upload-symbols/bin/checkout-script.sh
rename : testing/docker/upload-symbols/bin/upload.sh => taskcluster/docker/upload-symbols/bin/upload.sh
rename : testing/docker/upload-symbols/test_exports.sh => taskcluster/docker/upload-symbols/test_exports.sh
extra : amend_source : 41ff620c73fe53d97f8d7874d63339bd2685f81a
2016-12-23 10:14:44 -05:00
Kartikaya Gupta 4233ee5fec Merge m-c to graphics
MozReview-Commit-ID: E0Sr26LKcZx
2016-12-21 10:16:15 -05:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Cameron McCormack 4af3584f80 Bug 1323892 - stylo: Disable and annotate some more crashtests and reftests. r=me
MozReview-Commit-ID: 5Ot9dZR0q8T
2017-01-17 15:06:50 +08:00
Nicholas Nethercote 523bee37b8 Bug 1325234 (part 9) - Remove remaining NS_IMETHOD_ occurrences from nsIWidget. r=mstange.
|virtual T| is clearer than |NS_IMETHOD_(T)|.

--HG--
extra : rebase_source : 9c8f423d7a89782a4d790a50e137071271086eed
2016-12-21 15:27:20 +11:00
Nicholas Nethercote bf4a843d70 Bug 1325234 (part 8) - Streamline nsIWidget::DispatchEvent. r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual nsresult| because some
callsites are checked and some aren't.

--HG--
extra : rebase_source : dd98266bce0a7583863908b6f04729a6e403b721
2016-12-21 11:18:40 +11:00
Nicholas Nethercote e52b19470c Bug 1325234 (part 6) - Streamline nsIWidget::SetTitle. r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual nsresult| because some call
sites are checked and others aren't.

--HG--
extra : rebase_source : 6723b9db709d1506dd394b1e85572309c1c2e2cf
2016-12-21 11:13:08 +11:00
Nicholas Nethercote 0eaecf55da Bug 1325234 (part 4) - Streamline nsIWidget::{SetFocus,SetNonClientMargins}(). r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual nsresult|.

--HG--
extra : rebase_source : 5e54c2fd340c393b33c9e1dcf20a80fe2f41b2f4
2016-12-21 11:13:08 +11:00
Nicholas Nethercote da5978a842 Bug 1325234 (part 3) - Streamline nsIWidget::Show(). r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion and one other place where the check had
no useful effect (in nsCocoaWindow::HideWindowChrome()).

--HG--
extra : rebase_source : f6671e9e0e10ee18fb32f8b1c83f1e64c3d97e67
2016-12-21 11:12:54 +11:00
Nicholas Nethercote e2d9e4ed68 Bug 1325234 (part 2) - Streamline nsIWidget::Invalidate(). r=jimm.
This patch changes it from |NS_IMETHOD| to |virtual void|. The return value was
only checked in one low-value assertion so I decided it wasn't needed.

--HG--
extra : rebase_source : 3523d9a086cf98c40d237d777f5dd471af0d7465
2016-12-20 09:55:32 +11:00
Kartikaya Gupta 44e6529919 Merge m-c to graphics
MozReview-Commit-ID: D5tvjU423oT
2016-12-16 10:23:35 -05:00
Cameron McCormack 366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Kartikaya Gupta 694703aee5 Merge m-c to graphics
MozReview-Commit-ID: 4IBPvJvxXEM
2016-12-15 10:15:36 -05:00
Kartikaya Gupta 33e6a345a0 Bug 1322817 - Mark reftests failing on WR builds as fails-if(webrender). r=gfx?
This patch was generated using a script and failure logs from a try push, so
whitespace formatting may not be the same as a human would do. The intent is to
fix many of these failures before merging back to m-c.

MozReview-Commit-ID: Etdx9LlWkLX
2016-12-14 16:41:20 -05:00
Florian Quèze a03918c148 Bug 1330147 - automatic removal of the third boolean parameter in removeObserver calls, r=jaws. 2017-01-11 22:27:42 +01:00
Cameron McCormack 9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Cameron McCormack 9560e97767 Bug 1323665 - Part 2: Allow StyleSheet.disabled CSSOM access to disable/enable a ServoStyleSheet. r=xidorn
Now that bug 1290209 has landed, we can make StyleSheet.disabled work in Servo
styled documents.  This fixes a bunch of test crashes due to the assertion no
longer firing.

MozReview-Commit-ID: 6sLrdrxWlvK

--HG--
extra : rebase_source : cf8ab29f98fbba6be837a38ffe2a03ed9b33b701
2017-01-09 17:44:30 +08:00
Nicholas Nethercote 3af5047314 Bug 1299335 (part 8) - Streamline nsIWidget::Enable. r=mstange.
This patch changes it from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 07ee29c514bf35b97d7195c53bb5b9220d1ef961
2016-12-19 20:54:16 +11:00
Nicholas Nethercote a28c8f38b2 Bug 1299335 (part 7) - Streamline nsIWidget::{Move,Resize}. r=mstange.
This patch changes them from |NS_IMETHOD| to |virtual void| because every
implementation of these functions always returns |NS_OK|.

--HG--
extra : rebase_source : 6207df5a46aeb6b8aaa0f697447a51bc6a6dc366
2016-12-19 20:54:03 +11:00
Tomislav Jurin 348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Miko Mynttinen d8d0459a98 Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 2: Rename Polygon3D to Polygon, and use 4D points for all calculations r=kip
MozReview-Commit-ID: I6DB8xldpjO

--HG--
extra : rebase_source : c881f68722404e0d749a00424eb17d284a7383d2
2016-12-04 17:49:32 +01:00
Cameron McCormack d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Matt Woodrow b6a9ac8a28 Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten 56b7dd703d Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
peter chang b96fe0d665 Bug 1317083 - Try to wait for IPDL connection before texture client creation, r=nical
MozReview-Commit-ID: JLpubGsE0eu

--HG--
extra : rebase_source : 713dc0ece6fa22ec6b5a283836de336b411b7e2a
2016-11-15 17:50:50 +08:00
Ethan Lin bda758bde7 Bug 1317403 - Add crashtest. r=mstange
--HG--
extra : rebase_source : 8f008257db3adc07ebc8eaed8002bfd3763def0b
2016-11-14 19:35:00 +01:00
peter chang c62a36256a Bug 1311644 - Pass ImageBridge as allocator to create YCbCr texture client, r=nical
MozReview-Commit-ID: 4P5LyWST0yv

--HG--
extra : rebase_source : 197e61e256858bc25cc8be7638bdb0eb39cf0cf5
2016-11-08 15:22:36 +08:00
Sebastian Hengst 6300f967b0 Bug 1310297 - Remove test annotations using b2g, mulet or gonk: gfx. r=RyanVM
MozReview-Commit-ID: BpBHHDCEZfL

--HG--
extra : rebase_source : 41b2e53689e31541fe0edf42df9d38eb3a3d486f
2016-11-05 11:29:19 +01:00
Ethan Lin 7f216344d0 Bug 1308394 - Add crashtest. r=bas
--HG--
extra : rebase_source : 10d95bf541dcd60a9b11ac83be18237ef4df91ed
2016-10-27 00:05:00 +02:00
David Anderson ecf530eb6f Do not paint if a BeginTransaction fails. (bug 1313770 part 1, r=mattwoodrow)
--HG--
extra : rebase_source : 482b24f52da24de87dd459ac6d003b286206e54e
2016-10-28 15:48:34 -07:00
Sotaro Ikeda 1d3ceeff04 Bug 1306521 - Handle VP9 colorspace BT.709 on BasicCompositor r=nical,jwwang,jya,jrmuizel 2016-10-11 19:46:28 -07:00
Miko Mynttinen 1314efc774 Bug 1286412 - Add compositor support for triangle layers (for OpenGL backend) r=jrmuizel
MozReview-Commit-ID: 75q8ja7G1ko

--HG--
extra : rebase_source : 99e2684351a6403d7a957b876337de20b16de139
2016-10-07 10:58:13 -07:00
Miko Mynttinen 7ecd75b61b Bug 1286412 - Implement polygon clipping and triangulation. r=kip
MozReview-Commit-ID: 8TWHBIFUV6Q

--HG--
extra : rebase_source : c1861d68cec56a5031489c439bbe965db57e979f
2016-10-03 16:35:52 -07:00
Arthur Edelstein cdccbe2abb Bug 1121643 - Add "font.system.whitelist" pref to resist font-based fingerprinting. r=jfkthame 2016-08-23 00:06:07 +00:00
Miko Mynttinen 54872a7fbf Bug 1301818 - Prepare BSPTree for integration with the layers code r=kip
MozReview-Commit-ID: ADJvCZYSk6p

--HG--
extra : rebase_source : 4cfef6cb4344323229da9001de07616621cd5369
2016-09-16 16:03:32 -07:00
Lee Salzman dc06e3fe34 Bug 1303548 - add more fuzz to gfx/tests/reftest/611498-1.html. r=philor
MozReview-Commit-ID: DPgazUhgWXY
2016-09-19 16:35:35 -04:00
Manish Goregaokar 63e75ca24b Bug 1302993 - Mark more expectations for stylo tests, make reftest-stylo green; r=heycam
MozReview-Commit-ID: 9rKqASXgKZH

--HG--
extra : rebase_source : ea4d2cdc5623673827676e52d255c8b6fa34f7dd
2016-09-12 19:18:10 +05:30
Shing Lyu db11558e50 Bug 1288350 - Temporary reftest list for Stylo vs Gecko test r=heycam,manishearth
--HG--
extra : rebase_source : 4772418bd2813d4e79643a833eb09e47fe893d84
2016-09-05 11:45:39 +08:00
Michael Layzell 36e08437d0 Bug 1018486 - Part 8: Various other changes, r=smaug
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Milan Sreckovic 9412980973 Bug 1205900: Automated test. r=me 2016-09-01 16:40:21 -04:00
Nicholas Nethercote 346d5f4895 Bug 1296993 (part 7) - Streamline nsIWidget::CaptureRollupEvents. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : 2a94a47f1e7fe986d1efc3854c72968a3e28e365
2016-08-25 13:43:27 +10:00
Nicholas Nethercote d8684f0659 Bug 1296993 (part 3) - Streamline nsIWidget::ConstrainPosition. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : ccf64aaa9364d096e1f060ef77be7e8455b11e1f
2016-08-25 13:43:27 +10:00
Nicholas Nethercote ff02e25e13 Bug 1296993 (part 1) - Streamline nsIWidget::ReparentNativeWidget. r=mstange.
This patch does the following.

- Removes the return value, because none of the call sites check it.

- Puts an empty implementation into nsBaseWidget.

- Removes the empty implementations from several nsIWidget instances, because
  they can use the nsBaseWidget one.

--HG--
extra : rebase_source : e98b7f9970a920c39e941bb531dfc098125913d1
2016-08-25 13:43:26 +10:00
George Wright b04020febc Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-26 20:30:58 -04:00
Jonathan Kew 318cce9a49 Bug 1280887 followup, replace UniquePtr<gfxTextRun> with RefPtr in test code (NPOTB). r=mats 2016-08-22 21:40:11 +01:00
Ryan VanderMeulen 1130d9b73e Backed out changeset 9b4c4fd433a9 (bug 1293908) for blowing up Linux64 tests. 2016-08-21 21:30:11 -04:00
George Wright fefcfec2ff Bug 1293908 - Specify the LayersBackend to be used when creating Textures r=nical 2016-08-21 17:44:25 -04:00
Andrew Comminos 2f39b03b30 Bug 594876 - Update test_acceleration.html to accomodate only taskcluster instances using layers acceleration. r=nical
MozReview-Commit-ID: 5ZVKSHn8POW

--HG--
extra : rebase_source : d7ca4951bc39f4b0d51298dcb745e81641d9aef7
2016-06-24 17:57:20 -04:00
Nicholas Nethercote cc993d1772 Bug 1293596 (part 4) - Tweak nsIWidget::Create. r=mstange.
They don't need to be NS_IMETHOD, but they should be MOZ_MUST_USE. Adding the
latter catches a few missing checks, which the patch adds.

The patch also gives PuppetWidget an InfallibleCreate() function, which makes
the infallibility of PuppetWidget creation clear.
2016-08-19 09:03:17 +10:00
Nicholas Nethercote 67af4817e9 Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.

The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Daniel Holbert 3112c6ac39 Bug 1292390 followup: add newline character at the end of Polygon/BSPTree files added in this bug, per coding style guide. (whitespace-only, no review)
DONTBUILD because whitespace-only.

MozReview-Commit-ID: 8QOAtwJ8G9z
2016-08-16 11:01:06 -07:00
Miko Mynttinen 12062ceb2f Bug 1292390 - Add BSP tree implementation. r=jrmuizel, r=kip
MozReview-Commit-ID: BpGfAUS0MLj

--HG--
extra : transplant_source : %EB%EF%7D%5C%FA%B5h%CCj%C4A%F3%D7F%BB%F5%F9J%8D%D2
2016-08-10 14:30:29 -07:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Andi-Bogdan Postelnicu 790a748311 Bug 1282408 - add ignore initialization check flag for variables from TestNodeBase. r=jrmuizel
MozReview-Commit-ID: BZC7SnvmOKl
2016-07-27 10:43:46 +03:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Kartikaya Gupta 85a734ff8d Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-19 21:50:09 -04:00
David Anderson 969d03ec34 Implement vsync notification for remote compositors. (bug 1285625 part 3, r=mchang) 2016-07-19 11:56:07 -07:00
Wes Kocher 881322b8cb Backed out changeset 7985dab6e65e (bug 1283826) for crashtest failures CLOSED TREE 2016-07-18 11:43:15 -07:00
Kartikaya Gupta f006a9f9b3 Bug 1283826. r=mstange,Bas
MozReview-Commit-ID: HiwjHBlhmKk
2016-07-18 11:15:00 -04:00
Kevin Wern 5e842a84f8 Bug 1258460: create microbenchmarks for TreeTraversal.h algorithms r=botond
MozReview-Commit-ID: 1idDaLOqSd1

--HG--
extra : rebase_source : 61a702e4a5fad0a0357ed72407f1443cdcad68e6
2016-06-07 19:43:35 -07:00
eyim 731d8bd1c6 Bug 1002846 - Add telemetry to OpenGL compositor r=BenWa
MozReview-Commit-ID: 1HA0dmX0SmN

--HG--
extra : rebase_source : 545c5e48c25428c5fb4736e3a3d9f25280805472
2016-07-05 15:41:21 -04:00
David Anderson 56c221c4a6 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
2016-07-01 01:15:16 -07:00
David Anderson 3f0ea0572d Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
2016-07-01 01:15:16 -07:00
Phil Ringnalda 0d0d24bccc Back out 7 changesets (bug 1281998) for Windows Marionette crashes
Backed out changeset d806fac2c856 (bug 1281998)
Backed out changeset b8d4fedfd7eb (bug 1281998)
Backed out changeset a72929c0c3ec (bug 1281998)
Backed out changeset 74198f88fa37 (bug 1281998)
Backed out changeset 54a0e73f6906 (bug 1281998)
Backed out changeset 99d1da1293b7 (bug 1281998)
Backed out changeset a5a9585754b1 (bug 1281998)

--HG--
rename : widget/CompositorWidget.cpp => widget/CompositorWidgetProxy.cpp
rename : widget/CompositorWidget.h => widget/CompositorWidgetProxy.h
rename : widget/windows/WinCompositorWidget.cpp => widget/windows/WinCompositorWidgetProxy.cpp
rename : widget/windows/WinCompositorWidget.h => widget/windows/WinCompositorWidgetProxy.h
2016-06-29 19:35:24 -07:00
David Anderson b4551c49b7 Move InProcessCompositorWidget to its own file. (bug 1281998 part 3, r=jimm)
--HG--
rename : widget/CompositorWidget.cpp => widget/InProcessCompositorWidget.cpp
extra : rebase_source : d885b1ec9c30e8c5558c31c6caadfc645e7ed567
2016-06-29 16:47:22 -04:00
David Anderson 804c1ee06f Rename CompositorWidgetProxy files to CompositorWidget. (bug 1281998 part 2, r=jimm)
--HG--
rename : widget/CompositorWidgetProxy.cpp => widget/CompositorWidget.cpp
rename : widget/CompositorWidgetProxy.h => widget/CompositorWidget.h
rename : widget/windows/WinCompositorWidgetProxy.cpp => widget/windows/WinCompositorWidget.cpp
rename : widget/windows/WinCompositorWidgetProxy.h => widget/windows/WinCompositorWidget.h
extra : rebase_source : 8ecf59ad6039f0d0d2a51008aef53ef37aa2ce0e
2016-06-29 16:47:22 -04:00
Jeff Gilbert fe7590ad04 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-21 14:04:00 -07:00
Jonathan Kew 89a9dd3e11 Bug 766452 - crashtest. 2016-06-21 13:23:28 +02:00
Jesse Ruderman d92b3bc750 Bug 766452 - crashtest. 2016-06-21 13:23:28 +02:00
Sebastian Hengst b4b26717be Backed out changeset d8b83ff870a3 (bug 594876) 2016-06-17 20:15:58 +02:00
Andrew Comminos f71ab38071 Bug 594876 - Test that acceleration is used on Linux. r=nical
MozReview-Commit-ID: JXNUfCnwZvN

--HG--
extra : rebase_source : daf9309e706a13751b277707b782ac03aca662d6
2016-06-17 14:53:53 +01:00
Carsten "Tomcat" Book c0c2282bfb Backed out changeset 097dc302f5a0 (bug 1279657) 2016-06-17 13:33:06 +01:00
Jeff Gilbert 30c5609435 Bug 1279657 - failureId outvar should be a pointer. - r=benwa
MozReview-Commit-ID: 4s0OqZcHno5
2016-06-17 05:10:55 -07:00
eyim b0ca07b635 Bug 1277027 - fix MOZ_CRASH to have GFX prefix in webGL code r=BenWa,milan
MozReview-Commit-ID: FjLA9xNH3zD

--HG--
extra : rebase_source : 5809a1f8126360b3fa8ee069b3a463747cb31e6f
2016-06-06 11:17:23 -04:00
Nicholas Nethercote 4e8f3b6d6e Bug 1276824 (part 2) - Fix up checks for calls to gfxContext::Create{,PreservingTransform}OrNull(). r=milan.
--HG--
extra : rebase_source : 80644c1a6658da553c13ae1ab3b8d03e916ee6e7
2016-06-07 11:17:48 +10:00
Nicholas Nethercote a02611e830 Bug 1276824 (part 1) - Rename gfxContext::ForDrawTarget{,WithTransform}(). r=milan.
The new names Create{,PreservingTransform}OrNull() better communicate that
these functions (a) do object creation, and (b) are fallible.

--HG--
extra : rebase_source : a36bd9a2bcdfae281868959403f811f2bc690ad4
2016-06-07 09:39:56 +10:00
Benoit Girard 2586414710 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: 24eb4FXMOiI

--HG--
extra : rebase_source : 391e44f4d4fdcf5782053fc6c3e9b17e651a9a1f
2016-06-06 16:52:42 -04:00
Benoit Girard 24a4187d15 Backed out changeset 4264b01fd313 (Bug 1276732) for causing build bustage
MozReview-Commit-ID: KnEpCcI9a13
2016-06-06 13:37:59 -04:00
Benoit Girard c391acc0f7 Bug 1276732 - Report the GLContext error to WebGL for telemetry. r=jrmuizel
MozReview-Commit-ID: Am733GJkOSb

--HG--
extra : rebase_source : 1eaf4e281b2415f0adcae7e9585a29d912685358
2016-06-06 13:20:13 -04:00
Joel Maher 8e50d588fd Bug 1269872 - adjust manifests of all jobs that require a gpu. r=RyanVM,jgilbert
dom/media/tests/mochitests/test_peerConnection_captureStream_canvas_webgl.html has an issue on android as it is moved from mochitest-media -> mochitest-gpu.
dom/bindings/test/test_integer.html uses experimental-webgl, it might need to be picked up in a future cleanup.

MozReview-Commit-ID: GJKn7ubY7tL
2016-05-25 16:22:27 -04:00
Nathan Froyd ff4717e53a Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-24 18:17:27 -04:00
Kartikaya Gupta 9994166655 Bug 1274589 - Rename RegionBuilder::Or to RegionBuilder::OrWith for consistency with the region classes. r=jrmuizel
MozReview-Commit-ID: CIzTVKXUVSs
2016-05-21 00:06:51 -04:00
Daniel Holbert ad862a27cb Backed out changeset 3d201ae294f8 (bug 1272398), on a hunch that it might have inadvertantly triggered a latent Win PGO crash in layers code
CLOSED TREE

MozReview-Commit-ID: 87w8DC3JEM8
2016-05-19 22:50:15 -07:00
Nathan Froyd 2431e47bfb Bug 1272398 - use UniquePtr instead of nsAutoPtr for {Layer,LayerData}::RemoveUserData return type; r=jrmuizel 2016-05-19 21:48:59 -04:00
Chris Peterson 353ee65255 Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium 2016-05-11 00:00:01 -07:00
Kevin Wern 7ae5cf1e52 Bug 1227231: Use generic tree traversal algorithms for loops over Layer trees. r=botond
Create an Iterator type with classes ForwardIterator and ReverseIterator,
having GetFirstChild/GetNextSibling and GetLastChild/GetPrevSibling
methods, respectively. Specify the iterator type for each call to
ForEachNode. With this, we can support trees with forward and reverse
sibling structures.

Additionally, apply these algorithms to all Layer recursive traversals,
where applicable. Update tests to ensure both directions yield expected
results.

MozReview-Commit-ID: iYpX22XHTa

--HG--
extra : rebase_source : 016d3c37e0679df7037dacd3366d3fa7748d0703
extra : amend_source : 089c4a62bd4716be087669742bb542c39a9f97c6
2016-03-10 01:20:40 -08:00
Ryan VanderMeulen 3b7fc0b68e No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
L. David Baron 19d420e94b Bug 567283 patch 3 - Make TestColorNames use the new alpha capabilities. r=xidorn
MozReview-Commit-ID: IdAewXMVZct
2016-05-08 22:16:41 -07:00
L. David Baron 9ee89fe42f Bug 567283 patch 2 - Rename NS_HexToRGB to NS_HexToRGBA and add parameter saying whether 4 and 8 digit colors are allowed. r=xidorn
This patch tells all callers to use the existing behavior, so it is
intended not to change behavior.  Callers that will be modified in later
patches are marked with "FIXME" comments that will be removed in those
later patches (patches 3 and 4).

MozReview-Commit-ID: FaLryfxaeHv
2016-05-08 22:16:41 -07:00
David Anderson 77e3700565 Move CompositorWidgetProxy inheritance out of nsIWidget. (bug 1264545 part 6, r=jimm) 2016-04-29 19:23:17 -04:00
Jonathan Kew 97936698fe Bug 1265648 - Remove the global nsTextFrameTextRunCache, as it no longer serves any useful purpose. r=mats 2016-04-20 10:54:43 +01:00
Jonathan Kew cb1c20b3c3 Bug 1265459 - Replace uses of nsAutoPtr<gfxTextRun> with UniquePtr, and let MakeTextRun and similar methods return a UniquePtr. r=jrmuizel 2016-04-19 17:13:28 +01:00
Markus Stange 733dca9123 Bug 1236043 - Add a TiledRegion class. r=jrmuizel
MozReview-Commit-ID: Fb0kBGo3yYo

--HG--
extra : rebase_source : 540035c7ac0598c55c433b25042997feb7da967b
2016-04-18 13:48:58 -04:00
Milan Sreckovic e0b2b9e425 Bug 1259513: Make gfxContext constructor private, use a utility function that can return nullptr. r=bas,lsalzman
MozReview-Commit-ID: rHhLEDZEQt

--HG--
extra : rebase_source : 4988f3f488c19dd35a9979e96f78a5511ee8f3d2
2016-04-12 15:18:11 -04:00
Tom Klein 7b2edfae77 Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2016-04-12 11:44:23 -05:00
Botond Ballo 77cebd9dd2 Bug 1219296 - Make ScrollMetadata::sNullMetadata a StaticAutoPtr so that ScrollMetadata can admit nsTArray members. r=kats
MozReview-Commit-ID: LOZdnAhL5xH

--HG--
extra : rebase_source : 39b619a7945e9f3c867dbe67e700e8b83d7c3699
2016-03-30 17:04:10 -04:00
Botond Ballo a74ec8c79b Bug 1219296 - Split fields not needed for repaints out from FrameMetrics. r=kats
MozReview-Commit-ID: DymHOSI6yYK

--HG--
extra : rebase_source : 1996bcb7f005c02b94031fe1c73d5136814b0296
2016-03-28 19:14:52 -04:00
Nicholas Nethercote d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
David Anderson 82cec35be7 Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical)
--HG--
extra : rebase_source : a7a9bc431d528de6561a9e55a0ebbb675ce494c4
2016-03-25 01:38:55 -07:00
Nicholas Nethercote bbfe3dbc14 Bug 1257402 - Remove NS_NewPermanentAtom() and nsIAtomService.getPermanentAtom(). r=froydnj,kmag.
The former is only used inconsequentially in tests. The second is not used at
all.

--HG--
extra : rebase_source : 4cfe11f933f1fe8f788e823c5107941085cef92c
2016-03-17 13:11:31 +11:00
Jeff Muizelaar 96d3663f32 Bug 1259248. Add an ArrayView class. r=botond 2016-03-23 21:20:41 -04:00
Benoit Girard 11ac802e54 Bug 1248044 - Add PingPongRegion for faster region operations for 2x memory usage. r=jrmuizel
MozReview-Commit-ID: KiIGiQYN33u

--HG--
extra : rebase_source : a6f0ccb03957cc68b70a18792edd636cebfc6d14
2015-08-27 16:06:38 -04:00
Benoit Girard fa154c75a0 Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
MozReview-Commit-ID: 6tI81iqj44V

--HG--
extra : rebase_source : 01e51566b9177e186cad41f0b369b57d35a0637e
2016-03-23 11:54:39 -04:00
Sebastian Hengst cb73369e3b Backed out changeset 27a8a01abf66 (bug 1256517) 2016-03-23 18:57:22 +01:00
David Anderson db2e8ee11d Block compositable updates from stale layers. (bug 1256517 part 4, r=mattwoodrow,nical) 2016-03-23 10:32:34 -07:00
Carsten "Tomcat" Book 3b9ddbf3a9 Backed out changeset 5e60a574fcec (bug 1258481) for bustage on a CLOSED TREE 2016-03-23 16:53:24 +01:00
Benoit Girard 5ff652a2ac Bug 1258481 - Add a RegionBuilder for accumulating rects. r=jrmuizel
MozReview-Commit-ID: 6AO9q6Ru833

--HG--
extra : rebase_source : 64da769ea9d1f61a5ff191e39c3a8638ffc8cfe0
2016-03-21 16:22:37 -04:00
David Anderson f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Geoff Brown fd1e09d12b Bug 1251013 - Update AndroidVersion annotations in test manifests - reftests; r=jmaher 2016-03-17 10:00:47 -06:00
Benoit Girard dec95787f8 Bug 1256408 - Add graphics microbenchmarking. r=mstange
MozReview-Commit-ID: H4IRZuLy7do

--HG--
extra : rebase_source : 8eed4669b59496370dbc47d32e2696de60ea43f2
2016-03-16 14:20:33 -04:00
Ryan VanderMeulen 0a3f8d816e Bug 1253862 - Mark test_acceleration.html as an expected fail on WinXP e10s.
--HG--
extra : rebase_source : 519fcefd0d5ddf9689f3bb057b5798222dd5332d
2016-03-05 15:32:09 -05:00
David Anderson d4db86d05e Factor compositor initialization out of LayerManagerComposite. (bug 1245765 part 6, r=mattwoodrow) 2016-02-29 01:53:14 -05:00
Nicolas Silva 241addc752 Bug 1244234 - Simplify joining jobs with the gfx job scheduler. r=jrmuizel 2016-02-23 19:15:30 +01:00
Milan Sreckovic 2967cf9b23 Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG

--HG--
extra : rebase_source : f4427c8a6fdc1054f0f74cdce8d42bbf470dd143
2016-02-17 17:44:21 -05:00
Mason Chang b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Kevin Wern 9a846abe86 Bug 1227224 - Further improvements to generic tree traversal algorithms. r=botond
- Introduce a more general version of ForEachNode that takes two actions
  (pre-action and post-action).
- Express the one-action version of ForEachNode in terms of the two-action
  version.
- Add TraversalFlag::Abort, which stops traversal immediately.
- Express DepthFirstSearch in terms of ForEachNode.
- Add ForEachNodePostOrder and DepthFirstSearchPostOrder.
- The new functions are all recursive, and traverse children in the order
  provided by the node accessors. Adjust tests to reflect this.
- Refactor two APZCTreeManager functions, FindTargetNode and GetAPZCAtPoint,
  to use the algorithms.

MozReview-Commit-ID: 83Y7psjkUWG

--HG--
extra : commitid : JSMoSuDetUL
extra : rebase_source : 6ef99b1d6dac841eb94d99feb605ca235d9086c9
extra : amend_source : 518a636ee5a5162bca83dde6b90cb1a3b5304a3b
2016-01-25 04:04:13 -08:00
Matt Woodrow 8532605cf4 Bug 1216832 - Add crashtest. r=roc 2016-02-12 00:19:19 +13:00
Nicholas Nethercote 79bfbfd42b Bug 1239864 (part 8) - Use the new rect iterators in gfx/. r=nical.
--HG--
extra : rebase_source : 52187e5da197e961d533ef6eac2dc9dfe3c83827
2016-01-18 17:20:58 -08:00
Blake Kaplan 1ed01f4087 Bug 1241557 - Don't try to set prefs directly. r=wchen 2016-01-21 16:14:27 -08:00
Wes Kocher 2df1312cc1 Backed out 2 changesets (bug 1241557) for build failures CLOSED TREE
Backed out changeset aeb7f61db88b (bug 1241557)
Backed out changeset 8ed3a7be233e (bug 1241557)

--HG--
extra : commitid : BdotoXSX0ID
2016-01-21 15:41:18 -08:00
Blake Kaplan 7701da27e2 Bug 1241557 - Don't try to set prefs directly. r=wchen
--HG--
extra : transplant_source : %2A%E2%BEa%EB%93f%DA%8F%F5%CB%CF%3Ek%D15%A4x%D2%29
2016-01-21 15:15:42 -08:00
Mason Chang b39f4b08b8 Bug 1165458. Raise vsync timeout limit for gtests. r=kats 2016-01-20 10:29:39 -08:00
Nicolas Silva f3c7340599 Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel 2016-01-14 13:34:46 +01:00
Kris Maglione ccbc83560c Bug 1239822: Part 2a - [webext] Explicitly destroy windowless browsers on unload. r=billm
--HG--
extra : commitid : JXAapKEd31v
extra : rebase_source : 729fa88d1d0e8c91a47745af00fb321866eb1063
2016-01-15 13:30:15 -08:00
Jonathan Kew 84b8c3a0a4 Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange 2016-01-13 07:32:55 +00:00
Nicholas Nethercote 88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Nicholas Nethercote 06e901cb9f Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.

The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:

- It adds a comment about the null check in
  gfxGlyphExtents::GetTightGlyphExtentsAppUnits().

- A couple of functions simply had an unused gfxContext or nsRenderingContext
  parameter removed, e.g. SetLineBreaks().

--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Phil Ringnalda 46ab91d7db Bug 1226751 - Remove 358732-* crashtests, since they only race between not testing anything and accidentally setting and leaving a non-default font zoom, breaking later tests
--HG--
extra : rebase_source : d8314dd0166f5217355fe1daafdcd85b77f7effb
2015-12-28 20:41:46 -08:00
Nicolas Silva 9bc4b1d4e6 Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro 2015-12-16 19:50:58 +01:00
Phil Ringnalda e8127f059d Bug 1226751 - Skip gfx/tests/crashtests/358732-1.xhtml for causing assertion failures in later (much later) tests 2015-12-12 11:32:05 -08:00
Nicholas Nethercote 90bbac13cc Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 1afe44a5ab2a3d5478010fc23ba1891ab297bde6
2015-11-16 21:18:31 -08:00
Nicholas Nethercote 1fb25d8609 Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
--HG--
extra : rebase_source : 08407e76083534ad39dd34d2535ec09c95e506db
2015-11-16 00:35:18 -08:00
Nicolas Silva ce2636044e Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva 53a1d987f4 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Sunny Sidhu cfa8942015 Bug 1220873 - Make Layer::mVisibleRegion a LayerIntRegion. r=botond
--HG--
extra : source : dc46048f7a9e9cc008c97e2d9e0a100944743055
extra : amend_source : 63783bc076e5969ebacdc8c74f9b5194a1891d9e
2015-11-29 02:07:55 -05:00
Phil Ringnalda a4b352528c Bug 1218762 followup, annotate the assertion on Android since there's certainly no way to fix "an assertion failed, I'm not going to tell you which one"
--HG--
extra : rebase_source : fdb28c583a861185e9d1c1d280d90b4e47941a5d
2015-11-28 17:11:16 -08:00
Nicolas Silva 38f44b34ce Bug 1228029 - Fix the usage of gtest assertion macros in TestJobScheduler.cpp. r=kats 2015-11-25 19:36:44 +01:00
Christoph Diehl dc4cfa8aad Bug 805760 - Crashtest. 2015-11-24 20:04:04 +01:00
Wes Kocher 72261b4523 Backed out 12 changesets (bug 1200595) for b2g mochitest crashes in SharedBufferManagerParent CLOSED TREE
Backed out changeset cf8cf1a039dd (bug 1200595)
Backed out changeset 65da564f952c (bug 1200595)
Backed out changeset 7663208f1582 (bug 1200595)
Backed out changeset fc1fbb97c8eb (bug 1200595)
Backed out changeset 3ad5a4c457fe (bug 1200595)
Backed out changeset add3fe9afc0c (bug 1200595)
Backed out changeset 68aba6b39588 (bug 1200595)
Backed out changeset ab326c34f1cf (bug 1200595)
Backed out changeset ed34bc528a1b (bug 1200595)
Backed out changeset 0dc93424546c (bug 1200595)
Backed out changeset 8cc12f12f3d1 (bug 1200595)
Backed out changeset bb84403701b7 (bug 1200595)

--HG--
extra : commitid : AMC6i05xyTh
2015-11-24 10:07:02 -08:00
Nicolas Silva c1b94d01e8 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva e2196598ae Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
Kevin Wern 6b43e66943 Bug 1226920 - Allow calling ForEachNode() with an action returning void r=botond
--HG--
extra : rebase_source : e2d16580f20bd5dc154760803ec562fe0ed485c4
extra : source : 8e743b5913982ccd18d51544a5a93213fb700e5c
2015-11-23 13:06:01 -05:00
Carsten "Tomcat" Book 1a584aca79 Backed out 13 changesets (bug 1200595) for possibly breaking Reftest [TC] Crashtest tc-R on a CLOSED TREE
Backed out changeset e7278af0a484 (bug 1200595)
Backed out changeset c13228f84d85 (bug 1200595)
Backed out changeset 4b88e8a3d8af (bug 1200595)
Backed out changeset e55376bd2cf8 (bug 1200595)
Backed out changeset 9c27c8e2c021 (bug 1200595)
Backed out changeset a369a2983ceb (bug 1200595)
Backed out changeset 09e71ba15ea8 (bug 1200595)
Backed out changeset b555b130d439 (bug 1200595)
Backed out changeset 6819f6d82287 (bug 1200595)
Backed out changeset a8cdfbf443d8 (bug 1200595)
Backed out changeset 0092c9d7a86b (bug 1200595)
Backed out changeset 6dc38a1e6073 (bug 1200595)
Backed out changeset fe2164aa1468 (bug 1200595)
2015-11-20 16:55:26 +01:00
Trevor Saunders 24d6e6dd8d bug 1225943 - remove QI to nsIMarkupDocumentViewer from gfx/tests/crashtests/358732-iframe.html r=smaug 2015-11-20 09:45:23 -05:00
Trevor Saunders 6ecf00de43 bug 1225943 - remove \rs from gfx/tests/crashtests/358732-iframe.html r=smaug 2015-11-20 09:45:23 -05:00
Nicolas Silva 25167273f1 Bug 1200595 - Merge TextureClient and ClientTexture back into TextureClient. r=mattwoodrow 2015-11-20 14:25:00 +01:00
Nicolas Silva 71d9215e93 Bug 1200595 - Buffer TextureData implementation. r=mattwoodrow 2015-10-15 17:53:33 +02:00
John Daggett b788233f65 Bug 1213280 - fix OSX font selection under 10.11. r=jfkthame 2015-11-20 22:01:12 +09:00
Tom Klein ca7b6331ec Bug 1131264 - Extend the workaround for drawing D2D circles. r=bas 2015-11-19 13:57:32 -06:00
Bas Schouten 1d56bd9dc8 Bug 1225125 - Test: Check if we crash easily on a 0x0 clipped layer surface. r=jrmuizel 2015-11-17 18:38:46 +01:00
Carsten "Tomcat" Book 1cf9b8b2ab merge mozilla-inbound to mozilla-central a=merge 2015-11-17 12:26:16 +01:00
Kevin Wern 02d8d69dc7 Bug 1199798 - Create tests for TreeTraversal.h r=botond
Move queue and stack includes outside of mozilla namespace.

Test the following for searches:
- Null root returns null.
- Needle is root returns root.
- No needle results in full traversal.
- Needle node in middle returns that needle, and stops traversing.

Test the following for ForEachNode:
- Null root still runs correctly.
- No skips results in traversal of entire tree.
- Root skip results in only changing the root.
- First skips are still included (whether leaf or parent).

--HG--
extra : source : 6d2572c274363c7544c4f96f0016fead098b157e
2015-11-16 13:54:12 -05:00
Wes Kocher c0ece6bf0d Merge m-c to fx-team, a=merge
--HG--
extra : commitid : 2bzybQqlwy0
2015-11-16 17:28:26 -08:00
Luca Greco b6dcf4514a Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm,jrmuizel 2015-11-11 07:08:00 +01:00
Carsten "Tomcat" Book b82e1bbe8e Backed out changeset e23d0660a042 (bug 1218364) for mulet bustage 2015-11-13 12:32:15 +01:00
Luca Greco ec406c903b Bug 1218364 - windowless browser windows should not crash on Troubleshoot. r=billm r=jrmuizel 2015-11-11 07:08:00 +01:00
Nicholas Nethercote 369f54f3a3 Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.

--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Nicholas Nethercote ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Mason Chang 189075b950 Bug 1223052 - Add a gtest to test that the vsync source supplies a proper vsync rate. r=kats 2015-11-09 19:10:26 -08:00
Ryan VanderMeulen df7b938aec Bug 691581 - Add crashtest. 2015-10-31 21:43:42 -04:00
Nigel Babu 85f5cfc5cf Backed out changeset 5cf33dcba0d0 (bug 691581) for upcoming bustage 2015-11-02 16:13:36 +05:30
Ryan VanderMeulen ce9e75cf5f Bug 691581 - Add crashtest. 2015-10-31 21:43:42 -04:00
Robert O'Callahan 2d8cd33dc4 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : 42YjYQUaiwY
extra : rebase_source : 69d3a9c5086c116365a0488d1b4fc52fc6524196
2015-10-30 19:23:10 +13:00
Ryan VanderMeulen 870eec83f5 Bug 699563 - Add crashtest.
--HG--
extra : rebase_source : 7751d2e89933a19588523f400ff3bff291dad1e2
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 389957babc Bug 696936 - Add crashtest.
--HG--
extra : rebase_source : 7b5a7d1c0413e9410c44f169c914e8b514ec741a
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 323b661160 Bug 675550 - Add crashtest.
--HG--
extra : rebase_source : 5bf99f8b88246e6f92a6cb45ef20e57f87985612
2015-11-01 07:23:23 -05:00
Ryan VanderMeulen 4368ca7af0 Bug 662467 - Add crashtest.
--HG--
extra : rebase_source : 62b93a04016843fdfeb46ee020e1c7dd991427cb
2015-11-01 07:23:23 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ryan VanderMeulen 21f2ea8cd2 Bug 595042 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen b937bbca1e Bug 563740 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 59d9eef23c Bug 516512 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 4706edf172 Bug 710149 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen 6454e0e49b Bug 557348 - Add crashtest. 2015-10-25 00:06:23 -04:00
Robert O'Callahan 0e2b65352f Revert incorrectly committed changes ab657569f554 and a396f4262479
--HG--
extra : commitid : IHQ60dccnSZ
extra : amend_source : 9302339fd951446a37909b31a1ccb56aff470325
2015-10-24 22:38:22 +13:00
Robert O'Callahan ff38db98f3 Bug 264412. Refactor nsIFrame::GetRenderedText API to be more sane. r=mats,marcoz
The test changes here are to adjust for the fact that
nsTextFrame::GetRenderedText can now trim whitespace from the end of lines
that end in a hard line break.

--HG--
extra : commitid : Dn0U0KPLfbY
extra : rebase_source : 57a6ad2e3ba1f7ec6aef9b940d8facdbba7e9c91
2015-10-24 22:27:29 +13:00
Nathan Froyd 735e488da3 Bug 1217662 - part 2 - move mozilla::layers::LayerUserData to a separate header; r=mattwoodrow
Having to include all of Layers.h just to get at the definition of
LayerUserData is inconvenient, especially as most of the interesting
things in Layers.h can be forward-declared.  Let's move LayerUserData to
its own header, so clients can include a small header for that,
forward-declare anything else they need from Layers.h, and reduce header
bloat.
2015-10-22 16:04:35 -04:00
Geoff Brown 138ed9d07e Bug 1216304 - Skip gfx/tests/crashtests/815489.html on Android for frequent OOM failures; r=me 2015-10-20 08:17:15 -06:00
Nathan Froyd 01583602a9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Nathan Froyd 583afa0965 Bug 1207245 - part 3 - switch all uses of mozilla::RefPtr<T> to nsRefPtr<T>; r=ehsan
This commit was generated using the following script, executed at the
top level of a typical source code checkout.

 # Don't modify select files in mfbt/ because it's not worth trying to
 # tease out the dependencies currently.
 #
 # Don't modify anything in media/gmp-clearkey/0.1/ because those files
 # use their own RefPtr, defined in their own RefCounted.h.
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    grep -v 'mfbt/RefPtr.h' | \
    grep -v 'mfbt/nsRefPtr.h' | \
    grep -v 'mfbt/RefCounted.h' | \
    grep -v 'media/gmp-clearkey/0.1/' | \
    xargs perl -p -i -e '
 s/mozilla::RefPtr/nsRefPtr/g; # handle declarations in headers
 s/\bRefPtr</nsRefPtr</g; # handle local variables in functions
 s#mozilla/RefPtr.h#mozilla/nsRefPtr.h#; # handle #includes
 s#mfbt/RefPtr.h#mfbt/nsRefPtr.h#;       # handle strange #includes
'

 # |using mozilla::RefPtr;| is OK; |using nsRefPtr;| is invalid syntax.
find . -name '*.cpp' -o -name '*.mm' | xargs sed -i -e '/using nsRefPtr/d'

 # RefPtr.h used |byRef| for dealing with COM-style outparams.
 # nsRefPtr.h uses |getter_AddRefs|.
 # Fixup that mismatch.
find . -name '*.cpp' -o -name '*.h'| \
    xargs perl -p -i -e 's/byRef/getter_AddRefs/g'
2015-10-18 00:40:10 -04:00
Aniket Vyas 95a17ea52c Bug 1197315 - remove PR_snprintf calls in gfx/; r=froydnj 2015-10-12 14:06:19 -07:00
Bas Schouten 55fc81be8b Bug 1208465 - Part 2: Disable using Direct2D when 1.1 is unavailable. r=jrmuizel 2015-09-25 13:30:57 +00:00
James Willcox f3e7b2c099 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-28 09:37:00 -05:00
Nicolas Silva 6198b794c9 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 120cce1d84 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-28 13:49:52 +02:00
Nicolas Silva 850e06aa00 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-28 13:49:43 +02:00
Nicolas Silva ae47538b3f Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-28 13:49:33 +02:00
Nicholas Nethercote 89189f2ced 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.

--HG--
extra : rebase_source : ba62db5204301e4ab57f05b9f9901f986f5b09aa
2015-09-24 18:16:45 -07:00
Wes Kocher d28eb4d8c9 Backed out bug 1083101 for build bustage CLOSED TREE
changesets backed out:
e39dfd9e05cb, cd54e93993b4, 61db1a51a7c4, c20fd7506bb7, b5e97b0facb7, cdf356cb817e, b058a918f443, d421e79326a2, 34a0be9af3f3, bba6f89ab775, 2fd5cfcea4e5

--HG--
extra : amend_source : 9dd084c69c78fd2248dfb1b9ba562b8a396ba205
extra : histedit_source : 7dc833e4d0e1656ed98f560b0bd8fec9e0aee3ef%2C1df84fdd3e0adae06356f9ffbafc49538ffb8729
2015-09-24 11:14:50 -07:00
Nicolas Silva 5c994c47a4 Bug 1083101 - Back 5 patches out due to windows build issues, CLOSED TREE. 2015-09-24 19:47:20 +02:00
Nicolas Silva 38f6ea4b47 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 0819b3e7d5 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-24 17:35:30 +02:00
Nicolas Silva dbac937791 Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-24 17:35:10 +02:00
Nicolas Silva d730a8ec5f Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-24 17:34:43 +02:00
Kartikaya Gupta 2379bce8fa Bug 1204076 - Remove workaround for making a test pass now that the underlying issue is fixed. r=botond
--HG--
extra : commitid : DrEEMPLFv95
2015-09-23 16:25:51 -04:00
Botond Ballo 0f6812acd5 Bug 1014691 - Move TestAsyncPanZoomController.cpp to gfx/layers/apz/test/gtest. r=kats,glandium
--HG--
rename : gfx/tests/gtest/TestAsyncPanZoomController.cpp => gfx/layers/apz/test/gtest/TestAsyncPanZoomController.cpp
extra : source : 18f51acd98206483573be0fcf636e6fcc76e89b0
2015-09-18 13:19:05 -04:00
Botond Ballo 7918cf6631 Bug 1014691 - Fix an include-what-you-use error in TestCompositor.cpp. r=kats
--HG--
extra : source : 561ac57efc474b5e7c4cad3c55ef24edb7c955b6
2015-09-16 19:45:14 -04: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 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
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
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
James Willcox 1e69214491 Back out 69e7d484b749452e7c7ba2ab01f66f71c6339a6b due to Android 4.0 debug reftest failures 2015-09-11 11:27:24 -05:00
James Willcox d06b91de48 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-11 09:09:47 -05: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
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
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
Ryan VanderMeulen 606e8823ff Backed out 11 changesets (bug 1083101) for causing mass Windows 7 test failures.
Backed out changeset 42d192dbf938 (bug 1083101)
Backed out changeset 0a6cc12c33d7 (bug 1083101)
Backed out changeset b82291c07e0e (bug 1083101)
Backed out changeset 2d32462f6c58 (bug 1083101)
Backed out changeset c234e70021a7 (bug 1083101)
Backed out changeset 23a3870672ae (bug 1083101)
Backed out changeset 78f3c70cf1cb (bug 1083101)
Backed out changeset 86f55d9695f0 (bug 1083101)
Backed out changeset 6b8940305079 (bug 1083101)
Backed out changeset 5efc1e52e4e9 (bug 1083101)
Backed out changeset dd266975e407 (bug 1083101)

CLOSED TREE
2015-09-01 11:35:02 -04:00
Nicolas Silva 4fd638c31e Bug 1083101 - Yet another static analysis fix in a CLOSED TREE. 2015-09-01 14:34:37 +02:00
Nicolas Silva febcb13de3 Bug 1083101 - Various build/test fixes to Moz2D's TaskScheduler. r=me 2015-09-01 13:50:47 +02:00
Nicolas Silva b4f213dcc0 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-01 13:50:43 +02:00
Nicolas Silva 23971db64e Bug 1083101 - Win32 implementation of the TaskScheduler. r=jrmuizel 2015-09-01 13:50:40 +02:00
Nicolas Silva 707ce75b9e Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-09-01 13:50:19 +02:00
Nicolas Silva 511e3cc49b Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-09-01 13:50:15 +02:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Ryan VanderMeulen 4dd652887b 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 70f660d10a Bug 1083101 - Win32 implementation of Moz2D's task scheduler. r=jrmuizel 2015-08-27 14:47:16 +02:00
Nicolas Silva 1cfc57a5dc Bug 1083101 - Add a task scheduler to Moz2D. r=jrmuizel 2015-08-27 14:47:12 +02:00
Nicolas Silva f6fc89b1d7 Bug 1083101 - Add a memory arena to Moz2D. r=jrmuizel 2015-08-27 14:47:07 +02:00
Kartikaya Gupta c736111bee 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 1c24730f8d Bug 1197898 - Delete vsync refresh driver preference. r=kats 2015-08-25 09:01:40 -04:00
Kartikaya Gupta b9032e3705 Bug 1194876 - Add test. r=botond
--HG--
extra : commitid : Cg9fRSjAKgj
2015-08-25 07:50:01 -04:00
Mason Chang 696de26763 Bug 1197201. Delete hardware vsync and vsync compositor prefs. r=kats 2015-08-24 11:27:23 -04:00
Milan Sreckovic 2431defff4 Bug 1188105: Parse bad driver versions. r=botond
--HG--
extra : rebase_source : 36d4c5636604bd0ff860859cbc571644eacdf165
2015-08-19 15:14:59 -07:00
John Daggett 688cc90bfc Bug 1176637 - annotate known assertion in pango font branch. r=m_kato 2015-08-10 13:29:04 +09:00
Matt Woodrow 741dbc133e Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen 55a80b1971 Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow 1e2e762f3c Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Matt Woodrow d2d5e5b9a3 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 3391470c4d 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 ec1078c65a 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 501c8bec02 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 a4cac5b663 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 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Kartikaya Gupta 75997e4ed0 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
Birunthan Mohanathas a8939590de 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 d42119a3f1 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.

--HG--
extra : commitid : 3QUviDozXL
extra : rebase_source : ba6bc3d846606f3f7598f4a3b687b68746067ce3
2015-07-07 15:38:38 +12:00
Tom Klein eac491927d Bug 1143303 - extend D2D circle workaround to work for small circles. r=bas
--HG--
extra : rebase_source : 2476d38321cddd744fe51b0f7d690643ad74deef
2015-07-06 22:46:00 +02:00
Lynn Tran 6ee48e8466 Bug 1031443 - Allow panning in the pinching state even if zooming is
disabled;r=botond

--HG--
extra : source : f3199edbe30a04a93986ff6054d192e59b658482
2015-07-01 14:58:32 -04:00
Benoit Girard 509337a1a0 Bug 1132467 - Adjust qcms lut inverse binary search of non monotonic TRC. r=jrmuizel
--HG--
extra : commitid : KdtckZDOAZH
2015-06-04 19:30:52 -04:00
Ryan VanderMeulen dd75267bf8 Bug 1179287 - Skip TestTiledLayerBuffer due to Linux PGO bustage.
CLOSED TREE
2015-07-01 13:42:48 -04:00
Nicolas Silva e706f98607 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 c23b8a3c64 Bug 1170189 - Simplify the client-side tiling code. r=BenWa 2015-07-01 13:50:58 +02:00
Nathan Froyd 974d8120f2 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
Tom Klein 69ad936a10 Bug 853889 - Check single-box orientaton in _cairo_bentley_ottmann_tessellate_rectangular_traps and _cairo_bentley_ottmann_tessellate_boxes. r=jmuizelaar
The fix for _cairo_bentley_ottmann_tessellate_boxes is from cairo upstream
commit 11b6c49c103d53526e9805c8906fde5dbb2eb884.

--HG--
extra : rebase_source : f9a52a5c6d20e560946abc4fb61bfd4a71fafb6a
2015-06-18 13:15:00 -04:00
Kartikaya Gupta 1d81392d69 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
Ryan VanderMeulen b290b7f37c Backed out changeset 264d12cfb073 (bug 853889) for Android 853889-1.html reftest failures.
CLOSED TREE
2015-06-17 11:43:23 -04:00
Tom Klein 5e589d88a4 Bug 853889 - Check orientation of single trapezoid in _cairo_bentley_ottmann_tessellate_rectangular_traps. r=jmuizelaar
--HG--
extra : rebase_source : 852a5923994f3d75f0ec68fe9d500f3cade5ba18
2015-06-15 16:57:00 +02:00
Jeff Muizelaar e50ab42b38 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

--HG--
extra : rebase_source : 06af10f1d6779237d2cc6c1dabfd9378889893ee
2015-06-04 14:34:46 -04:00
Botond Ballo 4958aa7c1b Bug 1158424 - Rename FrameMetrics::mIsRoot to mIsRootContent. r=kats
--HG--
extra : rebase_source : a082680d842dd182d899f637200ce911cc3c480d
extra : source : 8b67f0b8dc96cebe9a58356708b23bebd8532134
2015-06-08 16:01:26 -04:00
Botond Ballo ab3226e2dc Bug 1169690 - Gtests. r=kats
--HG--
extra : source : 4561a52ca917088abe6c65b02e8b1585d5bb095a
2015-06-03 19:38:50 -04:00
Kartikaya Gupta d686ee56fb Bug 1169695 - Remove as many manual calls to spin the task queue as possible. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 7d039d70cb Bug 1169695 - Ensure timed tasks are dispatched appropriately when advancing the time. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta d67fa2cccc Bug 1169695 - Store task run-at times in the task queue. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 1b776f1f28 Bug 1169695 - Advance the stored time when sampling the transform for a future frame. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta 14fa5136ee Bug 1169695 - Make the test timestamp privately held by the MockContentControllerDelayed. r=botond 2015-06-01 14:36:12 -04:00
Kartikaya Gupta abff2dd438 Bug 1169689 - Make sure we don't end up with a spurious velocity if we're not going to be panning. r=botond
This patch also removes an unnecessary call to StartTouch, since the start pos
is not used when computing the pan delta any more.
2015-06-01 09:51:16 -04:00
Amanda Sambath 94ccfe2849 Bug 1158120 - Replace gfxIntSize by mozilla::gfx::IntSize in gfx/tests. r=nical 2015-05-28 13:02:44 +02:00
Timothy Nikkel ae72b1ab27 Bug 1168630. Part 6. Modify the test for bug 1119497 based on the new assumption of always having a root APZC. r=botond
Part 5 adds an assert that we always return an APZC from GetAPZCAtPoint. The test for bug 1119497 fails this assumption because it does not give it's layer tree a root AZPC. In all non-test code we ensure that there is always a root APZC and many things would break without such. So we modify the test to always have a root APZC more like actual code.

The test is testing that we don't return the layer below (with an APZC) the topmost child layer (without an APZC). So checking if we hit the root APZC still makes the test test the same thing.
2015-05-31 14:44:41 -05:00
Tom Klein 21241a6bbf Bug 1063486 - Track current point in _cairo_path_bounder_curve_to r=jmuizelaar 2015-05-30 16:07:48 +01:00
Kartikaya Gupta 9fe34a5df1 Bug 1166871 - Add a test. r=botond 2015-05-29 11:04:22 -04:00
Mike Hommey ea7750bcb1 Bug 991983 - Define SOURCES as SourcePath. r=gps 2015-05-28 07:34:15 +09:00
Kartikaya Gupta b54dc47f24 Back out 2 csets for bug 1163832 for emulator crashtest failures. r=me
CLOSED TREE
2015-05-22 07:51:55 -04:00
Kartikaya Gupta 86ed888daa Bug 1163832 - Add an API to flush pending APZ repaint requests and dispatch a notification upon completion. r=botond 2015-05-22 06:42:08 -04:00
Nathan Froyd db188ea282 Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Carsten "Tomcat" Book dfe75f9228 Backed out changeset 81a47807c54a (bug 1134549) for crashtest failures on CLOSED TREE 2015-05-20 16:12:33 +02:00
Milan Sreckovic b39a1b5e61 Bug 1162530 - Part 1: Add versioning to graphics blocklist. r=jmuizelaar 2015-05-15 10:42:10 -04:00
Tom Klein a8e5f7cc4f Bug 1134549 - Switch FlattenBezier from floats to doubles. r=bas 2015-05-20 11:44:05 +01:00
Botond Ballo 184a00be02 Bug 1159985 - Gtest. r=kats
--HG--
extra : source : 48c9d5ccd61b79caf959f6d6329977888d032fb8
2015-05-11 22:25:34 -04:00
Botond Ballo 23e426ca66 Bug 1159985 - In APZ gtests, allow panning in both directions. r=kats
--HG--
extra : source : 6869f19b8b653ee012d0d0bc7e0f7f473983820d
2015-05-11 22:06:03 -04:00
Botond Ballo 0fd5163a65 Bug 1163845 - Unify handling of time in APZ gtests. r=kats
--HG--
extra : rebase_source : f7b50c31bc39ed0a2d2d26250a0dc36355c0cf05
extra : source : 64cabb256acb8b30e4d67f78e94b8f6187e0e58d
2015-05-15 12:45:27 -04:00
John Daggett 0a76b17f6a Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-13 14:11:25 +09:00
Carsten "Tomcat" Book 11670ea513 Backed out changeset 194a4c39c2a9 (bug 1056479) 2015-05-12 12:21:02 +02:00
John Daggett 197c2170e0 Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 17:44:20 +09:00
Carsten "Tomcat" Book 1cc8234416 Backed out 10 changesets (bug 1056479) for bustage on a CLOSED TREE
Backed out changeset d5b1f2b78915 (bug 1056479)
Backed out changeset bcc65b714dd6 (bug 1056479)
Backed out changeset 0b35e8a463d2 (bug 1056479)
Backed out changeset 0933391809c9 (bug 1056479)
Backed out changeset 93bd67204fac (bug 1056479)
Backed out changeset 5260b93eb0b9 (bug 1056479)
Backed out changeset 130bea3f8623 (bug 1056479)
Backed out changeset 408e078cc18d (bug 1056479)
Backed out changeset a651c240979d (bug 1056479)
Backed out changeset d74ae8fcaac9 (bug 1056479)
2015-05-12 08:25:19 +02:00
John Daggett a92a57e31e Bug 1056479 p3 - fixup various reftests for Linux. r=jfkthame 2015-05-12 14:51:17 +09:00
Kartikaya Gupta e237a366e0 Bug 1160566 - Make FrameMetrics.mCompositionBounds private and add a getter/setter for it. r=botond 2015-05-07 14:44:03 -04:00
Thibaud Backenstrass 0e5d0b5e17 Bug 1158122 - Remove most occurences of nsIntRect in gfx/tests. r=nical 2015-05-07 11:08:01 +02:00
Botond Ballo eec478ee63 Bug 1152051 - Gtest. r=Cwiiis,kats
--HG--
extra : source : b95b31b9f8dd13a6dc325b0647c8a301f5372d60
extra : intermediate-source : 71b8bc97a60421cb46c744adb7dfb3246c1c16eb
2015-04-29 19:38:02 -04:00
Kartikaya Gupta a839cee2fc Bug 1148350 - Add a test. r=botond 2015-04-30 14:30:38 -04:00
Kartikaya Gupta dc74cd2fb0 Bug 1159398 - Set the controller thread when running APZ gtests. r=dvander 2015-04-29 07:22:27 -04:00
Ying-Ruei Liang (KK) f17daf9c2a Bug 1143522 - Convert Layer::mClipRect to ParentLayerIntRect. r=botond
Change interface of getter/setter for mClipRect,
also necessary modification for codes that use these resources.

* * *
Bundle mUseClipRect and mClipRect as Maybe<ParentLayerIntRect> mClipRect

--HG--
extra : rebase_source : ca0c60404a28b7418df88104b863760033289910
2015-04-11 22:03:00 -04:00
Ryan VanderMeulen 612dc2a6ee Merge inbound to m-c. a=merge 2015-04-14 10:06:03 -04:00
Alexandre Lissy 366fdcfa2e Bug 1153574 - Re-enable Mulet reftests taskcluster-specific disables. r=ahal, a=test-only 2015-04-13 14:26:00 -04:00
Botond Ballo 7009659de8 Bug 1152051 - During an overscroll animation, detect a peak even if a sample has a velocity of exaclty zero. r=Cwiiis 2015-04-08 19:59:14 -04:00
Nicolas Silva 0b1f75bea0 Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas 2015-04-07 16:08:57 +02:00
Jonathan Kew 179aafeda9 Bug 1012640 - patch 1 - Add checks for IsOriginalCharSkipped() to the gfxSkipChar unit tests. r=roc 2015-04-07 09:27:18 +01:00
Nicolas Silva 52be9f47b5 Bug 1132854 - Remove useless ThebesIntSize conversion helper. r=Bas 2015-03-29 16:59:15 +02:00
Nicolas Silva e3eaf89e3f Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc 2015-03-29 16:59:08 +02:00
Martijn Wargers 84811f67ae Bug 1145553 - Remove remaining usage of enablePrivilege in crashtests; r=jmaher 2015-03-20 14:29:19 +01:00
Mason Chang ba8626d695 Bug 1146691 - Create tests to check that the RefreshDriverVsyncObservers get vsync notifications. r=kats 2015-03-24 08:50:58 -07:00
Ehsan Akhgari 883849ee32 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher 14f75f943c Merge m-c to inbound a=merge CLOSED TREE 2015-03-20 18:01:17 -07:00
Kartikaya Gupta bd98be2c55 Bug 1144831 - Remove the HandleLongTapUp callback and just use HandleSingleTap instead. r=botond 2015-03-20 14:26:52 -04:00
Alexandre Lissy 16ab34d6ec Bug 1144080 - Disable reftests on Mulet for TaskCluster. r=ahal 2015-03-20 00:45:00 +01:00
Kartikaya Gupta 99454216d3 Bug 1144112 - Update the FlingStop tests to check if events are flowing properly after the fast-motion blocks are done. r=botond 2015-03-19 06:33:32 -04:00
Kartikaya Gupta 30cf8d06df Bug 1144112 - Only set the default allowed touch behaviour if the event is not consumed, to have the tests better reflect reality. r=botond 2015-03-19 06:33:32 -04:00
Nicolas Silva 0082df31ab Bug 1142659 - Fix coverity warning in Layers::UserData test. r=jrmuizel 2015-03-17 15:50:06 +01:00
Botond Ballo cda50e28d3 Bug 1036967 - Use ScaleFactors2D instead of ScaleFactor where appropriate in APZ and surrounding code. r=kats
--HG--
extra : rebase_source : bbdd433260c2e5244602275aa8516723f87d5740
extra : source : a2dbf7ec87c50f35a089470e39d6b4b448992e3d
2015-03-06 13:54:10 -05:00
Jeff Muizelaar 69363dcf7f Bug 1130978. Fix VisitEdges. r=kats
The code is broken because in the else case of VisitNextEdgeBetweenRect we
assume that r2->x1 < r1->x1. This is not always the case.

The fix is to have VisitNextEdgeBetweenRect return whether there's an overlap.
The calling code can than adjust x1 appropriately if r1 != r1_end && r2 != r2_end.
2015-03-11 01:18:30 -04:00
Kartikaya Gupta c6da1df376 Bug 1137267 - Remove unneeded flags to track touch listeners and touch caret. r=smaug,dvander,botond 2015-03-10 09:29:25 -04:00
Kartikaya Gupta cf25343ea5 Bug 1137267 - Enable event-regions automatically when APZ is enabled, and allow the APZ code to assume event-regions are enabled always. r=botond,tn 2015-03-10 09:29:19 -04:00
Kearwood (Kip) Gilbert 8d1fcc4892 Bug 945584: Part 6 - Implementation of scroll snapping (v10 Patch), r=roc, r=kats
- Implemented CSS scroll snapping (http://dev.w3.org/csswg/css-snappoints/)

--HG--
extra : rebase_source : e100b6a2cbc00321d6d1083d12a99213e34d5f9d
2015-02-19 15:53:30 -08:00
Botond Ballo 6f8bf1747c Bug 943537 - In the GeckoContentController interface, take the modifiers for tap events in 'widget modifier' format rather than 'DOM modifier' format. r=kats,mbrubeck
--HG--
extra : rebase_source : f931503087e1a13725c9a3a398d49111e060e76e
2015-03-02 16:38:07 -05:00
Kartikaya Gupta 8e267df190 Bug 1092128 - Ensure that when touch-action is enabled the gtests always provide default touch behaviours where expected. r=botond 2015-03-02 11:51:45 -05:00
Kartikaya Gupta 17dd704db3 Bug 1092128 - Ensure the tests for touch action disabled actually disable touch action. r=botond 2015-03-02 11:50:38 -05:00
Benoit Girard 64d4c32b50 Bug 1135677 - Deal with overflowing rects. r=bas
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Abhishek Arya f43756ff87 Bug 944579 - another crashtest. 2015-02-22 04:57:16 +00:00
Jesse Ruderman 332e3b357f Bug 950000 - crashtest. 2015-02-22 02:41:58 +00:00
Abhishek Arya e6d9ca6bd4 Bug 944579 - crashtest. 2015-02-22 02:41:58 +00:00
Jesse Ruderman c2bcab6f73 Bug 593526 - crashtests. 2015-02-22 02:41:58 +00:00
Carsten "Tomcat" Book 999f6284ec Backed out changeset e1bb91f60697 (bug 1129871) 2015-02-17 14:32:15 +01:00
Nicolas Silva 4fea5323ad Bug 1129871 - Favor passing tiles by ref rather than copy part 2. r=BenWa 2015-02-14 12:14:59 +01:00