Commit Graph

5457 Commits

Author SHA1 Message Date
Gregory Szorc
3f5defbd02 Bug 1256552 - Disable C4577 to unblock compilation on VS2015; r=jrmuizel
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.

MozReview-Commit-ID: BNhXxMhJaZh

--HG--
extra : rebase_source : 6d3746d99d0d058716a58f1ed1f0349e09866758
extra : source : cb49a303f86d6446bf1ed87d6e022e72a2ba25c7
2016-03-23 16:39:56 -07:00
Mason Chang
077e669bae Bug 1258778 - Purge the skia glyph cache when receiving a low memory notice. r=erahm 2016-03-23 11:17:02 -07:00
David Anderson
f3dc22db8d Rename PCompositor to PCompositorBridge. (bug 1258479 part 2, r=mattwoodrow)
--HG--
rename : gfx/layers/ipc/CompositorChild.cpp => gfx/layers/ipc/CompositorBridgeChild.cpp
rename : gfx/layers/ipc/CompositorChild.h => gfx/layers/ipc/CompositorBridgeChild.h
rename : gfx/layers/ipc/CompositorParent.cpp => gfx/layers/ipc/CompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorParent.h => gfx/layers/ipc/CompositorBridgeParent.h
2016-03-22 14:08:38 -04:00
Lee Salzman
fc0bd4af21 Bug 1256552 - fix int-to-float conversions in RadialGradientEffectD2D1. r=jrmuizel 2016-03-21 16:17:16 -04:00
Mason Chang
2251651f17 Bug 1239151. Increase skia font cache size to 10mb on non-android platforms. r=lsalzman 2016-03-21 09:08:34 -07:00
Nicolas Silva
bd7973ab2d Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Jonathan Kew
ebf32942b2 Bug 1238243 - Don't filter out Hangul jamo fillers as 'ignorable', because the font may require them to provide advance width. r=xidorn 2016-03-21 07:27:46 +00:00
David Anderson
5827fd8527 Make access to gfxWindowsPlatform D3D11 devices thread-safe. (bug 1258174, r=bas) 2016-03-21 00:14:05 -07:00
Seth Fowler
d8b3579dd9 Bug 1257315 (Part 1) - Add a visualization of visibility tracking to the APZ minimap. r=botond,mattwoodrow 2016-03-18 18:38:57 -07:00
Masatoshi Kimura
71ab75cd8c Bug 1257517 - Restore accidentally-removed zero check for non-default UVS offset. r=jfkthame 2016-03-18 21:43:39 +09:00
Masatoshi Kimura
66f8a469ef Bug 1255973 - Remove redundant overrides from gfxPlatform subclasses. r=jfkthame 2016-03-18 21:43:38 +09:00
Bob Owen
06e48326dd Bug 1257124: Add null check for IDWriteFactory in gfxDWriteFontFileLoader::CreateCustomFontFile. r=bas 2016-03-18 09:53:31 +00:00
Wes Kocher
733e78634f Backed out changeset 93f4eafb8beb (bug 1256693) for media mochitest leaks CLOSED TREE
MozReview-Commit-ID: 1K6kSNA28N9
2016-03-17 15:42:54 -07:00
Nicolas Silva
3d48952156 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
peter chang
2de380f3ba Bug 1254447 - Don't always check UseAcceleratedCanvas when calling GetSkiaGLGlue, r=jrmuizel
MozReview-Commit-ID: 95GY5aGJGK1

--HG--
extra : rebase_source : a6284141f313f62769fdf809f21cb928d7e6df6c
2016-03-16 12:09:17 +08:00
Mike Hommey
0a771514a8 Bug 1256988 - Replace tests on MOZ_WIDGET_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
But only do that for the AC_SUBST. The AC_DEFINE is still useful.
2016-03-17 06:49:44 +09:00
Mike Hommey
f5e10530d9 Bug 1256988 - Fix #endif comments for MOZ_WIDGET_GTK. r=chmanchester 2016-03-17 06:49:44 +09:00
Nicholas Nethercote
a2f068b2ad Bug 1253085 - Remove the |PLDHashTable*| argument from PLDHash{HashKey,MatchEntry}. r=froydnj.
This is easy because it's never needed.

