Commit Graph

19653 Commits

Author SHA1 Message Date
Birunthan Mohanathas
2b4a52cf2e Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
edbcd5e014 Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -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
f55d77eadf Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow) 2015-08-11 00:29:08 -07: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
3f58b0b15d Factor prefs out of DriverCrashGuard. (bug 1190281 part 6, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
ec5c7a536a Move telemetry recording into D3D11LayersCrashGuard. (bug 1190281 part 5, 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
d159b692c1 Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 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
Kartikaya Gupta
2bdce7079c Bug 1191886 - Change a couple of scrollbar async-repositioning tests so they don't get tripped up by rounding error. r=botond
--HG--
extra : commitid : 9l1enEaFhZu
2015-08-10 17:08:25 -04:00
Kartikaya Gupta
136c2d72c3 Bug 1189443 - Don't round down the margin amounts when inflating the displayport. r=dvander
--HG--
extra : commitid : C4Vo2zwNRgo
2015-08-10 18:30:45 -04:00
Andrea Marchesini
da64d8ff8f Bug 1186725 - InitTextures should check if LockRect() returns an error, r=mattwoodrow 2015-08-10 14:47:22 +01:00
Matt Woodrow
f9b2b22d30 Bug 1061525 - Part 6: Add readback code for converting NV12 MacIOSurfaces into RGB. r=nical 2015-08-10 22:04:27 +10:00
Matt Woodrow
92794eca74 Bug 1061525 - Part 4: Add an NV12 effect, and implement it for CompositorOGL. r=nical 2015-08-10 22:04:26 +10:00
Matt Woodrow
4087f8188c Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa 2015-08-10 22:04:26 +10:00
Matt Woodrow
98a666796b Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel 2015-08-10 22:04:26 +10:00
Matt Woodrow
7c20977d1c Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa 2015-08-10 22:04:25 +10: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
Jonathan Kew
84708c3880 Bug 1191167 - Update graphite2 library to release 1.3.0. r=jdaggett 2015-08-10 09:38:46 +01:00
John Daggett
688cc90bfc Bug 1176637 - annotate known assertion in pango font branch. r=m_kato 2015-08-10 13:29:04 +09:00
Khaled Hosny
4851eca724 Bug 729993 - Use finer HarfBuzz cluster level. r=jfkthame 2015-08-09 22:01:32 +01:00
Jonathan Kew
be9c788bd0 Bug 729993 - Cherry-pick harfbuzz fixes for finer-grained cluster support (9099e48e29, c7dfe316f8). r=behdad (upstream) 2015-08-09 22:01:28 +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
Benoit Girard
dd944c9f77 Bug 1150552 - Fix partial present bug with FPS counter. r=mattwoodrow
--HG--
extra : commitid : 9KkH0zuMbgj
extra : rebase_source : eb1df181c5320f299bab3aab66bd3bc2bc7f65a4
2015-08-07 14:11:18 -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
Matt Woodrow
cbcf9a014e Bug 1191527 - Fix the YCbCr shaders in BlitImageToFramebuffer. r=jgilbert
--HG--
extra : rebase_source : a5360145d7ade0f0d5ed4137bb30f9b7f2eaca51
2015-08-07 15:37:54 -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
Nathan Froyd
a82c7ce24e Bug 1192070 - avoid complaining about missing override keywords in skia; r=glandium 2015-08-07 01:34:57 -04:00
Nathan Froyd
7894c2fd13 Bug 1191900 - remove superfluous check for GCC force_align_arg_pointer attribute; r=glandium
qcms and libav use __attribute__((force_align_arg_pointer))
unconditionally; the libav use case suggests that the attribute has been
around since GCC 4.2.  We're well past that point with GCC, and clang
supports it also.  So we can simply assume the compiler has it in the
appropriate places.

It is, however, x86 only (x86-64 appropriately aligns the stack at all
times), so we need to adjust the libpixman build code appropriately.
2015-08-06 21:07:57 -04:00
David Anderson
1af4366a28 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 17:27:36 -07:00
Kyle
8d63b8b86a Bug 1136428 - Change implementation of WebGLContext::DrawBuffers such that it goes through GLScreenBuffer to change the draw buffer. Added a variable to GLScreenBuffer to cache the draw buffer mode. r=jgilbert 2015-07-31 15:56:32 -04:00
Sotaro Ikeda
226e6417ae Bug 1191457 - Revert SetDispAcquireFence() calling change r=nical 2015-08-06 06:50:02 -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
David Anderson
ff609fc994 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 02:41:07 -07:00
Bas Schouten
f99f040ff9 Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow 2015-08-06 02:29:47 +00: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
Bas Schouten
e2ed929e0c Bug 1188752 - Addendum: Make PersistentBufferProviderBasic constructor explicit. r=bustage on a CLOSED TREE 2015-08-05 19:37:23 +00:00
Bas Schouten
7214209e15 Bug 1188752: Ensure persistence of DrawTarget when using InitializeWithSurface. r=jrmuizel 2015-08-05 19:00:03 +00:00
Kartikaya Gupta
17ecefdf0b Bug 1190936 - Attempt some graceful handling for an unexpected situation that otherwise crashes the browser. r=botond
--HG--
extra : commitid : 5JOyeQ0xZLq
2015-08-05 14:40:11 -04:00
Botond Ballo
199b95a880 Bug 1056356 - Remove the hand-rolled mechanism used to get nsRefPtr<const OverscrollHandoffChaiin> to work. r=kats
--HG--
extra : rebase_source : b064c9389e596a0953aa59e92fc842f8fc561ef2
2015-07-29 19:52:42 -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