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
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
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
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
Mason Chang
2e3ff601d6
Bug 842894 - Support DirectWrite using the Skia backend. r=bas
2016-01-06 11:35:04 -08: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
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
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
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
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
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
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
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
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
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
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
Kearwood (Kip) Gilbert
0c83ce5c05
Bug 1182048 - Part 2: Implement e10s support for WebVR,r=vlad
2015-09-17 14:23:13 -07: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
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
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
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
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
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
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
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
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
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
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
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
Mason Chang
205a7b8ebb
Bug 1233576. Ensure vsync timestamps are monotonic on Windows 10. r=kats
2015-12-18 08:32:21 -08:00
Morris Tseng
28c0197533
Bug 1172796 - Part 9: Use gfxPrefs to get webgl.enable-prototype-webgl2. r=jgilbert
...
--HG--
extra : commitid : 3Eh8pRaT6if
2015-12-18 14:52:17 +08:00
Wes Kocher
6ebc8a4b00
Backed out 10 changesets (bug 1082598) for 2d.path.arcTo.shape.curve1.html failures on OSX
...
Backed out changeset 018c2a3031f4 (bug 1082598)
Backed out changeset 8f60e42aca2e (bug 1082598)
Backed out changeset c4297c82165f (bug 1082598)
Backed out changeset c22c1bfd091a (bug 1082598)
Backed out changeset 8754fd718869 (bug 1082598)
Backed out changeset da976e4cd253 (bug 1082598)
Backed out changeset 3c8f87df8c68 (bug 1082598)
Backed out changeset 3183d30eb549 (bug 1082598)
Backed out changeset c239a7bc6cba (bug 1082598)
Backed out changeset aa3805015270 (bug 1082598)
--HG--
extra : commitid : LJSl0Bo8Hqr
2015-12-17 14:30:50 -08:00
Lee Salzman
a3827ec520
Bug 1082598 - Part 4: Workaround for naming conflict in unified sources for Skia and thebes DWrite fonts. r=jrmuizel
2015-12-17 14:45:45 -05:00
Lee Salzman
a773d64f13
Bug 1082598 - Part 3: Fix thebes gfxPlatform shutdown for Skia. r=jrmuizel
2015-12-17 14:45:45 -05:00
David Anderson
8a7ec78385
Force a repaint after DXGI device resets. (bug 1188019, r=bas)
2015-12-17 11:20:08 -08:00
Nathan Froyd
60d8ca5bfc
Bug 1232772 - fix typo causing Windows build bustage; r=me
2015-12-16 17:12:45 -05:00
Nathan Froyd
4094e18ff5
Bug 1233069 - add override declarations to Windows graphics headers; r=Bas
...
This change silences a number of -Winconsistent-missing-override
warnings on clang-cl.
2015-12-16 10:41:21 -05:00
Nicholas Nethercote
a4dc4a929c
Bug 1232576 (part 2) - Rename gfxContext::GetCairo() as GetRefCairo() and make it static. r=jfkthame.
...
This means its callers now need a DrawTarget instead of a gfxContext.
--HG--
extra : rebase_source : 909cbf179cfbffa47fb70f417b2f50b641534a02
2015-12-14 22:26:23 -08:00
Nicholas Nethercote
922099a41a
Bug 1232576 (part 1) - Move the reference |cairo_t*| from gfxContext to DrawTarget (as user data). r=jfkthame.
...
--HG--
extra : rebase_source : 5f4be8b9cb4a24527ee95468239ff6ff26d4a279
2015-12-14 22:23:51 -08:00
Kartikaya Gupta
f5746f61bb
Bug 1231915 - Ignore the APZ pref if MOZ_ANDROID_APZ is enabled, since the pref doesn't cover all the relevant code. r=rbarker
...
--HG--
extra : commitid : FZ846EwVxHJ
2015-12-15 09:17:41 -05:00
Nicholas Nethercote
0a1ca6ebfe
Bug 1231256 (part 4) - Remove dead SetContext() declaration. r=jfkthame.
...
--HG--
extra : rebase_source : f06b122d91c426e655414b27ec4b2e3c2c1ca587
2015-12-07 15:19:56 -08:00
Nicholas Nethercote
5434a4fec1
Bug 1231864 (part 2) - Clean up gfxWindowsNativeDrawing::BeginNativeDrawing(). r=mattwoodrow.
...
This patch inlines the CurrentSurface() and GetDCWithClip() calls in
BeginNativeDrawing(). This allows them to share a single |cairo_t*| and gets
rid of the GetCairo() call in GetDCWithClip(), which was one of those confusing
ones that only made sense if its a Cairo backend.
The patch also inverts the sense of mDeviceOffset, and changes its type from
gfxPoint to Point.
2015-12-14 15:00:08 -08:00
Nicholas Nethercote
7df55cf9f2
Bug 1231864 (part 1) - Remove useless GetCairo() call in gfxWindowsNativeDrawing::BeginNativeDrawing(). r=mattwoodrow.
...
GetCairo() never returns null so testing its result like this is pointless.
2015-12-14 14:59:33 -08:00
Botond Ballo
e3717af9b2
Bug 1230552 - Make immediate scroll handoff for panning prefable. r=kats
...
Immediate handoff is the current behaviour. The alternative is to
only allow a single input block to scroll a single APZC.
--HG--
extra : commitid : J4iuAOn9QAo
extra : rebase_source : 3075d8334b62374697a25d358709dd18e2394836
2015-12-14 14:47:56 -05:00
Kartikaya Gupta
f3df212995
Bug 1232094
- Make some APZ prefs live. r=botond
...
--HG--
extra : commitid : H2xnoEnxo1m
2015-12-14 09:29:02 -05:00
Nicholas Nethercote
45631955a0
Bug 1231889
- Moz2Dify gfxWindowsNativeDrawing::PaintToContext(). r=mattwoodrow.
2015-12-13 14:26:14 -08:00
Kartikaya Gupta
23a4ed497e
Bug 1230611 - Make gfxWindowsPlatform::SupportsApzTouchInput use a pref cache to speed it up. r=dvander
2015-12-11 11:51:53 -05:00
Milan Sreckovic
bf9a6ffcc5
Bug 1219494 - Part 2. gfx/2d and gfxCrash. r=milan
...
* * *
Bug 1219494: Part 3. gfx/thebes, gfx/src and gfxCrash
2015-11-26 08:38:00 +01:00
Jamie Nicol
de618f4222
Bug 1221073 - Increase max tile size to 1024 again. r=mstange
...
Make the heuristic for the tile size aim for > 2 and <= 4 tiles per
screen width, but no larger than 1024. This increases the tile size back
up to 1024 on retina macbooks.
2015-12-08 21:42:43 +00:00
Kartikaya Gupta
d66458bcdc
Bug 1231168 - Disable memory-based displayport size adjustment by default. r=mchang
...
--HG--
extra : commitid : 6bdKkfe8ym2
2015-12-08 14:46:58 -05:00
Bogdan Postelnicu
eb629aa171
Bug 1230929 - modified the logic in order to prvent null pointer dereference. r=jmuizelaar
2015-12-07 07:36:00 +01:00
Jonathan Kew
d7a175fd88
Bug 1230497 - Ignore font fallback in Core Text shaping if it's just for a join-control character. r=jdaggett
2015-12-07 19:22:06 -05:00
Nicholas Nethercote
50a52a2781
Bug 1229662 (part 3) - Remove AzureState::fillRule. r=jrmuizel.
...
AzureState::fillRule is never set to any value other than FILL_WINDING. It can
be removed. Note that TransformedCopyToBuilder() and CopyToBuilder()'s FillRule
arguments both default to FILL_WINDING.
2015-12-06 18:18:00 -08:00
Nicholas Nethercote
b5a3f4e12b
Bug 1229662 (part 2) - Remove AzureState::parentTarget. r=jrmuizel.
2015-12-06 18:17:59 -08:00
Nicholas Nethercote
16d5d92df9
Bug 1229662 (part 1) - Remove AzureState::clipWasReset. r=jrmuizel.
...
AzureState::clipWasReset is never set to any value other than false. It can be
removed.
2015-12-06 18:17:57 -08:00
Nicholas Nethercote
02842898a0
Bug 1230413 (part 3) - Remove unused gfxContext argument from SetSpaceGlyphIfSimple(). r=jfkthame.
...
--HG--
extra : rebase_source : fbd23567601680bd165a72abf1ca6a70f2e3a453
2015-12-06 14:13:25 -08:00
Nicholas Nethercote
4fdc67c5bd
Bug 1230413 (part 2) - Change CallbackData::mContext to a DrawTarget. r=jfkthame.
...
Also remove CallbackData::mShaper, which is unused.
--HG--
extra : rebase_source : 6e25d4fd10b490a7b5c2f772a51b268cb05cb1f6
2015-12-06 14:13:19 -08:00
Milan Sreckovic
b216c58347
Bug 1200021 - Part 3: Add DrawTarget::IsValid and don't let Cairo version snapshot invalid surface. r=bas
2015-12-04 13:43:00 -05:00
Mason Chang
4300e45d71
Bug 1227216. Part 2: Fallback to blur destination rect if a large shadow offset occurs. r=mstange
2015-12-04 11:05:47 -08:00
Mason Chang
380d965bc0
Bug 1227216. Part 1: Only draw surface on inset box shadows if dest and src are equal sizes. r=mstange
2015-12-04 11:05:45 -08:00
Chris Peterson
46bb7c80dd
Bug 1228947 - Replace mfbt/Constants.h with math.h. r=roc
...
--HG--
extra : rebase_source : 4ab2c4a917ea90055e48bd6adcb53904f2266ee0
2015-11-27 20:49:55 -08:00
Jan Beich
814acd7ab8
Bug 1228208 - Make sure ICU flags are prepended before system flags. r=glandium
2015-12-02 09:40:50 +00:00
Botond Ballo
0858698ac3
Bug 1069417 - Generalize Matrix4x4 into Matrix4x4Typed<SourceUnits, TargetUnits>. r=Bas
...
Matrix4x4 remains a typedef for Matrix4x4Typed<UnknownUnits, UnknownUnits>.
No client code needed changing, except for forward-declarations of Matrix4x4
as a class (since it's now a typedef).
--HG--
extra : rebase_source : ecd9470b9defcc55cfb9e7dbd26e928a6219c3e5
extra : source : 0fc99b5490830953f37a4d8769e42dad2d10bc6e
2015-12-02 18:52:00 -05:00
Nicholas Nethercote
8ed95a0919
Bug 1229202
(part 7) - Pass a DrawTarget to gfxXlibNativeRenderer::DrawDirect(). r=mattwoodrow.
...
--HG--
extra : rebase_source : fe221f1bf1d3ef05e33ce01df45d8bf2453a734e
2015-12-02 15:32:17 -08:00
Nicholas Nethercote
adb5b7b913
Bug 1229202
(part 6) - Remove two nasty matrix reinterpret_casts. r=mattwoodrow.
...
--HG--
extra : rebase_source : d79b0204de4edde3e137dec764acdf82fdce828e
2015-12-02 15:32:17 -08:00
Nicholas Nethercote
5ff5757f98
Bug 1229202
(part 5) - Remove an unneeded gfxContextAutoSaveRestore. r=mattwoodrow.
...
--HG--
extra : rebase_source : 3127123405194c07a6e7ff1ca3cfd7f1d60644be
2015-12-02 15:32:16 -08:00
Nicholas Nethercote
757eb4ec8c
Bug 1229202
(part 3) - Make gfxContextAutoDisableSubpixelAntialiasing take a DrawTarget instead of a gfxContext. r=mattwoodrow.
...
--HG--
extra : rebase_source : 63851ac1725451c7607c00b345ce3334ff749246
2015-12-02 15:32:16 -08:00
Nicholas Nethercote
2eecc0595d
Bug 1229202
(part 2) - Remove gfxQuartzSurface::GetCGContextWithClip, which is unused. r=mattwoodrow.
...
--HG--
extra : rebase_source : 5ed2504b54a012cd237893178efe347ad9915647
2015-12-02 15:32:16 -08:00
David Anderson
dc635a03da
Create a D3D11 content device even if D2D is blocked. (bug 1217665 part 11, r=jrmuizel)
...
--HG--
extra : rebase_source : f61be91f3eee43791769b00de1955efe6da36108
2015-12-02 11:31:18 -08:00
David Anderson
b48603c10c
Implement the direct DXGI drawing model for plugins. (bug 1217665 part 7, r=mattwoodrow)
...
--HG--
extra : rebase_source : 8e1322c9ea49fc61226a06ab2e2beea525db0ba8
2015-12-02 11:31:17 -08:00
David Anderson
949bfb8805
Implement the direct bitmap drawing model for plugins. (bug 1217665 part 6, r=mattwoodrow)
...
--HG--
extra : rebase_source : a3243dc38b6033d6dcdaf98d89323b4315efd0f7
2015-12-02 11:31:17 -08:00
David Anderson
55f75a9936
Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz)
...
--HG--
extra : rebase_source : e106bcfe1d671bcff1175b08d47bd8fd2768d64e
2015-12-02 11:31:16 -08:00
Mason Chang
16285cd3eb
Bug 990017. Prevent skia accelerated canvas backends from rendering content. r=jmuizelaar
2015-12-02 09:11:52 -08:00
Mike Hommey
ce9a5909d1
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in gfx/. r=jrmuizel
2015-12-02 11:04:37 +09:00
David Anderson
fa0c646a19
Remove "bad APZ pref" warnings in about:support. (bug 1214170 part 3, r=kats)
...
--HG--
extra : rebase_source : 77bf9992083045c88c96ae688d7dc949cbdceab1
2015-12-01 13:49:01 -08:00
David Anderson
83e664a4cd
Add APZ support for mousewheel.acceleration prefs. (bug 1214170 part 1, r=kats)
...
--HG--
extra : rebase_source : b97121b98c3e42a83135f7e8fa186575b4fbfcb5
2015-12-01 13:45:49 -08:00