Kartikaya Gupta
9d9fb92aed
Bug 1417519 - Log layers id as a hex value. r=botond
...
These days (at least with webrender enabled), the layers id is created
by mashing together two uint32 values into the uint64. Printing it as in
base 10 produces some large number near the 32-bit boundary, and it's
much more legible/easier to compare when printed in hex.
MozReview-Commit-ID: JsGhqyLtDBv
--HG--
extra : rebase_source : ed60d26d8223d968f37e8d933e60b1ee6552d1e9
2017-11-17 10:54:23 -05:00
Kartikaya Gupta
3a399cf5e5
Bug 1412280 - Update sticky code for API change in WR PR 1940. r=jrmuizel
...
MozReview-Commit-ID: 2I8wpe3Bt1y
--HG--
extra : rebase_source : 5056aee8978c9bd5c51724ec909125de318f04ad
2017-10-31 09:17:22 -04: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
sotaro
afe9dcf6ff
Bug 1403049 - Remove EGLImageImage r=snorp
2017-09-27 09:56:38 +09:00
Kartikaya Gupta
59ea9aa15f
Bug 1399505 - Expose the API to add sticky frames to the WR display list. r=mstange
...
MozReview-Commit-ID: 1SEz6bqMoME
--HG--
extra : rebase_source : 133853e09f8bc5b1e7d725a53ef3d6a0ab1fdc00
2017-09-21 10:11:39 -04:00
Phil Ringnalda
8803c424ae
Backed out 2 changesets (bug 1399505) for build bustage when it met a merge from m-c
...
CLOSED TREE
Backed out changeset fd7e2ce2fc92 (bug 1399505)
Backed out changeset 40af6e459538 (bug 1399505)
MozReview-Commit-ID: 5bGfy88JRUb
2017-09-20 18:58:41 -07:00
Kartikaya Gupta
efbf9b6c42
Bug 1399505 - Expose the API to add sticky frames to the WR display list. r=mstange
...
MozReview-Commit-ID: Dunn5AeTJiw
--HG--
extra : rebase_source : a9da341d3da273982e74e182eaa961ba9567e284
2017-09-20 16:00:07 -04:00
Milan Sreckovic
e3cd0a3157
Bug 1387514: Upgrade BaseRect (derived classes) width and height direct member variable use to instead use Width()/SetWidth() and Height()/SetHeight() in .cpp files in gfx/*. r=milan
...
MozReview-Commit-ID: 1jESowJKdyp
--HG--
extra : rebase_source : 3839cdea46729a9af05c777215cffcb9f42a2018
2017-08-14 08:29:28 -04:00
Ryan Hunt
017d292cac
Bug 1382128 part 2 - Remove WrPoint, WrSize, WrRect, WrMatrix, and WrColor. r=kats
...
MozReview-Commit-ID: 9koNScu4CyE
--HG--
extra : rebase_source : 68185e949ddf2ae346a5d597d056a7f2d9ea7a28
2017-07-18 18:32:46 -04:00
Ryan Hunt
3f3cb0a954
Bug 1382128 part 1 - Use a namespace in webrender_bindings. r=kats
...
MozReview-Commit-ID: 3JTMa9Ix5S7
--HG--
extra : rebase_source : 0bea14d9e395cab260d2db5135b1f64e9f82b2e2
2017-06-27 19:20:36 -04:00
Kartikaya Gupta
dadbddaebf
Bug 1373012 - Log the clip mask indices in the layers dump. r=mstange
...
MozReview-Commit-ID: HmwDyV4Pga0
--HG--
extra : rebase_source : 963247be723a175f535b060ab5855390ed4e5df0
2017-06-14 15:18:16 -04:00
Kartikaya Gupta
2c6ff0ad8b
Bug 1368487
- Add some default-disabled logging functionality to WebRenderAPI.cpp r=jrmuizel
...
MozReview-Commit-ID: DAqeAEyjCTm
2017-05-29 11:40:49 -04:00
Kartikaya Gupta
29bcb40e01
Bug 1367870 - Add stringification helper for WrRect. r=jrmuizel
...
MozReview-Commit-ID: FMw6tPI2LOJ
2017-05-25 17:49:30 -04:00
Kartikaya Gupta
cbaaff5376
Bug 1367870 - Remove unused logging function bodies. r=jrmuizel
...
Both nsIntPoint and IntRect are specializations of template classes (BasePoint
and BaseRect) that are already covered by the corresponding template methods
in LayersLogging.h. Therefore these methods are not needed (and in fact are not
listed separately in LayersLogging.h).
MozReview-Commit-ID: BIZAOFfWCfI
2017-05-25 17:49:23 -04:00
Tom Tromey
d2667a2b27
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Andrew Osmond
48eeda9e2c
Bug 1331938 - Part 2. Add SourceSurfaceSharedData, a shared data backed DataSourceSurface. r=nical
2017-01-18 10:12:32 -05:00
Sotaro Ikeda
92926a0f41
Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical
2016-11-15 22:01:30 -08:00
Matt Woodrow
4d0b10822d
Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro
2016-10-27 13:17:10 +13:00
Jonathan Watt
03036022ec
Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas
2016-05-25 17:01:18 +01:00
Botond Ballo
0702a1f217
Bug 1267438 - Group ScrollMetadata's optional clip rect and mask layer index into a LayerClip structure. r=mstange
...
MozReview-Commit-ID: 6W0GZYkioov
--HG--
extra : rebase_source : f99b4c8bd571fd82ddd7e6121caac57b13c380f7
extra : source : b802e4ef209948f307565f2ba750b2fbd340bcb6
extra : histedit_source : 016fe1d78bde06feeb483446fdfb508448573d72
2016-04-29 16:14:21 -04:00
Botond Ballo
80791b18a4
Bug 1267470 - Move more fields from FrameMetrics to ScrollMetadata. r=kats
...
MozReview-Commit-ID: zxtt1NNcDe
--HG--
extra : rebase_source : 65cdc94615ccbb51901e8c4ac086987ff2183719
2016-04-27 16:06:34 -04:00
Kartikaya Gupta
a333c6e537
Bug 1257641 - Use empty transactions to carry scroll offset updates to APZ that don't require a repaint. r=mattwoodrow,mstange,botond
...
MozReview-Commit-ID: KNeGSKldmp7
2016-04-13 10:21:13 -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
Jean-Yves Avenard
0f2fbc9d88
Bug 1248323: P1. Add support for YUV422 IOSurface. r=nical
...
Those are really UYVY 16bpp surface.
MozReview-Commit-ID: DWkqrF6Norj
--HG--
extra : rebase_source : 479500af560f61a3f6b6c4c3b0f64aeb92438a9a
2016-02-23 13:26:27 +11:00
Nicholas Nethercote
702fb54dd6
Bug 1239864 (part 5) - Use the new rect iterators in gfx/. r=nical.
...
--HG--
extra : rebase_source : bed24467918b4a12837e37d6f7f15c42f20b0b6a
2016-01-18 17:20:58 -08:00
Kartikaya Gupta
032da3cd95
Bug 1231245 - Fix logging of Matrix4x4. r=botond
...
--HG--
extra : commitid : 8HOiKPqHaLA
2015-12-09 11:03:21 -05:00
Nicolas Silva
a3f38d948e
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02: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
2eea103a37
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02: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
Nicolas Silva
943fe8686e
Bug 1200595 - D3D11 TextureData implementation. r=Bas
2015-10-15 17:53:37 +02:00
Nicholas Nethercote
a34d272e2b
Bug 1209812 (part 3) - Rename SurfaceFormat::R5G6B5 as R5G6B5_UINT16. r=Bas.
...
--HG--
extra : rebase_source : 1efcfb2522e823e55b5c7b77531a9d2c42c49c8b
2015-10-22 23:01:31 -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
Nicholas Nethercote
f904c9c3c8
Bug 1211324 (part 1) - Remove BILINEAR and GAUSSIAN filter constants.
...
These aren't used meaningfully.
2015-10-04 20:05:28 -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
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
Matt Woodrow
7c20977d1c
Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa
2015-08-10 22:04:25 +10:00
Wes Kocher
b822a1fdfc
Backed out 6 changesets (bug 1061525) for mochitest-2 failures in test_BufferedSeek_mp4.html CLOSED TREE
...
Backed out changeset 5e90b9dab7fa (bug 1061525)
Backed out changeset ef5ce3d6412a (bug 1061525)
Backed out changeset 19c8682665a6 (bug 1061525)
Backed out changeset b48d13edb48d (bug 1061525)
Backed out changeset fae6602192a7 (bug 1061525)
Backed out changeset 5dfbd6e73c7a (bug 1061525)
2015-08-03 19:53:33 -07:00
Matt Woodrow
54dc21c8b3
Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa
2015-08-03 17:57:19 -04:00
Andreas Pehrson
a27a5947a8
Bug 1173654 - Part 1: Add logging methods for SurfaceType and ImageFormat. r=Bas
...
--HG--
extra : transplant_source : %11%DF%CFw%EC%B1%03%D9%A8%27I%EEe%05%83%F1%FB%00%DD%AC
2015-07-16 09:29:26 +08: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
Kartikaya Gupta
5d7a94bba3
Bug 1177023 - Log the IsRootContent flag when dumping framemetrics. r=botond
2015-06-24 15:45:46 -07:00
Kartikaya Gupta
bd05613425
Bug 1055557 - Move storage of ZoomConstraints from RemoteContentController to APZCTreeManager. r=botond
2015-06-17 12:32:41 -04:00
Amanda Sambath
e5ab8210f6
Bug 1158120 - Edit include and comments that contained gfxIntSize and nsIntSize. r=nical
2015-05-29 17:01:46 +02:00
Timothy Nikkel
53918bdd59
Bug 1168630. Part 1. Add layers id to hit test node. r=botond
...
When the ancestors of a hit testing node do not have an APZC we will need the layers id of the layer that was hit in order to find the root APZC for that layers id.
2015-05-31 14:44:40 -05:00
David Anderson
bb8d53f35f
Move the APZ scroll frame clip onto FrameMetrics. (bug 1148582 part 3, r=mstange,tn)
2015-05-26 12:40:24 -07:00
Kartikaya Gupta
409a2a923d
Bug 1166942 - Add logging code for gfx::Matrix. r=nical
2015-05-21 09:26:46 -04: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
f8d4cbad76
Bug 1158122 - Remove the remaining occurences of nsIntRect in gfx/layers. r=nical
2015-05-07 11:07:53 +02:00