--HG--
extra : rebase_source : 78830dab41c40a1544fa55fc69ca9c1c6709d767
2016-03-16 15:33:44 +11:00
Benoit Girard
a08807e27f Bug 1242609 - Use PeekMessages to get the most recent DisplayPort request. r=kats
MozReview-Commit-ID: K5PTxUqU9E6

--HG--
extra : rebase_source : 6d9e35b27e2fd37c1df513dd856b48c181f3150f
2016-03-14 11:50:55 -04:00
Jeff Gilbert
3bdc12a666 Bug 1255224 - Add pref to force glFinish in DXGL path. (default:false) - r=dvander 2016-03-10 13:17:46 -08:00
Xidorn Quan
1a5d64446b Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : source : e6a45ca0a21666b4e01c217e0bb42772e4dd918f
2016-03-08 15:56:18 +08:00
Xidorn Quan
b3ea3fa801 Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : source : bd88a2e478e23edf1845f724a32fef908c8cc007
2016-03-08 15:56:18 +08:00
Xidorn Quan
ab357753a9 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : source : d14cafc0e378ab7356c32a0b469ed783244aa48b
2016-03-08 15:56:18 +08:00
Kartikaya Gupta
b107477fd5 Bug 1254263 - Add a flag to allow disabling paint-skipping. r=mstange
MozReview-Commit-ID: 4bgvqEZcSWy

--HG--
extra : rebase_source : 3aafaffa34b9e7afba81bbec52793eedb8f425ac
2016-03-07 16:25:00 -05:00
Jonathan Watt
2357eb85f9 Bug 1253094, part 2 - Stop using DebugOnly for class/struct members in gfx/. r=Bas
MozReview-Commit-ID: 7rDHRqNgQqL
2016-02-26 15:52:07 +00:00
Carsten "Tomcat" Book
41a0c1ddb8 Backed out changeset d88221aad093 (bug 1251995) for reftest failures 2016-03-07 12:18:40 +01:00
Carsten "Tomcat" Book
b9f86983b1 Backed out changeset bf004c055beb (bug 1251995) 2016-03-07 12:18:19 +01:00
Carsten "Tomcat" Book
1d0a6281ac Backed out changeset 3f9fbbef0294 (bug 1251995) 2016-03-07 12:18:17 +01:00
Carsten "Tomcat" Book
15a46d77df Backed out changeset 6cacb08f6f5c (bug 1251995) 2016-03-07 12:18:10 +01:00
Xidorn Quan
d0d9fe2a65 Bug 1251995 followup - Fix declaration shadow error. 2016-03-07 17:29:41 +08:00
Xidorn Quan
11bea4b5a2 Bug 1251995 part 3 - Use struct to pass params for gfxTextRun::Draw. r=jfkthame
MozReview-Commit-ID: HAqtS3VXPHH

--HG--
extra : rebase_source : de01c02d3baf3e8c648d6301bd6ff283d76ae212
2016-02-29 19:06:05 +08:00
Xidorn Quan
8e3206382b Bug 1251995 part 2 - Add gfxTextRun::Range to replace parameter pairs like (offset, length) and (start, end). r=jfkthame
Although this makes some places more complicated, code should generally
be simpler and clearer. It could slightly improve performance on x64 for
functions with more than four parameters, since it makes more data be
passed via registers rather than the stack.

MozReview-Commit-ID: D0GM2Jyrr6W

--HG--
extra : rebase_source : 29961e56b5fe14b244046b3dc52b1f922c206218
2016-02-29 16:50:17 +08:00
Xidorn Quan
5b1f34e2f6 Bug 1251995 part 1 - Add helper functions to simplify code. r=jfkthame
MozReview-Commit-ID: 6UBvmEpo12f

