Commit Graph

20926 Commits

Author SHA1 Message Date
Markus Stange
e40139b856 Bug 1235223 - Fix typos in layers history document.
--HG--
extra : commitid : 45SVimxbmjv
2015-12-27 11:41:44 +01:00
Jeff Muizelaar
7e889ff52e Bug 1235223. Update history document. 2015-12-26 18:19:59 -05:00
Bas Schouten
ad65c68987 Bug 1107792: Don't ask for similar if the surface has an error, and more data in crash reports. r=milan
--HG--
extra : commitid : 2BXoALYvMhT
2015-12-24 12:55:36 -05:00
Jim Chen
c601b57208 Bug 1232456 - Renew EGL surface using existing compositor widget; r=snorp
GLContextEGL needs a widget in order to recreate its surface. This patch
adds a widget parameter to RenewSurface so that the compositor can pass
in its widget.
2015-12-23 22:03:35 -05:00
Jim Chen
3dc603713a Bug 1232456 - Create EGL surface through widget; r=snorp
This patch makes GLContextProviderEGL create EGL surfaces through
nsWindow/nsIWidget on Android. nsWindow then calls GLController in Java
to actually create the surface.
2015-12-23 22:03:34 -05:00
Benoit Girard
a0b943f49b No bug - Don't update 'webgl.dxgl.enabled' at runtime.
--HG--
extra : commitid : 88A5aULhAKp
extra : rebase_source : 997ffa2ab857723c42328079ead94cb6c28ed03f
2015-12-23 14:55:22 -05:00
Bogdan Postelnicu
38d278b347 Bug 1232665 - initialize class members: mLastPrefLang and mLastPrefFirstFont. r=jfkthame 2015-12-15 06:58:00 +01:00
Jan Horak
76cccd6b7d Bug 1205643 - "Wrong scrollbar border prevents scrolling to cursor when mouse is on the screen edge". r=karlt 2015-12-22 05:05:00 +01:00
Kartikaya Gupta
20b0a294c6 Bug 1192919 - Follow-up to fix build error with logging enabled. r=me and DONTBUILD
--HG--
extra : commitid : Efxmaxlkgf
2015-12-22 15:12:53 -05:00
Markus Stange
1f10071e5a Bug 1147673 - Relax the ancestor transform assertion a little. r=kats
--HG--
extra : commitid : I0HH6fqUFCN
extra : rebase_source : bc7c6aa6d8cbae1337487fb2d772183fc827daad
extra : amend_source : f65a1cc998ce57cbe314ddc5568a4a3e77c5e31e
2015-12-22 17:06:04 +01:00
Botond Ballo
7aa5896a60 Bug 1147673 - Determine more accurately whether an async transform affects a layer's clip rect. r=kats
--HG--
extra : commitid : 8cSEIbgLUiP
extra : rebase_source : 9a72884f7f86863f39812f380fc12188425aac08
2015-10-02 18:35:21 -04:00
Markus Stange
2765aae43f Bug 1147673 - Unadjust clip before intersecting it with the scroll clip. r=botond
--HG--
extra : commitid : A66MeHC7Cxf
extra : rebase_source : 7a1b5e0a4169198bd5bd767671335fc24345b8ba
2015-10-09 14:30:44 +02:00
Bas Schouten
1dc2c7f65b Bug 1072501: Unmap file mapping on source surface destruction. r=jrmuizel 2015-12-01 16:41:08 +01: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
e4d10bb475 Bug 1156742 Part 22: Change ScaledFontDWrite to support creation from TrueType Collection data. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
957b556822 Bug 1156742 Part 21: Use GetDirect3D11Device instead of DrawTargetD2D::GetDWriteFactory to determine if DWrite fonts should be used. r=Bas
This method will allow for acceleration being disabled through prefs and blacklisting.
2015-12-21 20:33:14 +00:00
Bob Owen
27ff57a6e6 Bug 1156742 Part 20: Move Moz2D PreferenceAccess into its own header. r=bas
This is so we can add a new preference in Part 21, which has nothing to do with logging.
2015-12-21 20:33:14 +00:00
Bob Owen
ff49466165 Bug 1156742 Part 19: Implement GetFontFileData for ScaledFontWin. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
9425bbddb9 Bug 1156742 Part 18: Fix the way we hold custom font data so that they can be recorded with Moz2D. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
f8497152ba Bug 1156742 Part 17: Add virtual destructor to RecorededEvent and fix subsequent crash with DWrite playback fonts. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
1f1916743e Bug 1156742 Part 16: Add recording and forwarding of Matrix attribute set for Moz2D recording. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
982220b6d8 Bug 1156742 Part 13: Create a Moz2D PrintTranslator. r=bas
A better solution to the ScaledFonts issue comes in Part 24.
2015-12-21 20:33:13 +00:00
Bob Owen
661e04ae49 Bug 1156742 Part 12: Record CreateSimilarDrawTarget separately for Moz2D. r=bas
This is so we can create the real print DrawTarget from our nsDeviceContext at the beginning of each page.
Default behaviour for other Translators is still to always use CreateSimilarDrawTarget.
2015-12-21 20:33:13 +00:00
Bob Owen
529a96f97d Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2015-12-21 20:33:13 +00:00
Bob Owen
0a3b8185ed Bug 1156742 Part 8: Change gfxWindowsSurface, so that a non-printing surface can be used when recording a print. r=roc 2015-12-21 20:33:13 +00:00
Bob Owen
8e74e544d2 Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2015-12-21 20:33:13 +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
2ce74bca79 Bug 1156742 Part 3: Add support for FontType::CAIRO to CreateScaledFontForTrueTypeData on Windows. r=bas
Parts of this change and related code get moved around in Part 24.
2015-12-21 20:33:13 +00:00
Bob Owen
477a386eec Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 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
David Anderson
f4833ef55c Remove the TaskThrottler. (bug 1192919 part 6, r=kats)
--HG--
extra : commitid : JuZhed3WCKS
2015-12-21 09:36:36 -05:00
David Anderson
7ac7e59093 Dispatch all APZ repaint requests immediately, and rely on content vsync. (bug 1192919 part 5, r=kats)
--HG--
extra : commitid : DDwJfxBiEGi
2015-12-21 09:36:36 -05:00
David Anderson
bbce6296fd Turn apz.use_paint_duration off. (bug 1192919 part 4, r=kats)
--HG--
extra : commitid : 9gfykJXaFJE
2015-12-21 09:36:36 -05:00
David Anderson
dd65d500c0 Force a paint to be scheduled for scroll info layers. (bug 1192919 part 3, r=kats)
--HG--
extra : commitid : 7wNzQZB1MQ8
2015-12-21 09:36:36 -05:00
David Anderson
c300f85389 Minimize the displayport for frames that must animate synchronously. (bug 1192919 part 2, r=kats)
--HG--
extra : commitid : KOesBg1UbmW
2015-12-21 09:36:36 -05: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
Milan Sreckovic
9ac3b8bc44 Bug 1230740 - wallpaper patch for a missing nullptr scenario. r=bas 2015-12-14 13:11:00 +01:00
Jeff Muizelaar
da469b9391 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 17:05:42 -05:00
Wes Kocher
aacaab5baa Backed out changeset cdc2bfed4faa (bug 1218881) for static build bustage CLOSED TREE 2015-12-18 12:43:42 -08:00
Jeff Muizelaar
62b6b77c10 Bug 1218881. Enforce queries' new availability semantics. r=jgilbert
This adds a Runnable that we dispatch to the event loop so that we can make
sure queries don't become available before they are supposed to.
2015-12-18 14:40:08 -05:00
Lee Salzman
8f5cdef8ad Bug 1082598 - Part 8: Fix OpenGL interface glue for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
0f49d90f68 Bug 1082598 - Part 7: Update moz.build for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
b842645aab Bug 1082598 - Part 6: Fix layers for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
9692cfae0a Bug 1082598 - Part 4: Workaround for naming conflict in unified sources for Skia and thebes DWrite fonts. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
2e90fd5bee Bug 1082598 - Part 3: Fix thebes gfxPlatform shutdown for Skia. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
f9d4573bec Bug 1082598 - Part 2: Fix Moz2D Skia usage for Skia update. r=jrmuizel 2015-12-18 13:53:25 -05:00
Lee Salzman
231d83f99e Bug 1082598 - Part 1: Update Skia to master revision 53c5d5fb795fe04bec050c0583223027c25b839b. r=jrmuizel 2015-12-18 13:53:25 -05:00
Mason Chang
205a7b8ebb Bug 1233576. Ensure vsync timestamps are monotonic on Windows 10. r=kats 2015-12-18 08:32:21 -08:00