Commit Graph

4946 Commits

Author SHA1 Message Date
David Anderson
99f7e49fd8 Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow) 2015-08-11 20:22:20 -07:00
David Anderson
be8aa250bf Pull D3D11 logic out of DriverCrashGuard. (bug 1190281 part 4, r=mattwoodrow) 2015-08-11 20:22:19 -07:00
David Anderson
129b167e20 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
David Anderson
e6a325e77b Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow)
--HG--
rename : gfx/src/DriverInitCrashDetection.cpp => gfx/src/DriverCrashGuard.cpp
rename : gfx/src/DriverInitCrashDetection.h => gfx/src/DriverCrashGuard.h
2015-08-11 20:22:18 -07:00
Jeff Gilbert
f564deae5f Bug 1192466 - Prune header includes for SkiaGLGlue.h - r=bgirard 2015-08-07 19:27:14 -07:00
Sebastian Hengst
c2581fad83 Backed out 8 changesets (bug 1183910, bug 1190281)
Backed out changeset 6ddbdbd66174 (bug 1190281)
Backed out changeset c85c1d11bd72 (bug 1190281)
Backed out changeset 7f904a453bdb (bug 1190281)
Backed out changeset e17123b5bafd (bug 1190281)
Backed out changeset 50edbeb8912e (bug 1190281)
Backed out changeset cf98685302b6 (bug 1190281)
Backed out changeset e98a176b4e0b (bug 1190281)
Backed out changeset e7b3b23bcc82 (bug 1183910)

--HG--
rename : gfx/src/DriverCrashGuard.cpp => gfx/src/DriverInitCrashDetection.cpp
rename : gfx/src/DriverCrashGuard.h => gfx/src/DriverInitCrashDetection.h
2015-08-11 10:13:43 +02:00
David Anderson
0581a52de4 Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
f01a0269f5 Pull D3D11 logic out of DriverCrashGuard. (bug 1190281 part 4, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
6e5a461ad7 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
c70534a3cb Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow)
--HG--
rename : gfx/src/DriverInitCrashDetection.cpp => gfx/src/DriverCrashGuard.cpp
rename : gfx/src/DriverInitCrashDetection.h => gfx/src/DriverCrashGuard.h
2015-08-11 00:29:08 -07:00
David Anderson
5953408ea9 Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-10 20:27:06 -07:00
Jonathan Kew
7fbcb7e3c8 Bug 1105807 - Fall back to GetGlyphIndicesW in gfxGDIFont::GetGlyph if ScriptGetCMap fails, for legacy Type1 fonts. r=jdaggett 2015-08-10 09:39:49 +01:00
Khaled Hosny
4851eca724 Bug 729993 - Use finer HarfBuzz cluster level. r=jfkthame 2015-08-09 22:01:32 +01:00
Sotaro Ikeda
499f383427 Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow 2015-08-08 13:50:47 -07:00
Matt Woodrow
741dbc133e Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : 1f3024d724384955220b95db5d347d12df4d22a8
2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
55a80b1971 Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
CLOSED TREE
2015-08-07 16:24:59 -04:00
Matt Woodrow
1e2e762f3c Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa
--HG--
extra : rebase_source : ffe1817416bc678c4ea8a0a42d809afd4d3db86d
2015-08-07 15:37:56 -04:00
Nicholas Nethercote
3e45a7cea0 Bug 1189156 (part 5) - Add FontEntryTable typedef and factor out some related code. r=jfkthame.
--HG--
extra : rebase_source : 4943f681f5c88d39b3ab97340b95b124d9ec4f92
2015-08-04 18:05:19 -07:00
Carsten "Tomcat" Book
26f2018b57 Backed out 2 changesets (bug 1183910) for bustage on a CLOSED TREE
Backed out changeset 9617a34de78f (bug 1183910)
Backed out changeset d8f79432c768 (bug 1183910)
2015-08-06 12:09:52 +02:00
David Anderson
4e15c1f1eb Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-06 02:42:04 -07:00
Nathan Froyd
e622b5e3e8 Bug 1132966 - use relaxed Atomic integers for tracking graphics surface memory usage; r=njn
Graphics surface memory usage tracking is done manually, with a global
array containing the number of bytes per each type of surface used.
Since the members of the array can be touched by several different
threads, dynamic race checkers such as TSan complain about To assuage
TSan's sensibilities, we need to use atomics with relaxed memory
consistency; this change generates code identical to what we had before,
but the atomic type assures TSan that it's OK to access members on
multiple threads.  We use the relaxed memory consistency to avoid memory
barriers in the generated code.
2015-07-31 22:43:24 -04:00
Ryan VanderMeulen
cf74a0c719 Backed out changeset 6ee70eb03b02 (bug 1183788) for Android crashes. 2015-08-05 10:24:55 -04:00
Dylan Roeh
f7ba5d71aa Bug 1183788 - Move all CanDetach/InitCanDetach logic into gfxPlatform.h/cpp. r=snorp 2015-08-04 17:02:18 -05:00
David Anderson
a976b3be5c Don't create a D3D11 compositor device on content processes. (bug 1183910 part 8, r=bas,mattwoodrow) 2015-08-05 02:45:06 -07:00
Mason Chang [:mchang]
f83fc0b5b6 Bug 1073209 - Eliminate usage of CreateSamplingRestrictedDrawable on d2d backends. r=jrmuizel 2015-08-04 08:13:00 +02:00
John Daggett
ac07166426 Bug 1189129 - annotate no default font aborts. r=bas 2015-08-05 11:03:41 +09:00
Arthur Edelstein
5bcc983fed Bug 1190590 - Fix MinGW cross-compile for --enable-bundled-fonts. r=jfkthame 2015-08-03 14:59:00 -04:00
Nicholas Nethercote
d98d14fa1e Bug 1189156 (part 4) - Don't use enumeration style for nsBaseHashtable::SizeOf{In,Ex}cludingThis(). r=erahm,jfkthame.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

