Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Cosmin Sabou
b9a82af44a
Backed out 2 changesets (bug 1387399) for OSX reftests permafailures on attachment-local-positioning-2.html. a=backout
...
Backed out changeset b78a225fa8c9 (bug 1387399)
Backed out changeset 4beeacb75bf5 (bug 1387399)
2018-04-20 06:47:41 +03:00
Bas Schouten
0dee5c2745
Bug 1387399: Add SIMD optimizations for methods used frequently in nsRect. r=jrmuizel
...
This improves the DisplayList Mutate Talos test by about 5% on windows, as well as numerous smaller improvements on DisplayList heavy tasks.
MozReview-Commit-ID: tlEtPjqWI4
2018-04-19 15:56:29 +02:00
Milan Sreckovic
e3960c6dce
Bug 1429602: Rename BaseRect::IsZero to BaseRect::IsZeroArea. Also slip in some corrections to using BaseRect methods instead of direct member access. r=bas.schouten
...
MozReview-Commit-ID: H3ApaWesbKF
--HG--
extra : rebase_source : c4f73da113a604c14fbf0f1ef4c598d032d68792
2018-01-10 17:57:10 -05:00
Milan Sreckovic
e9ad31bdf1
Bug 1423919: Additional methods for BaseRect for convinient modifications/testing of the member variable values. Force inline some commonly used methods. r=milan.schouten
...
MozReview-Commit-ID: 8zALRpsKLXx
--HG--
extra : rebase_source : ac6e88124c924c65cb79b3a97da0a90fedaa1689
2017-12-07 14:14:04 -05:00
Milan Sreckovic
1c4ab9e9c2
Bug 1389152: Change LogicalRect from having nsRect as a member variable, and exposing its member variable addresses, to storing four nscoord values separately and doing some operations by creating temporary rectangles to ensure consistency. Add a method to BaseRect to get OriginAndSize at once. r=bas,jfkthame.schouten
...
MozReview-Commit-ID: FhmSXK7p5c6
--HG--
extra : rebase_source : eb542fac9017852fa812b54aa3b12f0522a1e4be
2017-11-07 09:38:31 -05:00
Daniel Holbert
126bd9e1a4
Bug 1412427 part 8: (automated patch) Switch a bunch of C++ files in gfx to use our standard mode lines. r=jrmuizel
...
This patch was generated automatically by the "modeline.py" script, available
here: https://github.com/amccreight/moz-source-tools/blob/master/modeline.py
For every file that is modified in this patch, the changes are as follows:
(1) The patch changes the file to use the exact C++ mode lines from the
Mozilla coding style guide, available here:
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Mode_Line
(2) The patch deletes any blank lines between the mode line & the MPL
boilerplate comment.
(3) If the file previously had the mode lines and MPL boilerplate in a
single contiguous C++ comment, then the patch splits them into
separate C++ comments, to match the boilerplate in the coding style.
MozReview-Commit-ID: 77D61xpSmIl
--HG--
extra : rebase_source : c6162fa3cf539a07177a19838324bf368faa162b
2017-10-27 16:10:06 -07:00
Milan Sreckovic
56c2b6e6f7
Bug 1386277: Add set methods for width and height that change nothing else, as well as the Swap method r=bas
...
MozReview-Commit-ID: 6TZ977mvH5C
--HG--
extra : rebase_source : 3f124c682ac914f3fde27c396c2fb21b324ed521
2017-08-03 15:29:35 -04:00
Wes Kocher
12a2e09564
Backed out changeset f56d71bbd7eb (bug 1386277) for build bustage in BaseRect.h a=backout
...
MozReview-Commit-ID: GNqvDrHn8No
2017-08-03 12:14:32 -07:00
Milan Sreckovic
325b9a25eb
Bug 1386277: Add set methods for width and height that change nothing else, as well as the Swap method r=bas
...
MozReview-Commit-ID: 5pN2aMrvAuD
--HG--
extra : rebase_source : ed9740538808803f9c8e0e6d59a559e03c4b4dad
2017-08-03 14:40:14 -04: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
Benoit Girard
64d4c32b50
Bug 1135677
- Deal with overflowing rects. r=bas
...
--HG--
extra : rebase_source : d5b26d8d1e35f9138ad81af0650f3817c3d43b09
2015-02-23 14:09:56 -05:00
Milan Sreckovic
ec1c424f28
Bug 903526 - Add BaseRect::IsFinite() method. r=bas
2013-08-13 14:48:17 -04:00
Benoit Girard
066eb25793
Bug 865902 - Port old gfx unit tests. r=milan
...
--HG--
rename : gfx/tests/TestColorNames.cpp => gfx/tests/gtest/TestColorNames.cpp
rename : gfx/tests/TestRect.cpp => gfx/tests/gtest/TestRect.cpp
rename : gfx/tests/TestRegion.cpp => gfx/tests/gtest/TestRegion.cpp
rename : gfx/tests/gfxFontSelectionTest.cpp => gfx/tests/gtest/gfxFontSelectionTest.cpp
rename : gfx/tests/gfxFontSelectionTests.h => gfx/tests/gtest/gfxFontSelectionTests.h
rename : gfx/tests/gfxSurfaceRefCountTest.cpp => gfx/tests/gtest/gfxSurfaceRefCountTest.cpp
rename : gfx/tests/gfxTextRunPerfTest.cpp => gfx/tests/gtest/gfxTextRunPerfTest.cpp
rename : gfx/tests/gfxWordCacheTest.cpp => gfx/tests/gtest/gfxWordCacheTest.cpp
rename : gfx/tests/per-word-runs.h => gfx/tests/gtest/per-word-runs.h
2013-04-25 19:02:13 -04:00