Commit Graph

14616 Commits

Author SHA1 Message Date
David Anderson
aeb1b9c069 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
David Anderson
3d6b2af704 Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
David Anderson
f4f49ed5cf Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 2015-08-11 20:22:18 -07:00
Dan Glastonbury
c0922e68de Bug 1170842 - Part 2: Wrangle glGetInternalformativ symbols. r=jgilbert 2015-08-12 11:39:39 +10:00
Dan Glastonbury
1f7d9c686b Bug 1170842 - Part 1: Sort out ARB_framebuffer_object symbol queries. r=jgilbert
Obsolete old patch.

Had to resort to using GLFeature detection to look for (EXT/OES)_framebuffer_object. I feel like this sucks.
Replace long list of && with ||. Grr.
2015-08-12 11:39:38 +10:00
Milan Sreckovic
f2a587c8b5 Bug 1130195: Don't immediately crash if we can't allocate image. Carry r=bas 2015-08-11 14:07:49 -07:00
Jeff Gilbert
e6eb175725 Bug 1192466 - Prune header includes for SkiaGLGlue.h - r=bgirard 2015-08-07 19:27:14 -07:00
Birunthan Mohanathas
fd290c6aa3 Bug 1185763 - Part 3: Rename nsTArray::MoveElementsFrom to AppendElements. r=froydnj 2015-08-11 08:29:46 -07:00
Birunthan Mohanathas
0e83cd889c Bug 1185763 - Part 1: Always use mozilla::Move with nsTArray::MoveElementsFrom. r=froydnj 2015-08-11 08:29:46 -07:00
Sebastian Hengst
fb11d73de5 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)
2015-08-11 10:13:43 +02:00
David Anderson
600d12d956 Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
d4f83c6fbb Allow DriverCrashGuard to be used in content processes. (bug 1190281 part 7, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
4297f79891 Factor prefs out of DriverCrashGuard. (bug 1190281 part 6, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
20deaab44b Move telemetry recording into D3D11LayersCrashGuard. (bug 1190281 part 5, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
c7155b717e Pull D3D11 logic out of DriverCrashGuard. (bug 1190281 part 4, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
780f365978 Make DriverCrashGuard initialization lazy. (bug 1190281 part 3, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
a3df234f8b Rename DriverInitCrashDetection to DriverCrashGuard. (bug 1190281 part 2, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
eaaece49fc Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 2015-08-11 00:29:08 -07:00
David Anderson
b428af7892 Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-10 20:27:06 -07:00
Kartikaya Gupta
d61947d5ed Bug 1191886 - Change a couple of scrollbar async-repositioning tests so they don't get tripped up by rounding error. r=botond 2015-08-10 17:08:25 -04:00
Kartikaya Gupta
7f7e3ef215 Bug 1189443 - Don't round down the margin amounts when inflating the displayport. r=dvander 2015-08-10 18:30:45 -04:00
Andrea Marchesini
fca5ac0adb Bug 1186725 - InitTextures should check if LockRect() returns an error, r=mattwoodrow 2015-08-10 14:47:22 +01:00
Matt Woodrow
2ae06f31af 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
68f0d503f6 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
3ec6d3dea2 Bug 1061525 - Part 3: Add shaders for NV12 to OGLShaderProgram. r=BenWa 2015-08-10 22:04:26 +10:00
Matt Woodrow
d4a4bf0f6d Bug 1061525 - Part 2: Make MacIOSurfaceTextureHostOGL understand planar MacIOSurfaces. r=jrmuizel 2015-08-10 22:04:26 +10:00
Matt Woodrow
c076664bdf Bug 1061525 - Part 1: Add support for planar MacIOSurfaces. r=BenWa 2015-08-10 22:04:25 +10:00
Jonathan Kew
a097585945 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
2ae38fe147 Bug 1191167 - Update graphite2 library to release 1.3.0. r=jdaggett 2015-08-10 09:38:46 +01:00
John Daggett
3663fb19e5 Bug 1176637 - annotate known assertion in pango font branch. r=m_kato 2015-08-10 13:29:04 +09:00
Khaled Hosny
55d7a8cbec Bug 729993 - Use finer HarfBuzz cluster level. r=jfkthame 2015-08-09 22:01:32 +01:00
Jonathan Kew
740f78dd29 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
f523d754da Bug 1186000 - Support screen mirroring to HDMI display on gonk r=mwu,mattwoodrow 2015-08-08 13:50:47 -07:00
Matt Woodrow
423abf75d7 Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa 2015-08-07 15:37:56 -04:00
Ryan VanderMeulen
b12a864e3f Backed out changeset 4e63305fe592 (bug 1191040) for Linux gtest crashes.
CLOSED TREE
2015-08-07 16:24:59 -04:00
Benoit Girard
ce618802df Bug 1150552 - Fix partial present bug with FPS counter. r=mattwoodrow 2015-08-07 14:11:18 -04:00
Matt Woodrow
3fb76d3147 Bug 1191040 - Ensure that we only compute the tile size once. r=BenWa 2015-08-07 15:37:56 -04:00
Matt Woodrow
f76c54a2f5 Bug 1191527 - Fix the YCbCr shaders in BlitImageToFramebuffer. r=jgilbert 2015-08-07 15:37:54 -04:00
Nicholas Nethercote
542ae0e8e6 Bug 1189156 (part 5) - Add FontEntryTable typedef and factor out some related code. r=jfkthame. 2015-08-04 18:05:19 -07:00
Nathan Froyd
1bbbe122e6 Bug 1192070 - avoid complaining about missing override keywords in skia; r=glandium 2015-08-07 01:34:57 -04:00
Nathan Froyd
3e936dbab0 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
373973dcb2 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 17:27:36 -07:00
Kyle
6407c7e038 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
eeba2b1c7a Bug 1191457 - Revert SetDispAcquireFence() calling change r=nical 2015-08-06 06:50:02 -07:00
Carsten "Tomcat" Book
0c7e3f0b3a 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
1628774a9a Don't mix GPU adapters across processes. (bug 1183910 part 10, r=jmuizelaar) 2015-08-06 02:42:04 -07:00
David Anderson
4528d914f9 Remove the backend flag to TextureClient::CreateForDrawing. (bug 1183910 part 9, r=mattwoodrow) 2015-08-06 02:41:07 -07:00
Bas Schouten
4704a4b26b Bug 1190950: Check mappings and surfaces for UpdateFromSurface more robustly. r=mattwoodrow 2015-08-06 02:29:47 +00:00
Nathan Froyd
d7aa7465a4 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
6d53e9b8ae Bug 1188752 - Addendum: Make PersistentBufferProviderBasic constructor explicit. r=bustage on a CLOSED TREE 2015-08-05 19:37:23 +00:00