Nicholas Nethercote
fc9cf6f9d5
Bug 1231888 (follow-up) - Simplify CurrentSurface(). r=jrmuizel.
...
The previous patch in this bug removed two calls to CurrentSurface(), leaving
only one, and that one doesn't need the dx and dy arguments.
--HG--
extra : rebase_source : 52cc3d7a1317ea9f239f59c24a58810ce6669c9f
2016-01-11 16:42:09 -08:00
Bas Schouten
3edd8eed24
Bug 1237375: Add some more extensive debugging information. r=milan
...
--HG--
extra : rebase_source : 8e1bfbc2f58e053e143fcad258974c0c92adb73c
2016-01-08 00:59:06 +01:00
Bas Schouten
b15000805a
Bug 1238028: When D2D 1.0 is not allowed disable D2D completely when not using 1.1. r=jrmuizel
...
--HG--
extra : rebase_source : 2e49dcd71e2ebb61d201285123f677dd3e09f1d8
2016-01-11 00:41:39 +01:00
Nicolas Silva
9fe2c25285
Bug 1235796 - Allow allocating YCbCr textures with Cb/Cr planes bigger than the Y plane. r=jrmuizel
2016-01-08 15:10:27 +01:00
Nicholas Nethercote
fd022a1ff9
Bug 1236802 (part 2) - Remove a dead CurrentSurface() call. r=mattwoodrow.
...
--HG--
extra : rebase_source : 73638b86f45432bfe400b145379c996480879390
2016-01-10 14:05:27 -08:00
Nicholas Nethercote
f13b985259
Bug 1236802 (part 1) - Moz2Dify some blur code a little. r=mattwoodrow.
...
gfxAlphaBoxBlur::GetInsetBlur() can be trivially passed a DrawTarget instead of
a gfxContext.
The patch also removes the DrawTarget parameter from GetBlur() because it can
be obtained from the gfxContext parameter.
--HG--
extra : rebase_source : 52cdd685ed3ecdc11affb05fa5299b0a792231fb
2016-01-10 14:05:26 -08:00
Matt Woodrow
0728cd334f
Bug 1231564 - Don't trigger new composites just to repaint debug overlays. r=BenWa
2016-01-11 15:12:05 +13:00
Matt Woodrow
e767cc440a
Bug 1231564 - Don't take the compositor side layer-tree snapshot until after compositing. r=dvander
2016-01-11 15:11:14 +13: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
Markus Stange
8ac683bf41
Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats
...
--HG--
extra : commitid : 4ucTtILvlFF
extra : rebase_source : dcad143776a653dafccfa9be5633a354fcefced2
2016-01-07 21:09:18 +01:00
Alfredo Yang
869d8facd4
Bug 1224889 - OpenMax IL video decoding for PDM. r=sotaro, r=nical
...
--HG--
extra : rebase_source : 758864e83ac009581bea87b90ba1bc235934ffb7
2016-01-08 06:24:00 -05:00
Botond Ballo
1497a2fe7c
Bug 1236750 - Use strongly-typed matrices to represent layer transforms in APZ code. r=kats
...
--HG--
extra : source : 20dccf6f7b3072e943f11573195559ab5f0c721c
2016-01-04 20:07:54 -05:00
Botond Ballo
b22e5adb20
Bug 1236750 - Add typed getters for layer transform matrices. r=kats
...
--HG--
extra : source : bf19963d10d6cc021092662176845192764f9cf0
2016-01-06 18:56:58 -05:00
Botond Ballo
2a0650a2e9
Bug 1236750 - Add some specialized typedefs of Matrix4x4 to represent layer transform matrices. r=kats
...
Also add a related PixelCastJustification and a utility function.
--HG--
extra : source : 84848983c8f9a79a073fa419f50430212b91d7eb
2016-01-06 18:56:25 -05:00
Botond Ballo
e388e00738
Bug 1236750 - Rename ViewTransform to AsyncTransform. r=kats
...
It's only used to represent async transforms, and making this clear
allows us to replace (in a subsequent change) its conversion operator
to Matrix4x4 with a conversion operator to a specific typed matrix.
--HG--
extra : source : 38b22004c06481c62eb4e7fead64e1ec52603225
2015-12-30 18:24:26 -05:00
Ethan Lin
3fac635eb8
Bug 1235299 - Fix WebGL assertions for copyTexImage2D. r=jgilbert
2016-01-07 18:50:00 +01:00
Chris Peterson
d7f8317f74
Back out 400861eb8c62 (Bug 1236323 - Part 2) for unearthing Skia -Wunreachable-code warnings-as-errors
2016-01-08 00:32:01 -08:00
Chris Peterson
a2a55a8086
Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical
...
gfx/skia/skia/include/gpu/GrTestUtils.h:94:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
gfx/skia/skia/include/gpu/GrTypesPriv.h:181:9 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-11-24 09:39:04 -08:00
Chris Peterson
b94d12b3b4
Bug 1236323 - Part 1: Annotate intentional switch fallthroughs to suppress -Wimplicit-fallthrough warnings in gfx/. r=nical
...
gfx/thebes/gfxFcPlatformFontList.cpp:706:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/thebes/gfxFontconfigFonts.cpp:2183:9: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCG.cpp:812:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
gfx/2d/DrawTargetCairo.cpp:636:5: warning: unannotated fall-through between switch labels [-Wimplicit-fallthrough]
2015-11-24 09:39:04 -08:00
Nicholas Nethercote
ec89bbf7f2
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Tooru Fujisawa
4fac62d240
Bug 382721 - Part 0: Add missing includes and namespaces. r=jrmuizel
2015-09-10 19:24:34 +09:00
Morris Tseng
1ae8baf23c
Bug 917505 - Add WEBGL_compressed_texture_es3 support. r=jgilbert r=smaug
...
--HG--
extra : commitid : 96pBvjbX0be
2016-01-08 10:12:22 +08:00
Kartikaya Gupta
3263b5aa68
Bug 1235994 - For wheel events which may have momentum following them, handle scroll snapping in APZ. r=mstange
...
--HG--
extra : commitid : 1NLmL8uvOSV
2016-01-07 10:39:46 -05:00
Kartikaya Gupta
90c45d819d
Bug 1235994 - Extract a helper function to request a snap to the predicted destination. r=botond
...
--HG--
extra : commitid : 8TlA8EfxbN1
2016-01-07 10:39:13 -05:00
Nicolas Silva
f02f7a61e4
Bug 1221056 - Make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
2016-01-07 11:17:40 +01:00
Nicholas Nethercote
1c8aac359a
Bug 1237448 - Moz2Dify two functions in gfxSurfaceDrawable. r=roc.
...
--HG--
extra : rebase_source : c8189d80a3b18580e967e0907c5ec95956ca3cd0
2016-01-06 18:26:33 -08:00
John Daggett
ade0c810ea
Bug 1157064 - implementation of font-display. r=heycam,khuey
2016-01-07 14:03:05 +09:00
John Daggett
40dd7eed07
Bug 1157064 - font-display descriptor parsing. r=dbaron
2016-01-07 14:02:58 +09: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
Kartikaya Gupta
5e3b5adcf2
Bug 1219352 - Update a couple of bool-setters to take a bool argument. r=botond
...
--HG--
extra : commitid : BSeR1YwEqNy
2016-01-06 20:50:01 -05:00
kearwood
5053ceed98
Bug 1230352
- Update to Oculus SDK 0.8.0,r=vlad
2015-09-22 09:38:28 -04:00
Nicholas Nethercote
4b651d870f
Bug 1231881 - Remove NativeSurfaceType::CAIRO_SURFACE. r=bas.
...
We have both NativeSurfaceType::CAIRO_CONTEXT and
NativeSurfaceType::CAIRO_SURFACE. They both refer to DrawTargets with Cairo
backends. The only reason for having both is so you can call GetNativeSurface()
and get either the |cairo_t*| or the underlying |cairo_surface_t*|.
I argue that this convenience confuses things more than it helps. This patch
removes CAIRO_SURFACE, and adds explicit cairo_get_target() calls where
necessary.
--HG--
extra : rebase_source : 6f1701a8131d854c7f623272182029847876754e
2016-01-05 14:24:08 -08:00
Jean-Yves Avenard
8d672d003f
Bug 1236167: P1. Do not attempt to destroy a non allocated surface. r=nical
2016-01-07 09:30:32 +11:00
Mason Chang
2e3ff601d6
Bug 842894 - Support DirectWrite using the Skia backend. r=bas
2016-01-06 11:35:04 -08:00
Bill McCloskey
871a98516f
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-06 10:22:54 -08:00
Bill McCloskey
e5a4fce1c1
Bug 1236266 - Don't generate invalid empty regions in pixman (r=jmuizelaar)
2016-01-06 10:22:54 -08:00
Ryan VanderMeulen
d051a1eb3c
Merge m-c to inbound. a=merge
2016-01-06 09:50:26 -05:00
Ryan VanderMeulen
1d22ec87d3
Merge inbound to m-c. a=merge
2016-01-06 09:43:47 -05:00
Johan Lorenzo
8612fa1f8c
Backout Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
...
For breaking Firefox OS boot startup (see bug 1237197)
--HG--
extra : commitid : Eoiq2mNqfw9
2016-01-06 14:59:35 +01:00
Nicholas Nethercote
ef979a7523
Bug 1234343 (part 2) - Add a missing GfxMemoryImageReporter::DidAlloc() call. r=Bas.
...
--HG--
extra : rebase_source : 12a3b1cbdb89627ff956bf34021ba88de4e418a9
2016-01-05 18:26:29 -08:00
Nicholas Nethercote
59e6a9ae67
Bug 1234343 (part 1) - Make GfxMemoryImageReporter::sAmount signed. r=Bas.
...
This is so that if it goes negative (due to missing DidAlloc() calls) it shows
up in about:memory as a negative number, rather than a huge positive number.
--HG--
extra : rebase_source : 8022cd5a958f2fa14ff9af26624de8b795e4d4d5
2016-01-05 18:26:17 -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
Nigel Babu
becd126e52
Backed out changeset 38405f32bcbc (bug 1236266)
...
--HG--
extra : commitid : IwCw2YT3aTZ
2016-01-06 14:02:50 +05:30
Nigel Babu
247ba57ebf
Backed out changeset 39aca33612f1 (bug 1236266)
...
--HG--
extra : commitid : AalW5RyEMsG
2016-01-06 14:02:47 +05:30
Bill McCloskey
9a22f96774
Bug 1236266 - Fix up review comment (r=jmuizelaar)
2016-01-05 22:10:40 -08:00
Bill McCloskey
2d5dab22d4
Bug 1236266 - Don't generate invalid empty regions in pixman (r=jmuizelaar)
2016-01-05 21:59:46 -08:00
Bill McCloskey
30155a0988
Bug 1236266 - Use release assert in IPC serialization for regions (r=jmuizelaar)
2016-01-05 21:59:46 -08:00
Bas Schouten
12b9a82473
Bug 1220629 - Part 6: Implement PushLayer/PopLayer API in several wrapper DT types. r=jrmuizel
...
--HG--
extra : rebase_source : 5a421568fa20b23d7ceef71eb58014e29dbc1c76
2016-01-06 00:23:33 +01:00
Bas Schouten
b5ed4b63ba
Bug 1220629 - Part 5: Implement PushLayer/PopLayer API for Direct2D 1.1. r=jrmuizel
...
--HG--
extra : rebase_source : ec545e1bde6741e9bc461b1a6ab966e7b6c9236a
2016-01-06 00:23:29 +01:00
Bas Schouten
e41984d2c7
Bug 1220629 - Part 4: Allow gfxContext to use the native pushlayer implementations based on a pref. r=jrmuizel
...
--HG--
extra : rebase_source : 78f439fd806576f9c4cd55ea49f12a2994e46fc3
2016-01-06 00:04:42 +01:00
Bas Schouten
6b108bc5cb
Bug 1220629 - Part 3: Implement PushLayer/PopLayer API in cairo. r=jrmuizel
...
--HG--
extra : rebase_source : 058ed10659456f59761535f7538ced6df5425aec
2016-01-06 00:04:38 +01:00
Bas Schouten
fd6c57413d
Bug 1220629 - Part 2: Prepare DrawTargetD2D1 for the possibilities of layers existing inside it. r=jrmuizel
...
--HG--
extra : rebase_source : 97685e7ee1e9249dd465bfcee40bd7401f2a6e4e
2016-01-05 09:03:08 +01:00
Bas Schouten
e6f7f09b31
Bug 1220629 - Part 1: Add PushLayer/PopLayer API to DrawTarget baseclass. r=jrmuizel
...
--HG--
extra : rebase_source : 49ad072bc61d9d46c0b5d3fe2797624922f5083c
2016-01-05 09:00:59 +01:00
Nicolas Silva
00e6ef23e8
Bug 1236167 - Don't attempt to take a compositor snapshot if parameters are incorrect. r=jrmuizel
2016-01-06 13:56:00 +01:00
Sotaro Ikeda
22854d8a96
Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical
2016-01-05 20:50:39 -08:00
Nicolas Silva
4d9fc4395b
Bug 1221056 - make the destroy messages for PTexture and PCompositable part of the current transaction when applicable. r=sotaro
2016-01-05 14:03:26 +01: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
401ebce4ed
Bug 1156742 Part 22: Change ScaledFontDWrite to support creation from TrueType Collection data. r=bas
2016-01-05 10:08:58 +00:00
Bob Owen
74de9c73ae
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.
2016-01-05 10:08:58 +00:00
Bob Owen
b24d50e720
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.
2016-01-05 10:08:58 +00:00
Bob Owen
0c7ef20c4d
Bug 1156742 Part 19: Implement GetFontFileData for ScaledFontWin. r=bas
2016-01-05 10:08:58 +00:00
Bob Owen
532eb778ab
Bug 1156742 Part 18: Fix the way we hold custom font data so that they can be recorded with Moz2D. r=bas
2016-01-05 10:08:57 +00:00
Bob Owen
3b91f57af4
Bug 1156742 Part 17: Add virtual destructor to RecorededEvent and fix subsequent crash with DWrite playback fonts. r=bas
2016-01-05 10:08:57 +00:00
Bob Owen
af9224e713
Bug 1156742 Part 16: Add recording and forwarding of Matrix attribute set for Moz2D recording. r=bas
2016-01-05 10:08:57 +00:00
Bob Owen
20e589aec1
Bug 1156742 Part 13: Create a Moz2D PrintTranslator. r=bas
...
A better solution to the ScaledFonts issue comes in Part 24.
2016-01-05 10:08:57 +00:00
Bob Owen
e707786501
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.
2016-01-05 10:08:57 +00:00
Bob Owen
fdd98bfb6b
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.
2016-01-05 10:08:57 +00:00
Bob Owen
b8e80a4a76
Bug 1156742 Part 8: Change gfxWindowsSurface, so that a non-printing surface can be used when recording a print. r=roc
2016-01-05 10:08:57 +00:00
Bob Owen
f35de7e1be
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.
2016-01-05 10:08:57 +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
9536340a3a
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.
2016-01-05 10:08:56 +00:00
Bob Owen
7b7cad771e
Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium
2016-01-05 10:08:56 +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
Bob Owen
b78efb440f
Bug 1234566: Use LoadLibraryA instead of LoadLibrary in some skia Windows code to allow UNICODE to be defined. r=lsalzman
...
Patch already landed upstream on skia in commit 7a897c0f796df0a1c5b4ee5930b29bfed17ad1b4.
2016-01-05 10:08:56 +00:00
Milan Sreckovic
3ebd8ac2fd
Bug 1235858 - Record the time stamp, use it for crash reports. r=botond
2015-12-30 11:47:00 +01:00
Bogdan Postelnicu
c6013bd937
Bug 1228507 - Initialize mBlendOpacity. r=Bas
...
--HG--
extra : rebase_source : d596023a4d50572ef597d9a34772354d25c8fcc9
2015-11-27 00:10:00 -05:00
Nicholas Nethercote
a9f31c44eb
Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
...
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Botond Ballo
b9aee9ebb5
Bug 1194851 - Add helper functions HasDisplayPort() and HasCriticalDisplayPort(). r=kats
...
This makes it clearer whether we're just checking if a displayport exists,
or we're actually consuming its value.
--HG--
extra : source : 70bb222e860669a6cf6e803dbd57f088ca4fbc04
2015-12-16 17:22:23 -05:00
Nicholas Nethercote
06e901cb9f
Bug 1231550 - Use DrawTarget instead of gfxContext and/or nsRenderingContext in many places in font/text code. r=jfkthame.
...
AutoTextRun now only needs a DrawTarget instead of an nsRenderingContext, and
similar nsRenderingContext/gfxContext-to-DrawTarget replacements can be
propagated a long way up the call graph. This patch replaces 93 occurrences of
nsRenderingContext and 135 occurrences of gfxContext with DrawTarget; that's
13% of them.
The patch is mostly plumbing changes. A couple of not-entirely-plumbing
changes:
- It adds a comment about the null check in
gfxGlyphExtents::GetTightGlyphExtentsAppUnits().
- A couple of functions simply had an unused gfxContext or nsRenderingContext
parameter removed, e.g. SetLineBreaks().
--HG--
extra : rebase_source : 8f56994bb4d254a86788b17ab2864ebc758a7e6b
2015-12-15 13:56:41 -08:00
Nicholas Nethercote
cebf4a5bfa
Bug 1228211 (part 2) - Remove unused functions in nsRenderingContext. r=dholbert.
...
The following functions in nsRenderingContext are unused and this patch removes
them: the zero-arg constructor, the |DrawTarget*| constructor, and both Init()
functions.
--HG--
extra : rebase_source : 5e8a5d6eb76b97491de3299409d2d6488ea20613
2015-11-25 14:34:57 -08:00
Milan Sreckovic
0fb767e1f4
Bug 1232231 - BorrowDrawTarget can return nullptr - be ready for it. r=nical
...
--HG--
extra : rebase_source : de5fe177dd405078ba9c370b49b3168a8a51bc29
extra : source : e22122a3bf90033684f1ce762ea29d7e10ae3b93
2016-01-04 09:50:00 -05:00
Nicholas Nethercote
f447bec986
Bug 1233619 (part 2) - Moz2Dify BeginUpdate() and BeginUpdateBackground() functions. r=roc.
...
The only non-trivial change is in BasicPaintedLayer::Validate().
--HG--
extra : rebase_source : 7eed0e384d2d856d918ad025b09e29f796017f51
2015-12-17 19:39:10 -08:00
Nicholas Nethercote
67e5c3ea2c
Bug 1233619 (part 1) - Remove unneeded gfxContext argument from EndUpdate() and EndUpdateBackground() functions. r=roc.
...
--HG--
extra : rebase_source : cc16e7a77d8d60706cd0406c859aece88d7b18c3
2015-12-17 19:39:09 -08:00
Jeff Gilbert
b66e705f39
Bug 1236762 - Simplify locking APIs for SharedSurface. - r=jrmuizel
2016-01-05 15:57:44 -08:00
Wes Kocher
2866425265
Backed out changeset e22122a3bf90 (bug 1232231) for possibly breaking weightmapping-12579.html CLOSED TREE
...
--HG--
extra : commitid : Ht74vrHsG2d
2016-01-05 16:48:49 -08:00
Milan Sreckovic
b657d4b13b
Bug 1232231 - BorrowDrawTarget can return nullptr - be ready for it. r=nical
2016-01-04 09:50:00 -05:00
Milan Sreckovic
ac84b221c9
Bug 1235613 - Make gfxCriticalError/Note strings in gfx/ unique. r=jrmuizel
...
--HG--
extra : transplant_source : %8F%1DcB%3A%25%94%95G%EF%B4U%CE%B9%10%E1%A3%BC%E2%3D
2015-12-29 14:03:58 -05:00
Lee Salzman
5512fbeae7
Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar
2015-12-30 13:39:13 -05:00
Andrea Marchesini
83b88d383f
Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug
2016-01-12 18:16:59 +00:00
Jim Mathies
a849bcad46
Bug 1193055 - Follow up, remove extraneous methods noted in review comments. r=followup
2016-01-12 11:32:12 -06:00
Markus Stange
ebf52b3a75
Bug 1238753 - Don't skip the call to StartRemoteDrawing in from BasicCompositor::BeginFrame if the invalid region is empty. r=mattwoodrow
...
Sometimes we need a composition even if nothing has changed, for example for window resizes on Mac.
LayerManagerComposite::UpdateAndRender() already has a check that skips the call to BasicCompositor
if it's not necessary.
--HG--
extra : commitid : EFN68WKwWyp
extra : rebase_source : 00d8b063d23500b72a7f0c5fb03f5b726a3d5ac9
2016-01-12 13:27:14 +01:00
Markus Stange
c6fb172a65
Bug 1238753 - Make BasicCompositor respect changes to mInvalidRegion through StartRemoteDrawingWithRegion properly. r=mattwoodrow
...
--HG--
extra : commitid : 65tZtDLZZYx
extra : rebase_source : 8caf66555fee511daf0c336b9e8986da383f2704
2016-01-12 13:14:42 +01:00
Markus Stange
e69314a2fd
Bug 1236282 - Clip color layer drawing in BasicCompositor so that unbounded operators don't erase stuff outside the layer. r=Bas
...
The same as bug 1077358, but for BasicCompositor.
--HG--
extra : commitid : 2xE66rOGdFx
extra : rebase_source : 4a81bbee35ae342add1bfca742d99b2c6dd73dcc
2016-01-12 12:47:36 +01:00
Jim Mathies
1c7a623149
Bug 1193055 - Update windowed plugin visibility in response to apz scroll in the chrome process vs. relying on a full round trip through content. Reduces lag in windowed plugin updates. r=kats
2016-01-12 11:05:58 -06:00
Kartikaya Gupta
e2bc5dfde1
Bug 1193055 - Only fire TransformBegin/TransformEnd notifications for actual wheel animations. r=botond
2016-01-12 11:05:53 -06:00
Carsten "Tomcat" Book
6692893d20
Backed out changeset 5f6a58676e87 (bug 1231378)
2016-01-12 15:48:57 +01:00
Nicholas Nethercote
3493a38202
Bug 1232822 (part 6) - Move RefCairo() from gfxContext to gfxFont. r=jfkthame.
...
Because gfxContext will one day disappear, and gfxFont seems like a good place
to move it to.
2015-12-15 20:10:04 -08:00
Nicholas Nethercote
16ee19fe3f
Bug 1232822 (part 5) - Moz2Dify GetRoundOffsetsToPixels(). r=jfkthame.
...
Make GetRoundOffsetsToPixel() take a DrawTarget instead of a gfxContext. This
requires moving it into gfxFontShaper. The only change of note within the
function is the use of aDrawTarget->GetTransform().HasNonTranslation() instead
of CurrentMatrix().HasNonTranslation().
2015-12-15 13:56:40 -08:00
Nicholas Nethercote
8dba3aa24f
Bug 1232822 (part 4) - Remove unused argument from SetPotentialLineBreaks(). r=jfkthame.
2015-12-15 13:56:40 -08:00
Nicholas Nethercote
62db02a52f
Bug 1232822 (part 3) - Moz2Dify gfxFont::CalcXScale() and gfxFont::PostShapingFixup(). r=jfkthame.
...
This boils down to these two lines being equivalent:
Size t = aContext->UserToDevice(Size(1.0, 0.0));
Size t = aDrawTarget->GetTransform() * Size(1.0, 0.0);
The rest is just plumbing.
2015-12-15 13:56:40 -08:00
Nicholas Nethercote
52308b4cb3
Bug 1232822 (part 2) - Moz2Dify SetupGlyphExtents(). r=jfkthame.
...
The gfxContextMatrixAutoSaveRestore in SetupGlyphExtents() is now obviously not
needed, and the rest is trivial.
2015-12-15 13:56:40 -08:00
Nicholas Nethercote
2a8e0225ac
Bug 1232822 (part 1) - Moz2Dify SetupCairoFont(). r=jfkthame.
...
This is now trivial.
2015-12-15 13:56:40 -08:00
Nicholas Nethercote
e542083969
Bug 1233605 - Cull some uses of gfxContext. r=dholbert.
...
--HG--
extra : rebase_source : eed590fa5fd806f2ed8d754e139e7dd28a8b52e7
2015-12-17 19:36:09 -08:00
Kearwood (Kip) Gilbert
5b989f37cb
Bug 1235740 - Remove warning for missing Oculus VR Library from terminal output, as it is spammy and not necessary r=dholbert
...
--HG--
extra : rebase_source : 751b010bda82f69c3e700fc0ed2a25bd375ccdc7
2015-12-30 16:26:37 -08:00
Kearwood (Kip) Gilbert
d8849aea49
Bug 1235803 - Remove erroneous assertion r=dholbert
...
- Removed an unnecessary assertion that was erroneously triggering
on shutdown in B2G Mochitests.
--HG--
extra : rebase_source : 1b0d997bf7610fa62d2647f5003edc47d61e3fa6
2015-12-30 14:46:38 -08:00
Mike Hommey
e0c501a1c1
Bug 1235738 - Move MOZ_DEBUG_DEFINES to build frontend. r=gps
...
MOZ_DEBUG_DEFINES are essentially defines used everywhere. So treat them as
feeding the initial value for DEFINES in each moz.build sandbox. This allows
the kind overrides that was done in the past by resetting MOZ_DEBUG_DEFINES
in Makefiles.
2015-12-31 07:27:23 +09:00
Jonathan Kew
9137c3ddf5
Bug 739117 - Avoid bidi-wrapping the text to be shaped if Core Text direction override API is available. r=jdaggett
2015-12-30 20:29:48 +00:00
Lee Salzman
08826ed976
Bug 1234494 - part 1 - don't build in Skia GPU code if support is disabled, r=jrmuizel
2015-12-30 12:17:32 -05:00
Sebastian Hengst
5fb86d302c
Backed out changeset 21607399e25e (bug 1229983) for failing own R(C) test. r=backout
2015-12-30 15:00:44 +01:00
Jean-Yves Avenard
647eadb92b
Bug 1223193: P2. Cancel ImageBridge proxy functions if shutdown has started. r=nical
2015-12-30 16:52:41 +11:00
Jean-Yves Avenard
eb979d623f
Bug 1223193: P1. Make ImageBridgeChild::mShuttingDown atomic. r=nical
2015-12-30 15:13:19 +11:00
Nicolas Silva
d861b1e812
Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas
2015-12-30 13:23:01 +01:00
Bas Schouten
69278658e4
Bug 1227210: Ensure the mask and the surface are in the right space when being blended. r=mattwoodrow
2015-11-26 15:51:49 +01:00
Lee Salzman
cafcefe183
Bug 1229983 - verify that paths are finite in DrawTargetSkia::Stroke/Fill to handle Canvas paths containing infs. r=jmuizelaar
2015-12-16 17:53:11 -05:00
Bas Schouten
e8e3860c44
Bug 1235407 - Part 3: Force a reset when OpenSharedHandle fails. r=milan
2015-12-30 01:30:47 +01:00
Bas Schouten
667d7a5517
Bug 1235407 - Part 2: Add ability to force device resets through gfxWindowsPlatform. r=milan
2015-12-30 01:30:47 +01:00
Bas Schouten
3d1ad5faa9
Bug 1235407 - Part 1: Add telemetry probe to record forced resets. r=milan
2015-12-30 01:30:47 +01:00
Lee Salzman
41802e0eef
Bug 1234419 - remove unnecessary -fkeep-inline-functions from Skia moz.build, r=jrmuizel
2015-12-29 16:20:01 -05:00
Kearwood (Kip) Gilbert
0c83ce5c05
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07:00
Carsten "Tomcat" Book
a04d1679f3
Backed out changeset c1f17f489417 (bug 1176024) for crashes
2015-12-29 14:29:09 +01:00
Nicolas Silva
d0ca78d5be
Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas
2015-12-29 13:05:50 +01:00
Markus Stange
983842c663
Bug 1187322 - Fix bustage.
...
--HG--
extra : commitid : 8apW68WiB8L
2015-12-29 12:13:24 +01:00
Markus Stange
258bcc1298
Bug 1187322 - Don't require accelerated OpenGL contexts for BasicCompositor on OS X. r=jrmuizel
...
--HG--
extra : commitid : D8wNlw49VVb
extra : rebase_source : f0c93866f09de396e835a2920d5db54efe53ffda
extra : amend_source : 7ed5dda1bd555ecc353137bfc9b00b10992a86a1
2015-12-23 16:22:55 +01:00
Jonathan Kew
722e5d85bf
Backed out changeset a7c9fc3f1701 (bug 739117) for unexpected Core Text crashes.
2015-12-29 09:08:24 +00:00
Sotaro Ikeda
6247e12af2
Bug 1205713 - Merge ImageHostOverlay/ImageClientOverlay to ImageHost/ImageClient r=nical
2015-12-29 01:07:33 -08:00
Jonathan Kew
f90087f1fa
Bug 739117 - Avoid bidi-wrapping the text to be shaped if Core Text direction override API is available. r=jdaggett
2015-12-29 08:23:28 +00:00
Phil Ringnalda
46ab91d7db
Bug 1226751 - Remove 358732-* crashtests, since they only race between not testing anything and accidentally setting and leaving a non-default font zoom, breaking later tests
...
--HG--
extra : rebase_source : d8314dd0166f5217355fe1daafdcd85b77f7effb
2015-12-28 20:41:46 -08:00
Xidorn Quan
7d9b6c8298
Bug 1234418 - Not trust glyph run starts from a cluster start character. r=jfkthame
...
--HG--
extra : source : f5014f1b1a5b7cda0c2631aef7b3f2480b0f42ed
2015-12-29 10:52:06 +11:00
Wes Kocher
35c7e42d9d
Backed out changeset 3242bee2d956 (bug 1234418) for windows build bustage
...
--HG--
extra : commitid : FtpnZwAEEIm
2015-12-28 15:32:12 -08:00
Xidorn Quan
845f0ba847
Bug 1234418 - Not trust glyph run starts from a cluster start character. r=jfkthame
...
--HG--
extra : source : 9c199fbc892dd5712454f0efbcb286c9fc03ff00
2015-12-29 09:48:37 +11:00
Xidorn Quan
3549505a7d
Bug 1195788 - Set arithmetic composite clamp to true for D2D filter node. r=bas
...
--HG--
extra : source : 143122bf7036ee754e587fc99a049078d34eb936
2015-12-29 09:48:37 +11:00
Carsten "Tomcat" Book
6e689a3d75
Backed out changeset d569d015069d (bug 1176024) for crashes
2015-12-28 12:07:16 +01:00
Nicolas Silva
04ccc28a85
Bug 1176024 - Have TextureClient::Lock check that it can expose a DrawTarget when it makes sense. r=Bas
2015-12-28 10:46:25 +01:00
Kartikaya Gupta
bda9903434
Bug 1234950 - When advancing APZ animations, use the next vsync timestamp instead of the current one, since that is what will be composited. r=mstange
...
--HG--
extra : commitid : 7dGwaW6JsJE
2015-12-27 10:20:40 -05:00
Kartikaya Gupta
76cc51b1d0
Bug 1234950 - Advance APZ animations after updating the layer shadow transforms, rather than before. r=mstange
...
--HG--
extra : commitid : IrI8bVaN0gp
2015-12-27 10:20:40 -05:00
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