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