--HG--
extra : rebase_source : f98420176f50990bbc5a25e35788328154cfeb00
2015-07-30 21:19:57 -07:00
Nicholas Nethercote
fea58e7707 Bug 1189156 (part 3) - Factor out FontTable better. r=jfkthame.
--HG--
extra : rebase_source : 696db4f6384229336966ca86fa47faaf21382f1e
2015-07-30 21:15:16 -07:00
Nicholas Nethercote
1059c1de13 Bug 1189156 (part 2) - Don't use enumeration style for nsTHashtable::SizeOf{In,Ex}cludingThis(). r=erahm.
After this change, we have ShallowSizeOf{In,Ex}cludingThis(), which don't do
anything to measure children. (They can be combined with iteration to measure
children.)

And we still have the existing single-arg SizeOf{In,Ex}cluding() functions,
which work if the entry type itself defines SizeOfExcludingThis().

--HG--
extra : rebase_source : f93de9b789c21b1b148bed9de795f663f77c9dd9
2015-07-29 01:50:52 -07:00
Lee Salzman
20e9dbbf1a Bug 1186875 - check if FcFontSort returns non-null. r=jtd 2015-07-31 14:37:19 -04:00
Jonathan Kew
fad47169f8 Bug 1184473 - Bypass the word cache for graphite fonts that include space contextuals. r=jdaggett 2015-08-03 09:04:59 +01:00
David Anderson
ac8c6304a9 Use the same graphics device parameters across processes. (bug 1183910 part 7, r=mattwoodrow) 2015-08-02 13:59:33 -07:00
Jesse Ruderman
7ed9e0fe1b Bug 1024259: Use NS_FREE_PERMANENT_DATA more consistently. r=mccr8 2015-07-31 12:11:48 -07:00
John Daggett
6052d1cb31 Bug 1189158 - shutdown font loader thread in separate event. r=m_kato 2015-07-31 10:10:31 +09:00
Lee Salzman
f15be30759 Bug 1188462 - Fix inclusion of skia headers to use correct directory prefixes. r=jrmuizel 2015-07-29 16:31:40 -04:00
Lee Salzman
cf2fe05f07 Bug 1188462 - Add SKIA_INCLUDES list for adding Skia to header search path. r=jrmuizel 2015-07-30 12:05:22 -04:00
Mason Chang
132cd2c47b Bug 1155249 - Prescale image with an intermediate surface if repeated often on OS X. r=mstange 2015-07-30 08:14:00 -04:00
Andrew Comminos
f8f6b355a9 Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical 2015-07-30 12:40:56 -04:00
Matt Woodrow
1fd9daec7d Bug 1188995 - Increase tile size to 512/1024 on OSX. r=jrmuizel,mstange
--HG--
extra : rebase_source : 5cb4fd3fa548498d320089ef034d5cdf7eb1f6b6
2015-07-29 18:21:26 -04:00
David Anderson
553469ede1 Don't upgrade gfx features after device resets. (bug 1183910 part 5, r=mattwoodrow) 2015-07-30 00:27:06 -07:00
David Anderson
9d8c16c3d7 Factor out D2D initialization checks. (bug 1183910 part 4, r=mattwoodrow) 2015-07-30 00:25:56 -07:00
David Anderson
1155aac2de Remove D3D11Status flag in favor of FeatureStatus. (bug 1183910 part 3, r=mattwoodrow) 2015-07-30 00:24:56 -07:00
David Anderson
4be0f86cb1 Add a pref to force TDRs for graphics testing. (bug 1183910 part 2, r=mattwoodrow) 2015-07-30 00:23:53 -07:00
Nicholas Nethercote
87b80f8c66 Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.

--HG--
extra : rebase_source : 6a8c8d8ffb53ad51b5773afea77126cdd767f149
2015-07-28 23:24:24 -07:00
Matt Woodrow
a613b2b0b1 Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel 2015-07-29 16:35:55 -04:00
Matt Woodrow
d2d5e5b9a3 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00
Wes Kocher
ec1078c65a Backed out 6 changesets (bug 1150944, bug 1034370) for build failures in WebGLContext.cpp CLOSED TREE
Backed out changeset e2a6160242e5 (bug 1150944)
Backed out changeset 1c510537d20b (bug 1150944)
Backed out changeset 7ae813666ed5 (bug 1150944)
Backed out changeset 2f29ac2e31cd (bug 1150944)
Backed out changeset bf7681b1567e (bug 1150944)
Backed out changeset 79c6b8d014d2 (bug 1034370)
2015-07-29 14:16:17 -07:00
Matt Woodrow
04c916856f Bug 1150944 - Don't force the discrete GPU for skia gl. r=jrmuizel 2015-07-29 16:35:55 -04:00
Matt Woodrow
501c8bec02 Bug 1150944 - Add a flags parameter to GLContextProvider functions instead of a bool. r=jgilbert 2015-07-29 16:35:55 -04:00