--HG--
extra : rebase_source : e967015366b727f199fe3febedc70f1f43f19725
2016-03-04 19:20:43 +08:00
Milan Sreckovic
ad2dbbf528 Bug 1252929: Next.1. Make layers.max-active preference not need a restart. r=mstange 2016-03-04 12:13:57 -05:00
Andrew Comminos
682424c13d Revert "Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman"
This reverts commit a2b6bf8704ff05a4571a812009c343042921d505.
2016-03-03 21:20:19 -08:00
Andrew Comminos
00b7a72ce2 Bug 1197954 - Implement Linux hardware vsync using GLX_SGI_video_sync. r=mchang,lsalzman
MozReview-Commit-ID: BEvMdzOw1oV
2016-03-03 20:37:26 -08:00
Mike Shal
6ca8f7d2e0 Bug 1252302 - Remove gfx/thebes/Makefile.in; r=gps
This requires converting genTables.py into something moz.build can call
into.


MozReview-Commit-ID: 11kXtK8bP5W
2016-02-26 23:25:31 -05:00
Christoph Kerschbaumer
9ab1648f67 Bug 1195172 - Use channel->ascynOpen2 layout/style/FontFaceSet.cpp (r=bz,cam) 2016-03-01 13:06:13 -08:00
Lee Salzman
4ee1769ed1 Bug 1251984 - allow gfx.xrender.enabled pref to work for compositing even if content backend is not Cairo. r=jrmuizel 2016-03-01 14:33:53 -05:00
David Anderson
76e3b91746 Invalidate layers when starting a transaction on a stale device. (bug 1245765 part 9, r=mattwoodrow)
--HG--
extra : rebase_source : 987513504b8470a501db313ab0905d20219949c0
2016-02-29 16:41:35 -05:00
Milan Sreckovic
adb3472d93 Bug 1251619: Remove unused gfxPlatform::CreateDrawTargetForUpdateSurface r=mchang
MozReview-Commit-ID: IWSzej9OGH1

--HG--
extra : rebase_source : f5185bdf4d7c26361133ce729d821958b2d8ae7a
2016-02-26 10:55:59 -05:00
Mason Chang
4650fce727 Bug 1249036 Check that DWMFlush executes correctly. r=kats 2016-02-29 13:52:26 +01:00
David Anderson
0efa6917a2 Ensure that content processes recreate rendering devices. (bug 1245765 part 8, r=mattwoodrow) 2016-02-29 01:53:15 -05:00
David Anderson
08aa5f40fd Don't propagate simulated device resets to child processes. (bug 1245765 part 3, r=mattwoodrow) 2016-02-29 01:53:13 -05:00
James Willcox
9e56091f86 Bug 1251065 - Add prefs for logging the current and peak texture usage r=nical 2016-02-26 11:01:28 -06:00
Milan Sreckovic
548b45eaca Bug 1249640: Part 4 Android to use new blocking. r=snorp 2016-02-22 14:23:00 +01:00
Milan Sreckovic
9ca74932b6 Bug 1249640: Part 3 Update Mac to use the new blocking. r=mchang 2016-02-24 10:25:00 +01:00
Milan Sreckovic
65bcdb7519 Bug 1249640: Part 2 gfxPlatform simplification when it comes to accelerated canvas, using the new blocking. r=gw280 2016-02-22 14:23:00 +01:00
Yoshi Huang
7af5b304e6 Bug 1225053 - use null principal in gfxSVGGlyphs.cpp r=edwin
From 5dc33ddf1254acb5356490a4d1a50b97ae61c7e2 Mon Sep 17 00:00:00 2001
---
 gfx/thebes/gfxSVGGlyphs.cpp | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
2016-02-19 15:35:24 +08:00
Mason Chang
52dbcf6556 Bug 1250669. Don't init dwrite fonts if content device creation fails. r=dvander 2016-02-25 10:44:57 -08:00