Kartikaya Gupta
e4f0d8e002
Bug 1257641 - Replace the mUpdateScrollOffset bool with an enum, needed in the next patch. r=botond
...
MozReview-Commit-ID: AtmpQTAUH8L
2016-04-13 10:21:13 -04:00
Kartikaya Gupta
967f8c8fb1
Bug 1246290 - Add a bit to FrameMetrics to indicate if APZ-scrolling should be disabled on that APZC. r=botond
...
MozReview-Commit-ID: 5NeFP31Y0Qg
2016-04-03 13:13:58 -04:00
Botond Ballo
895380f52c
Bug 1219296 - Ship scroll snap information to the compositor. r=kats
...
MozReview-Commit-ID: 2aCaAEC5Csu
--HG--
extra : rebase_source : 840fa9478c32932c40cf3f9222d14da567f9d41b
2016-03-11 22:04:53 -05: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
Gregory Szorc
ab955c4662
Bug 1256502 - Use a uint32_t cast to avoid C4319 on VS2015; r=botond
...
The sizeof() was creating a size_t which made VS complain about a
mismatch between uint32_t and size_t. The sizeof() should never be
larger than a uint32_t, so just cast it.
MozReview-Commit-ID: 5HrFOfQhAMp
--HG--
extra : rebase_source : ad4306d8a9a0c20fc803db3a057de822f52076ef
2016-03-23 15:12:30 -07:00
Benoit Girard
511cfd0fbb
Bug 1258481 - Use RegionBuilder for nsRegion IPC. r=jrmuizel
...
MozReview-Commit-ID: 6K0aPjhyD1A
--HG--
extra : rebase_source : fbca985c5551842fbfd7dd3357ef3ee9144a7430
2016-03-23 13:46:20 -04:00
Carsten "Tomcat" Book
67557a3f7f
Backed out changeset 8e7a8791854f (bug 1258481)
2016-03-23 16:52:02 +01:00
Benoit Girard
97d955db86
Bug 1258481 - Use RegionBuilder for nsRegion IPC. r=jrmuizel
...
MozReview-Commit-ID: 6Ma8sVkfeuj
--HG--
extra : rebase_source : fb9ed83b170ca33657314cb3a18a532b6222dfdd
2016-03-23 11:36:53 -04:00
David Anderson
b7dba4cb77
Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
2016-02-23 10:11:21 -08:00
Wes Kocher
a9ea5f6a56
Backed out 2 changesets (bug 1193557, bug 1209278) for build bustage
...
Backed out changeset 755b9088813c (bug 1193557)
Backed out changeset 21356fa4e353 (bug 1209278)
--HG--
extra : commitid : 5hf8aSA5FhN
2016-02-23 10:39:08 -08:00
David Anderson
a08042eef1
Require mix-blend mode support in all compositors and layer managers. (bug 1209278 part 1, r=mstange)
...
--HG--
extra : rebase_source : c63182aa6b4465e22d8d4147bfd40bc1e8183b08
2016-02-23 10:11:21 -08:00
Wes Kocher
4c4e5f57b5
Backed out changeset 3dce92c9562d (bug 1232042) for causing Win7 slaves to apparently crash and lock up a=backout
...
--HG--
extra : commitid : LR9A2AvlKN6
2016-02-17 11:11:10 -08:00
Bas Schouten
0ba3291163
Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
...
MozReview-Commit-ID: EC8yhkvvood
2016-02-13 14:33:27 +01:00
Carsten "Tomcat" Book
eebf5d68a5
Backed out changeset 4adb7586410a (bug 1247775)
2016-02-12 08:49:29 +01:00
Bas Schouten
341a0f43ec
Bug 1247775 - Part 2: Remove Direct2D 1.0 code from Thebes. r=dvander
...
MozReview-Commit-ID: EC8yhkvvood
--HG--
extra : rebase_source : fbb8a83f359e31bf77a058e202666df7f244893e
2016-02-12 02:05:35 +01:00
Bas Schouten
fe90bf3a21
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
...
MozReview-Commit-ID: JbPdhIi9zCd
2016-02-06 03:14:44 +00:00
Phil Ringnalda
ac03b87535
Back out aeceae3e0e96 (bug 1232042) for Win8 crashes @nvwgf2umx.dll + 0x2d416a in addon manager tests
2016-02-06 09:52:35 -08:00
Bas Schouten
06a81d915b
Bug 1232042: Workaround Windows presentation bug by executing a present call on the main thread during a WM_PAINT event. r=jrmuizel
...
--HG--
extra : commitid : K5S8gKJzzhj
2016-02-06 03:14:44 +00:00
Nicholas Nethercote
74831ef786
Bug 1239864 (part 4) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : 633ae2a881c15ae14d08e9ea9289e2b8f079a4b9
2016-01-18 17:20:58 -08:00
Nicholas Nethercote
6a194c8cf8
Bug 1239864 (part 1) - Add new, nicer rect-iterators for nsRegion and nsIntRegion. r=roc.
...
This requires renaming the existing nsIntRegion::RectIterator as
nsIntRegion::OldRectIterator to make way for the new nsIntRegion::RectIterator.
This doesn't require many knock-on changes because most existing uses of
that type use the nsIntRegionRectIterator typedef.
--HG--
extra : rebase_source : 16c79610ae20820ead6aa63cbe214e4e4b3a9fab
2016-01-14 18:36:11 -08:00
Kartikaya Gupta
a1c2f88721
Bug 1226826 - Record paint times in the checkerboard event. r=botond
...
--HG--
extra : commitid : CygYKO4FVuh
2016-01-15 16:19:59 -05:00
Nigel Babu
ecae6cd9a5
Backed out 4 changesets (bug 1226826) for widespread bustage
...
Backed out changeset 95d373bec568 (bug 1226826)
Backed out changeset bb9970d440a4 (bug 1226826)
Backed out changeset 6c1fa0dc6bd7 (bug 1226826)
Backed out changeset 400ebf504171 (bug 1226826)
--HG--
extra : commitid : D1zZSeIHTOA
2016-01-14 08:33:11 +05:30
Kartikaya Gupta
a7478cbca5
Bug 1226826 - Record paint times in the checkerboard event. r=botond
...
--HG--
extra : commitid : kX3Eye3aq0
2016-01-13 15:46:08 -05: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
Kartikaya Gupta
57630a6b66
Bug 1219352 - Pack the FrameMetrics booleans. r=botond
...
--HG--
extra : commitid : AWU27s9DKzG
2016-01-06 20:50:01 -05:00
Kartikaya Gupta
0d7d89c6a4
Bug 1219352 - Rearrange fields in FrameMetrics. r=botond
...
This patch:
- Maintains a consistent ordering between the lists of fields in the
FrameMetrics constructor, operator==, IPC read/write functions, and the
actual order of fields in FrameMetrics. As part of this, missing default
initializers are added to the FrameMetrics constructor, and fields omitted
from the operator== are explicitly noted.
- Moves all the boolean values to the end of the set of field (for better
packing).
- Moves the scroll id and parent scroll id to the front of the list, so that
the operator== can fail faster in the common case.
--HG--
extra : commitid : 6ink6xmxH38
2016-01-06 20:50:01 -05:00
Bill McCloskey
871a98516f
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-06 10:22:54 -08:00
Nigel Babu
6b46bb89da
Backed out changeset ad7bcc14bc9c (bug 1236266) for causing perma leaks
...
--HG--
extra : commitid : 8D1VqyqYDLw
2016-01-06 14:02:58 +05:30
Bill McCloskey
30155a0988
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-05 21:59:46 -08:00
David Anderson
bba1b2478f
Annotate FrameMetrics that are created for ScrollInfoLayers. (bug 1192919 part 1, r=kats)
...
--HG--
extra : commitid : 83SwqEe7GTb
2015-12-21 09:36:36 -05: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
David Anderson
b49b27b9a6
Add an NPN_GetValue query to find the browser's DXGI adapter. (bug 1217665 part 10, r=aklotz,mattwoodrow)
...
--HG--
extra : rebase_source : 55d8f4541524298232b219ab29938c62d69d56af
2015-12-02 11:31:17 -08: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
David Anderson
a461be8bed
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
...
--HG--
extra : rebase_source : 3733dd6db625c9f93f34725d246b4efb6b63b191
2015-11-18 12:11:52 -08:00
Wes Kocher
f4535ab455
Backed out 2 changesets (bug 1225283) for Windows build bustage CLOSED TREE
...
Backed out changeset a2dc8e863533 (bug 1225283)
Backed out changeset 5f456b78cccc (bug 1225283)
2015-11-17 14:41:42 -08:00
David Anderson
91684610bf
Add IPC helpers to marshal DXGI_ADAPTER_DESC. (bug 1225283 part 1, r=mattwoodrow)
2015-11-17 13:38:12 -08:00
Chris Peterson
662a258a78
Bug 1215900 - Fix clang's -Wimplicit-fallthrough warnings in gfx/ipc/GfxMessageUtils.h. r=mstange
...
GfxMessageUtils.h:968:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:969:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:970:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:971:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:972:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:973:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:974:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:975:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:976:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:977:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
GfxMessageUtils.h:981:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-17 22:53:03 -07:00
Benoit Girard
fd05a3df17
Bug 1199885 - Part 2: Add AsyncDragMetrics. r=kats
...
--HG--
extra : commitid : Bq9QdYWF3v3
extra : rebase_source : bdd10ec82cd18811fa8fe75477d02dc862ece99b
2015-09-28 14:43:50 -04:00
Nicholas Nethercote
0f5722f4da
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07:00
Nicholas Nethercote
4fc2610c3c
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07:00
Nicholas Nethercote
b06269a38d
Bug 1211324 (part 3) - Remove GraphicsFilter::FILTER_FAST and replace it with FILTER_BEST. r=mattwoodrow.
...
This may sound like an odd change but it's what the current code effectively
already does due to the way ToFilter() and ThebesFilter() are defined.
2015-10-05 16:59:32 -07:00
Sotaro Ikeda
9b595ca634
Bug 1186793 - Replace nsBaseHashtable::EnumerateRead() calls in gfx/ with iterators r=njn
2015-09-29 07:49:41 -07:00
Nicholas Nethercote
d0c4a9db1b
Bug 1208300 (part 4) - Remove gfxRGBA and some related things. r=jwatt.
...
Hooray!
--HG--
extra : rebase_source : d691b55eef5a8655aa98b81b5398452a5ebe860d
2015-09-24 19:24:16 -07:00
Chris Peterson
71920a9550
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -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
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
Chris Peterson
8b1de6b820
Bug 1194948 - Build gfx/ipc in unified mode and mark as FAIL_ON_WARNINGS. r=BenWa
2015-08-13 20:46:47 -07:00
David Anderson
5953408ea9
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-10 20:27:06 -07:00
Carsten "Tomcat" Book
26f2018b57
Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
...
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson
4e15c1f1eb
Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar)
2015-08-06 02:42:04 -07:00