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

32 Коммитов

Автор SHA1 Сообщение Дата
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
Kartikaya Gupta 56edc85a6e Bug 1376782 - Replace gfxPoint with a typedef to PointDouble. r=jrmuizel
This also moves the WithinEpsilonOf function from gfxPoint into
PointTyped, and changes call sites that are using
gfxPoint::Transform(Matrix4x4) to use Matrix4x4::TransformPoint(Point)
instead, which should be equivalent.

MozReview-Commit-ID: 3Z0bsU41rQt

--HG--
extra : rebase_source : 390e8de546d641d324e7125a06d0b8b51a48b946
2017-06-28 11:42:23 -04:00
sotaro 807999b9d6 Bug 1345054 part 1 - Allocate pipleline for each video r=nical 2017-06-02 16:11:34 +09:00
Botond Ballo 7a4cb0cf48 Bug 1321412 - Fix a bug in the definition of SizeTyped. r=kats
A second template parameter 'F' was previously added to SizeTyped, but was
not correspondingly added to the argument passed for the 'Sub' parameter
of BaseSize.

MozReview-Commit-ID: 2pRQXeWMJpP

--HG--
extra : rebase_source : c1e71b18fdb303f9684d0c9c26dca2462fa0f62d
2016-11-23 19:26:55 -05:00
Miko Mynttinen 93c8550e72 Bug 1274673 - Use binary space partitioning for sorting/drawing layers - Part 1: Add Point4D construction/conversion from/to Point3D r=bas
MozReview-Commit-ID: 2zvXkYcVV1A

--HG--
extra : rebase_source : 1a2aab40bfb17573fd1290484d9463fe5bf43d1e
2016-11-21 19:50:33 +01:00
Nicolas Silva 40a96c03f2 Bug 1284837 - Add conversions methods from Point and Size to IntPoint and IntSize for consistency. r=botond 2016-07-26 16:48:34 +02:00
Nicolas Silva 48805c9b3e Bug 1284837 - Disallow implicit conversions from float to integer when creating IntPoint and IntSize objects. r=botond 2016-07-26 16:48:30 +02:00
Chris Peterson 43c2748f66 Bug 1277775 - Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj 2016-07-08 14:39:53 -07:00
"Kearwood \"Kip\" Gilbert" 0f397fb78d Bug 1157984 - Part 1: Extend gfx::2d classes to support both float and double precision,r=jrmuizel
- Implemented templates for Coord, Point, Point3D, Point4D, Size, Margin
  and Rect to create double precision versions.

--HG--
extra : rebase_source : 91e16a7b970026346b6e90a23427fd0f70491765
2015-06-11 13:43:40 -07: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
Botond Ballo a5db405d9f Bug 1057642 - Revert [Int]::PointTyped::[x|y] to be of primitive type. r=kats
--HG--
extra : rebase_source : 55e56423f6c8f5278315a6dc9dfcb9fb983c9309
2014-08-28 12:45:48 -04:00
David Zbarsky 1b247e50b6 Bug 952977: Switch some uses of gfx3DMatrix in nsLayoutUtils to Matrix4x4 r=nical 2014-08-22 09:40:02 -04:00
Botond Ballo ffebd18f0b Bug 923512 - Introduce strongly-typed coordinate classes. r=kats,Bas
--HG--
extra : rebase_source : 22e5fe577ea503aede765c70e16c0bf875c4a9fd
2014-08-19 13:08:16 -04:00
Ehsan Akhgari 591ece972e Bug 1045091 - Fix some bad implicit constructors in gfx; r=Bas 2014-07-29 08:07:24 -04:00
Botond Ballo 14c54cd3c3 Bug 1022381 - Enforce that strongly-typed geometric classes are used with a proper coordinate system tag type. r=kats 2014-06-10 12:43:52 -04:00
Matt Woodrow 18192455ba Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Nathan Froyd 83099bb5d2 Bug 968942 - make SizeTyped constructors MOZ_CONSTEXPR to avoid static constructors; r=kats 2014-02-06 13:06:08 -05:00
Markus Stange 46bb478bac Bug 924102 - Add the types Point3D and Matrix5x4. r=Bas 2013-11-27 12:22:02 +01:00
Trevor Saunders 9f254378b2 bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Nathan Froyd 192bc00d31 Bug 913640 - sprinkle MOZ_CONSTEXPR on gfx's typed units to reduce static constructors; r=kats 2013-09-13 12:34:20 -04:00
Kartikaya Gupta 66b37ff496 Bug 910322 - Strongly type the viewport size in nsViewportInfo. r=mbrubeck, Ms2ger 2013-09-03 15:12:24 -04:00
Botond Ballo 978933e44e Bug 895905 - Fixed a compiler error on GCC 4.7. r=Bas 2013-08-08 15:56:09 -04:00
Kartikaya Gupta ddc341ee0a Bug 880676 - Move the RoundToInt functions to be standalone in the gfx headers. r=BenWa 2013-06-14 16:11:31 -04:00
Kartikaya Gupta 3bec9e603d Bug 879011 - Convert nsIntPoint instances in InputData.h to types with units. r=kentuckyfriedtakahe 2013-06-11 18:13:11 -04:00
Kartikaya Gupta 1e3b912be9 Bug 877726 - Convert FrameMetrics.mScrollOffset to be a CSSPoint. r=kentuckyfriedtakahe 2013-05-30 21:30:13 -04:00
Kartikaya Gupta d44a465803 Bug 865735 - Add a units template parameter to the gfx Point, Size, and Rect classes. r=bas,roc 2013-05-29 09:32:30 -04:00
Ed Morley 35a3834d4f Backed out changeset c1f4eff03e82 (bug 840693) for causing bug 838563 2013-03-04 14:38:11 +00:00
Anthony Jones 123a7144b9 Bug 840693 - Add ZoomScale; r=Bas 2013-03-04 13:25:22 +13:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Kyle Huey f526cd64fb Bug 703028: Fix obnoxious warning spew from gfx 2d stuff. r=me 2011-11-21 09:56:24 -05:00
Joe Drew 22c35b1a70 Bug 685322 - Create explicit conversion constructors for Rect and Point taking IntRect and IntPoint. r=roc 2011-11-14 17:29:01 +13:00
Bas Schouten 189472e8c9 Bug 651858 - Part 1: Add the Azure API and Direct2D backend. r=jrmuizel sr=roc
--HG--
rename : gfx/src/BaseMargin.h => gfx/2d/BaseMargin.h
rename : gfx/src/BasePoint.h => gfx/2d/BasePoint.h
rename : gfx/src/BaseRect.h => gfx/2d/BaseRect.h
rename : gfx/src/BaseSize.h => gfx/2d/BaseSize.h
2011-06-24 19:41:16 +02:00