Jeff Muizelaar
2080cabf66
Bug 1378953 - Always use unordered_set in DrawEventRecorder. r=lsalzman
...
We always have unordered_set now, and it's closer to what we want.
2017-07-06 16:57:04 -04:00
Jeff Muizelaar
b9527d4f81
Bug 1374900. Replace CopyRecording with direct use of the memory buffer. r=lsalzman
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
8e3a8d7ea1
Bug 1374900. Rewrite DrawEventRecorderMemory to use the MemStream infrastructure. r=lsalzman
2017-06-22 23:55:47 -04:00
Jeff Muizelaar
0442ca87fb
Bug 1367538. Clear user data after we're done with the recorder. r=lsalzman
...
This helps keep us from accumulating all of the recorders.
The basic idea is to track weak references to the SourceSurfaces and Fonts that
we add UserData to in DrawEventRecorderPrivate and then clear these UserData's
when we're done recording.
This adds a RemoveAndDestroy helper to UserData to make this possible.
2017-06-09 14:31:35 -04:00
Jeff Muizelaar
ec4e044d9e
Bug 1360001. Add back some recording helpers. r=bobowen
...
These are only going to be used temporarily while we bring up blob images for
webrender.
2017-05-01 21:58:21 -04:00
Bob Owen
ab1587da50
Bug 1355011: Remove DrawEventRecorderMemory as it can too easily cause OOMs. r=lsalzman
2017-04-11 08:20:41 +01:00
Lee Salzman
7fed4b26a7
Bug 1345815 - fix BasicLayers OOM with recording playback by avoiding copies. r=tobytailor
...
MozReview-Commit-ID: 1r5sOZv0Gp6
2017-03-09 16:08:40 -05:00
Bob Owen
8565d5695d
Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj, r=jimm
2016-11-22 14:06:46 +00:00
Ryan VanderMeulen
21ece8d83a
Backed out changeset a4b0052954d2 (bug 1279699) for causing various crash regressions.
...
--HG--
extra : rebase_source : bf9223381149f34a7b3513eda05fe197ae2db876
2016-12-01 15:25:25 -05:00
Bob Owen
58e9c2a82f
Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj
2016-11-22 14:06:46 +00:00
Bob Owen
1fe62dee68
Bug 1156742 Part 24: Add new Recorded event to record font data. r=bas
...
We create and destroy ScaledFonts for every piece of text we write.
That causes a huge amount of duplicated data within the recording.
This splits out the recording of the font data itself from the ScaledFont.
The key generated to determine uniqueness could probably be fairly easily faked, but for our purposes that doesn't matter.
2016-01-05 10:08:58 +00:00
Bob Owen
c6e61e8846
Bug 1156742 Part 4: Add an in memory DrawEventRecorder. r=bas
2016-01-05 10:08:57 +00:00
Bob Owen
940fb516d4
Bug 1156742 Part 1: Change Moz2D recording, so that it can be used in isolation. r=bas
...
These are mainly changes to make sure we have recorded relevant dependencies to each draw operation.
Where we can't record them on the fly like this, it makes sure the object has originated from our DrawTarget.
2016-01-05 10:08:56 +00:00
Wes Kocher
a5249b6201
Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
...
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Bob Owen
fb35888c83
Bug 1156742 Part 24: Add new Recorded event to record font data. r=bas
...
We create and destroy ScaledFonts for every piece of text we write.
That causes a huge amount of duplicated data within the recording.
This splits out the recording of the font data itself from the ScaledFont.
The key generated to determine uniqueness could probably be fairly easily faked, but for our purposes that doesn't matter.
2015-12-21 20:33:14 +00:00
Bob Owen
e0674961f5
Bug 1156742 Part 4: Add an in memory DrawEventRecorder. r=bas
2015-12-21 20:33:13 +00:00
Bob Owen
c3f67cea48
Bug 1156742 Part 1: Change Moz2D recording, so that it can be used in isolation. r=bas
...
These are mainly changes to make sure we have recorded relevant dependencies to each draw operation.
Where we can't record them on the fly like this, it makes sure the object has originated from our DrawTarget.
2015-12-21 20:33:12 +00: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
Brian Smith
f13c2f6263
Bug 1119072, Part 16: Replace uses of hash_set with unodered_set (gfx), r=bas
...
--HG--
extra : rebase_source : 6fe532f999372f71b7e544231b4727c86aa34d70
2015-01-08 15:42:38 -08:00
Ehsan Akhgari
93ec08d11c
Bug 1050610 - Fix more bad implicit constructors in gfx; r=roc
...
--HG--
extra : rebase_source : 5c6b62dbed81018370ce274e1913620ffb0ff7a2
2014-08-07 21:17:30 -04:00
Ehsan Akhgari
e1b60f2947
Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
...
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Bas Schouten
b50b058b3f
Bug 792207 - Part 4: Add Azure recording code. r=jrmuizel
2012-09-24 15:02:50 +00:00