Kartikaya Gupta
b69694c595
Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond
...
--HG--
extra : commitid : fxWNeD2mNi
2016-01-15 16:19:58 -05:00
Kartikaya Gupta
c949f8717d
Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
...
--HG--
extra : commitid : 4pZujPb0crW
2016-01-15 16:19:58 -05:00
Nicholas Nethercote
7892cfcede
Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
...
--HG--
extra : rebase_source : b5bd2d6822904a188242efa6e46aaed9f96a15b9
2015-12-02 22:29:54 -08:00
Sebastian Hengst
5ed749fe2b
Backed out changeset a6a59129ac7c (bug 1239288) for GTest failures. r=bustage
2016-01-14 22:31:09 +01:00
Milan Sreckovic
7f0a479d45
Bug 1237770: Disable D3D9 on XP with E10S. r=jrmuizel
...
--HG--
extra : rebase_source : a443be7043c0d1c170d29e0c9a70eb978ba12030
2016-01-13 12:10:51 -05:00
Jonathan Kew
7e3bfd83c4
Bug 1228540 - pt 2 - Remove our HBGetGlyphHOrigin callback, as the default behavior is sufficient. r=jdaggett
2016-01-15 08:45:31 +00:00
Jonathan Kew
2ede382f0a
Bug 1228540 - Update harfbuzz to release 1.1.3. r=jdaggett
2016-01-15 08:44:41 +00:00
John Daggett
bbaa509596
Bug 1212731 p2 - add system font cascade to fontlist for -apple-system generic. r=m_kato
2016-01-15 16:33:51 +09:00
John Daggett
26be2bed4f
Bug 1212731 p1 - move GetSampleLangForGroup into base class. r=m_kato
2016-01-15 16:33:51 +09:00
Jan de Mooij
98f91b82f9
Bug 1237201 part 2 - Handle Vector OOM in gfx/. r=jrmuizel,kats
2016-01-14 15:19:16 +01:00
Nicolas Silva
16d7354108
Bug 1239288 - Add a shutdown test to the gfx job scheduler. r=jrmuizel
2016-01-14 13:34:46 +01:00
Boris Chiou
deee95a0d8
Bug 1214536 - Part 7: Rename AnimationTiming as TimingParams. r=birtles, r=smaug
...
1. struct AnimationTiming -> struct TimingParams
2. AnimationEffectReadOnly::TimingAsObject() -> AnimationEffectReadOnly::Timing()
3. KeyframeEffectReadOnly::Timing() -> KeyframeEffectReadOnly::SpecifiedTiming()
2016-01-13 18:41:00 +01:00
Boris Chiou
71cff999e0
Bug 1214536 - Part 4: Use OwingUnrestrictedDoubleOrString for duration. r=birtles
...
We store the original value of duration in AnimationTiming, and add
computed duration in ComputedTiming, so both the Timing model and
AnimationEffectTimingReadOnly can get what they want.
By the way, replace mIterationDuration with mDuration.
--HG--
extra : rebase_source : f8e1fd648572e6d7b1cbecc2ac1888a2f74bbc7e
2016-01-13 18:36:00 +01:00
Boris Chiou
76f7e5a44e
Bug 1214536 - Part 3: Store the original value of fill. r=birtles
...
FillMode could be 'auto', and we should treat it as 'none' in the timing model.
However, AnimationEffectTimingReadOnly should get its original value.
By the way, replace mFillMode with mFill.
--HG--
extra : rebase_source : 5a397dd7fbb22ac76fe96003d82d097e398852c7
2016-01-13 18:36:00 +01:00
Boris Chiou
b0c41b12ec
Bug 1214536 - Part 2: Replace mIterationCount in layers::Animation. r=birtles
...
Replace mIterationCount with mIterations.
--HG--
extra : rebase_source : 2aa326be768d3326d56e689d6c45ca9d6439c3bc
2015-12-27 18:51:00 +01:00
Boris Chiou
44cb5bee0a
Bug 1214536 - Part 1: Use unrestricted double for iterations. r=birtles
...
We want to store the original value from KeyframeEffectOptions whose
iterations is unrestricted double. Therefore, we can get the original value
of iterations by AnimationEffectTimingReadOnly.
By the way, replace mIterationCount with mIterations.
--HG--
extra : rebase_source : da2953056031079c41273ed977545dc926e1b83c
2016-01-10 18:41:00 +01:00
Sotaro Ikeda
e6486fd6be
Bug 1237914
- Remove layers.screen-recording.enabled r=mwu
2016-01-13 20:45:57 -08: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
Nicholas Nethercote
cac93d89a3
Bug 1239225 - Remove unused args from TextureImage's constructor and related functions. r=mattwoodrow.
2016-01-12 23:10:56 -08:00
Wes Kocher
e125261ad0
Backed out changeset 15145a32cd19 (bug 1231042) for b2g reftest bustage
...
--HG--
extra : commitid : Loy7lXlfDiR
2016-01-13 12:57:45 -08:00
Lee Salzman
b4185d3bf2
Bug 1230096 - fix GrAAConvexTessellator assertion. r=jrmuizel
2016-01-13 15:34:06 -05:00
Kartikaya Gupta
eef30edf04
Bug 1226826 - Record if painted displayport updates were due to repaints from the relevant layer tree or not. r=botond
...
--HG--
extra : commitid : JtQqmhK6am
2016-01-13 15:46:08 -05:00
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
Kartikaya Gupta
513fc40715
Bug 1226826 - Record velocity at point of displayport request in checkerboard event. r=botond
...
--HG--
extra : commitid : GMMutH1gDQ
2016-01-13 15:46:08 -05:00
Kartikaya Gupta
5a5194fe12
Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
...
--HG--
extra : commitid : 8XwlRtYdRp1
2016-01-13 15:46:07 -05:00
Kartikaya Gupta
ad971d5294
Bug 1239385
- Use correct coordinate system when computing the amount to scroll during a pinch r=botond
2016-01-13 14:44:47 -06:00
Nathan Froyd
b83566b4a1
Bug 1222166 - use gcc/clang warning flags for clang-cl in moz.build files; r=glandium
...
This patch turns off a number of gcc/clang-specific warnings for
clang-cl as well, as clang-cl understands all the warning flags that
clang understands. We currently don't turn on all the gcc/clang
warnings for clang-cl in configure, but that can be done separately, and
this patch addresses some pain points (particularly for cairo).
2015-11-05 16:05:26 -05:00
Lee Salzman
4da9ad5af4
Bug 1233966 - build fixes for FreeBSD. r=jrmuizel
2016-01-13 13:22:21 -05:00
JerryShih
f691273efc
Bug 1231042 - clean current composition task and related flag when screen off. r=hshih
...
--HG--
extra : rebase_source : c298845ec4d25b4398751b57d68ef653a93e3687
2016-01-12 23:15:00 +01:00
Jonathan Kew
06f42574aa
Bug 724538 - When ICU is available in the build, replace most of nsCharProps2 fields with ICU property accessors. r=emk
2016-01-13 15:45:22 +00:00
Edwin Flores
aad959626e
Bug 1199923 - Work around Intel Linux driver lying about max texture size - r=jgilbert
2016-01-13 11:28:05 +00:00
Carsten "Tomcat" Book
8bb4e16a15
Merge mozilla-central to mozilla-inbound
2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
d833f9ba1a
merge mozilla-inbound to mozilla-central a=merge
2016-01-13 11:57:15 +01:00
Markus Stange
cff5b29209
Bug 1239137 - Return early from BasicCompositor::DrawQuad if transformBounds is empty. r=mattwoodrow
...
--HG--
extra : rebase_source : 41045234d2f2890c8178d68d37f3ceffd10402b3
2016-01-13 00:13:20 +01:00
Nicolas Silva
de559d8b96
Bug 1238015 - Make sure PTexture actors are destroyed after all messages referring to them are sent. r=sotaro
2016-01-13 10:28:13 +01:00
Nicolas Silva
1c55a202bb
Bug 1238743 - remove a bogus assertion in TextureClient.cpp. r=kats
2016-01-12 16:00:24 +01:00
Carsten "Tomcat" Book
eb879b9526
Merge mozilla-central to fx-team
2016-01-12 11:57:10 +01:00
Bas Schouten
b3027878ab
Bug 1238328: Purge stored command lists by calling EndDraw/BeginDraw on a regular basis when they're used. r=jrmuizel
...
--HG--
extra : rebase_source : 5041fa82907837c50e657c87afeda85be40b25d7
2016-01-11 16:38:10 +01:00
Matt Woodrow
2bfff9fd80
Bug 1234047 - Always reuse an existing TextureClient in IMFYCbCrImage if one exist. r=Bas
2016-01-12 18:08:21 +13:00
Jamie Nicol
04eef55482
Bug 1223144 - Scale texture coordinates in CompositorOGL for non POT textures. r=mwoodrow
2016-01-11 11:14:07 +00:00
Phil Ringnalda
be425f27a9
Back out f137a421233f (bug 1234441) for build bustage
...
CLOSED TREE
2016-01-11 19:32:02 -08:00
Jeff Gilbert
dfd883b2e9
Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel
2016-01-07 16:59:56 -08:00
Nicholas Nethercote
6eb3a99296
Bug 1231888 - Remove AutoCairoPixmanBugWorkaround. r=jrmuizel.
2016-01-11 16:11:57 -08:00
Randall Barker
ed071f6c7e
Bug 1229752 - When C++ APZ scroll offset diverges from the Gecko scroll offset, it is not being applied properly to the event position r=botond,tnikkel
2016-01-11 16:06:14 -08:00
Nicholas Nethercote
23b425f2f7
Bug 1238438 (part 3) - Inline both PathFromRegionInternal() functions. r=nical.
...
They both have a single call site, so aren't worth being in separate functions.
--HG--
extra : rebase_source : 09961affe0902cfd44448b75445438d9900a0942
2016-01-10 16:48:55 -08:00
Nicholas Nethercote
c58fca74ef
Bug 1238438 (part 2) - Inline both ClipToRegionInternal() functions. r=nical.
...
They both have a single call site, so aren't worth being in separate functions.
--HG--
extra : rebase_source : 08dcc7ef2b98bb6111c65a000ac0362c8594f952
2016-01-10 16:48:52 -08:00
Nicholas Nethercote
cea9bf8509
Bug 1238438 (part 1) - Remove dead function gfxUtils::PathFromRegion(). r=nical.
...
--HG--
extra : rebase_source : b3757881f46b9b4902ce6c7c1071844c040c0e62
2016-01-10 16:22:52 -08:00
Jonathan Kew
46b5136c09
Bug 890156 - patch 6 - Update window placement code to work with desktop pixels, for per-monitor DPI support on Windows. r=emk
2015-12-03 13:19:50 +00:00
Jonathan Kew
925e9cfb7f
Bug 890156 - patch 3 - Remove gfxWindowsPlatform::GetDPIScale and replace it with methods in WinUtils, ready for per-monitor DPI support. r=emk
2015-12-02 15:09:29 +00:00
Jonathan Kew
84b8c3a0a4
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Nicholas Nethercote
b003fbc631
Bug 1238846 (part 2) - Remove gfxContext::mOriginalDT, which is unused. r=mattwoodrow.
...
--HG--
extra : rebase_source : 0709544d8596fd368be2b4db5395322726fe57b6
2016-01-12 13:42:02 -08:00
Jeff Gilbert
55ca464707
Bug 1234441 - Allow malformed ESSL version string. - r=jrmuizel
2016-01-12 16:45:06 -08:00
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