Sebastian Hengst
1eb13214bf
Backed out 2 changesets (bug 1224374) for Windows bustage. r=bustage on a CLOSED TREE
...
Backed out changeset 5f458e6e4997 (bug 1224374)
Backed out changeset 0dc02cb0b604 (bug 1224374)
2016-01-19 21:30:41 +01:00
David Rajchenbach-Teller
e50137d33c
Bug 1224374 - Profiler labels for the top 26-100 chrome hangs;r=BenWa
2016-01-15 11:38:03 +01:00
Nicolas Silva
8138e54f00
Bug 1180942 - Use cairo's image backend for drawing on linux. r=jrmuizel
2016-01-19 18:36:36 +01:00
Chris Peterson
95e277e199
Bug 1236323 - Part 2: Suppress -Wimplicit-fallthrough warnings in gfx/ from Skia header files. r=nical
2016-01-08 00:43:58 -08:00
Kartikaya Gupta
164034b2d5
Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
2016-01-15 16:19:58 -05:00
Milan Sreckovic
4e4e2e2c52
Bug 1237770: Disable D3D9 on XP with E10S. r=jrmuizel
2016-01-13 12:10:51 -05:00
Jonathan Kew
fc4f40d01b
Bug 1228540 - pt 2 - Remove our HBGetGlyphHOrigin callback, as the default behavior is sufficient. r=jdaggett
2016-01-15 08:45:31 +00:00
John Daggett
d1fac499a5
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
4dd69574b8
Bug 1212731 p1 - move GetSampleLangForGroup into base class. r=m_kato
2016-01-15 16:33:51 +09:00
John Daggett
907e85145b
Bug 1239603 - don't reject format 12 cmap with odd encoding. r=jfkthame
...
This fixes an issue affecting the use of Big Caslon under OSX which uses an improperly labeled format12 cmap with platform=0/encoding=1. Technically, a Unicode 1.1 encoding implies a font that's not entirely compatible with more recent versions of Unicode (e.g. Hangul range is different). But since this seems to be simply a font error and not a real problem for format12 cmaps, ignore this inconsistency.
2016-01-15 09:44:13 +09:00
Jan de Mooij
b435184515
Bug 1237201 part 2 - Handle Vector OOM in gfx/. r=jrmuizel,kats
2016-01-14 15:19:16 +01:00
Sotaro Ikeda
0a08d88b1c
Bug 1237914
- Remove layers.screen-recording.enabled r=mwu
2016-01-13 20:45:57 -08:00
Nigel Babu
131389b9e4
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)
2016-01-14 08:33:11 +05:30
Kartikaya Gupta
d94c51d7a4
Bug 1226826 - Add a CheckerboardEvent class to record stuff when checkerboarding happens. r=botond
2016-01-13 15:46:07 -05:00
Jonathan Kew
5d8aeb6596
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
Carsten "Tomcat" Book
2172fb0e4a
Merge mozilla-central to mozilla-inbound
2016-01-13 11:58:27 +01:00
Carsten "Tomcat" Book
ad37b66604
merge mozilla-inbound to mozilla-central a=merge
2016-01-13 11:57:15 +01:00
Carsten "Tomcat" Book
dea50a5d3d
Merge mozilla-central to fx-team
2016-01-12 11:57:10 +01:00
Jamie Nicol
606743784d
Bug 1223144 - Scale texture coordinates in CompositorOGL for non POT textures. r=mwoodrow
2016-01-11 11:14:07 +00:00
Nicholas Nethercote
e31c9366c0
Bug 1231888 - Remove AutoCairoPixmanBugWorkaround. r=jrmuizel.
2016-01-11 16:11:57 -08:00
Nicholas Nethercote
4da09b737e
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.
2016-01-10 16:48:55 -08:00
Nicholas Nethercote
76d2379a46
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.
2016-01-10 16:48:52 -08:00
Nicholas Nethercote
455d67b52a
Bug 1238438 (part 1) - Remove dead function gfxUtils::PathFromRegion(). r=nical.
2016-01-10 16:22:52 -08:00
Jonathan Kew
c7277e4b25
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
Nicholas Nethercote
901b47d024
Bug 1238846 (part 2) - Remove gfxContext::mOriginalDT, which is unused. r=mattwoodrow.
2016-01-12 13:42:02 -08:00
Nicholas Nethercote
6a15b43c39
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.
2016-01-11 16:42:09 -08:00
Bas Schouten
18c193b4f5
Bug 1238028: When D2D 1.0 is not allowed disable D2D completely when not using 1.1. r=jrmuizel
2016-01-11 00:41:39 +01:00
Nicholas Nethercote
7a5ea55179
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.
2016-01-10 14:05:26 -08:00
Nicholas Nethercote
56a7e0fc70
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.
2016-01-07 20:57:38 -08:00
Markus Stange
6b5da94bb9
Bug 1199468 - Create prefs for the smooth scroll timing function shape. r=kats
2016-01-07 21:09:18 +01:00
Chris Peterson
beb38f7394
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
3f27125386
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
3d522605c3
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
4676f038a8
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Nicholas Nethercote
93954c03fe
Bug 1237448 - Moz2Dify two functions in gfxSurfaceDrawable. r=roc.
2016-01-06 18:26:33 -08:00
John Daggett
fdc20b64e0
Bug 1157064 - implementation of font-display. r=heycam,khuey
2016-01-07 14:03:05 +09:00
John Daggett
bb31e75a7b
Bug 1157064 - font-display descriptor parsing. r=dbaron
2016-01-07 14:02:58 +09:00
Nicholas Nethercote
efe71ca38d
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.
2016-01-05 14:24:08 -08:00
Mason Chang
eab83228e1
Bug 842894 - Support DirectWrite using the Skia backend. r=bas
2016-01-06 11:35:04 -08:00
Bas Schouten
926a0fbc66
Bug 1220629 - Part 4: Allow gfxContext to use the native pushlayer implementations based on a pref. r=jrmuizel
2016-01-06 00:04:42 +01:00
Bas Schouten
1b6d2e4c03
Bug 1220629 - Part 3: Implement PushLayer/PopLayer API in cairo. r=jrmuizel
2016-01-06 00:04:38 +01:00
Bob Owen
35fddb564b
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
f9d5f93efb
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
f6f09bc881
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
1bd4995588
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
ec56016d9c
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
Milan Sreckovic
04aa8244ba
Bug 1235858 - Record the time stamp, use it for crash reports. r=botond
2015-12-30 11:47:00 +01:00
Bogdan Postelnicu
4c7f3eec62
Bug 1228507 - Initialize mBlendOpacity. r=Bas
2015-11-27 00:10:00 -05:00
Nicholas Nethercote
8c877dc5ab
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().
2015-12-15 13:56:41 -08:00
Milan Sreckovic
80aea93673
Bug 1235613 - Make gfxCriticalError/Note strings in gfx/ unique. r=jrmuizel
2015-12-29 14:03:58 -05:00