Граф коммитов

5420 Коммитов

Автор SHA1 Сообщение Дата
Nicholas Nethercote 842dd1cf5a Bug 1207741 - Remove gfxIntSize. r=nical.
gfxIntSize is just a typedef of gfx::IntSize, so this is very mechanical. The
only tricky part is deciding for each occurrence whether to replace it with
IntSize, gfx::IntSize or mozilla::gfx::IntSize; in all cases I went with the
shortest one that worked given the existing "using namespace" declarations.

--HG--
extra : rebase_source : 67fd15f87222b16defa70ef795c6d77dfacf1c36
2015-09-23 11:49:05 -07:00
Jonathan Kew a091884801 Bug 1193488 - Update values of writing-mode and text-orientation to reflect the CSS WG decision to revise them in the Writing Modes spec. r=dholbert 2015-09-23 22:16:01 +01:00
Chris Peterson 71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Matt Woodrow 3a98f89348 Bug 1204597 - Use Move constructor for opaque region in FrameLayerBuilder instead of copying. r=jrmuizel
--HG--
extra : rebase_source : 2eb322beabf6557fdff509c8d8212762a9835dfe
2015-09-14 14:18:20 -04:00
Milan Sreckovic 865e1ef45c Bug 1202703 - Part 1 - CreateRenderingContext can fail. r=mattwoodrow 2015-09-10 12:31:00 +02:00
David Anderson 84df7133f4 Don't attempt to use WARP after D3D11CreateDevice crashes. (bug 1201202, r=bas) 2015-09-13 23:52:29 -07:00
John Daggett 06366cd453 Bug 1203809 - pass textperf obj into gfxFontGroup constructor. r=m_kato
--HG--
extra : rebase_source : c9e9f4765b710937b046941a15e82eaf83c86b03
2015-09-11 13:24:33 +09:00
Robert O'Callahan a0bdc144af Bug 1202317. Optimize feComposite type="arithmetic" with all-zero k values to transparent black. r=mstange
--HG--
extra : commitid : 1mRKtZjMMmq
extra : rebase_source : f94fc3fbe11318f5770f6e2b788fb4674fcb62da
2015-09-07 17:09:11 +12:00
Robert O'Callahan 8c59471aa8 Bug 1202317. Optimize away identity ColorMatrix nodes. r=mstange
--HG--
extra : commitid : IzBfiPS7qav
extra : rebase_source : 71418319c9bbfc4bdad68fe1229e77be0ab4496b
2015-09-07 17:11:35 +12:00
Nathan Froyd b4f3c3be46 Bug 1202430 - remove NS_GFX and related macros; r=jrmuizel
NS_GFX last meant something prior to bug 648911, which removed support
for non-libxul builds.  Now that it's meaningless, let's get rid of it.
2015-09-07 17:53:36 -04:00
David Anderson 4dacc4bcac Relax the driver crash guard on nightly and e10s builds. (bug 1200825, r=jgilbert) 2015-09-03 21:05:41 -07:00
Kearwood (Kip) Gilbert cbc7ba3ddb Bug 1157984 - Part 3: Correct bounding box transformations to support projections and correct clipping when transforming behind the camera,r=vlad
- Update callsites of Matrix4x4::TransformBounds to use
  Matrix4x4::TransformAndClipBounds.

--HG--
extra : rebase_source : a1aa889af56e404b7ca5c7125021171e67a0b8bf
2015-08-06 17:26:09 -07:00
Tom Klein 0160852c31 Bug 1181317 - Switch drawing order of filter feBlend inputs. r=mstange
--HG--
extra : rebase_source : 13de9d6236f4fe38cb08e299b6c50f27a688b2e3
2015-08-28 09:16:00 -04:00
Nicholas Nethercote f44287005f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Andrew Comminos bf63f14959 Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt 2015-08-21 16:38:15 -04:00
Milan Sreckovic 432f04e0fb Bug 1196355: WriteAppNote should use function parameter. r=benwa 2015-08-19 13:30:57 -04:00
David Anderson c9c46b8efc Add driver crash guards to WebGL (bug 1190281 part 9, r=jgilbert,mattwoodrow) 2015-08-14 22:14:00 -07:00
Wes Kocher d51b493b46 Backed out changeset 956b56977688 (bug 1190281) for gfx crashes 2015-08-14 15:26:34 -07:00
David Anderson cdcd177df0 Add driver crash guards to WebGL. (bug 1190281 part 9, r=jgilbert) 2015-08-14 12:52:37 -07:00
David Anderson 2b6cbec11a Fix bogus assert in DriverCrashGuard. (bug 1190281 followup, r=mattwoodrow) 2015-08-13 17:50:43 -07:00
David Anderson 2704e2ce18 Add a crash guard for DXVA2D3D9. (bug 1190281 part 8, r=mattwoodrow) 2015-08-11 20:22:20 -07:00
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 2a7763cd1d Factor prefs out of DriverCrashGuard. (bug 1190281 part 6, r=mattwoodrow) 2015-08-11 20:22:19 -07:00
David Anderson fc56b993a8 Move telemetry recording into D3D11LayersCrashGuard. (bug 1190281 part 5, r=mattwoodrow) 2015-08-11 20:22:19 -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
David Anderson b122843b65 Remove static vars from DriverInitCrashDetection. (bug 1183910 part 1, r=mattwoodrow) 2015-08-11 20:22:18 -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 1155aac2de Remove D3D11Status flag in favor of FeatureStatus. (bug 1183910 part 3, r=mattwoodrow) 2015-07-30 00:24:56 -07:00
Bobby Holley 97b9240b34 Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj 2015-07-29 10:44:59 -07:00
Kearwood (Kip) Gilbert 5b2ac66a0c Bug 1181240 - Part 3: Replace gfx3DMatrix with Matrix4x4 in gfx,r=vlad
- Refactored code to use Matrix4x4 instead of gfx3DMatrix.
- There is not expected to be any functional effect.
2015-07-10 17:06:35 -07:00
Ting-Yu Lin 62bb644ea8 Bug 1185840 - Make nsRegion::ToString() print string literal. r=roc
The function prints a region like [14,118,87,153; 14,218,87,253].

--HG--
extra : commitid : 4xBTzphxhS
2015-07-21 00:23:00 +08:00
David Anderson ddaede9c8e Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Ryan VanderMeulen 734c9eb563 Backed out changesets 90446493d402 and c4f4027f9f3a (bug 1179051) for crashes. 2015-07-19 22:39:20 -04:00
David Anderson 28d2dc3e58 Add compositor, layers, and rendering info to nsIGfxInfo. (bug 1179051 part 5, r=mattwoodrow) 2015-07-19 14:50:35 -07:00
Jeff Muizelaar 7bc6837af6 Bug 1178426. Add GfxInfo to ServicesList.h. r=nfroyd
--HG--
extra : rebase_source : b18fb78fa6b7d86fbb9496861938bfde21b3c6e6
2015-07-08 16:51:09 -04:00
Birunthan Mohanathas a8939590de Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
David Anderson 993e2d85ef Annotate crash reports during graphics driver initialization guards. (bug 1181375 part 3, r=mattwoodrow)
--HG--
extra : rebase_source : 8cb703fc6b04f36c5c9c32512b309cc74c6590ad
2015-07-10 20:04:14 -07:00
Carsten "Tomcat" Book 5a7a6c3543 Backed out changeset f4d81e9a81e0 (bug 1181375)
--HG--
extra : rebase_source : 4baf187061a7e59567772ef0bc407cf6d8c6db33
2015-07-10 09:27:24 +02:00
David Anderson f6a359fda1 Annotate crash reports during graphics driver initialization guards. (bug 1181375 part 3, r=mattwoodrow) 2015-07-09 23:17:17 -07:00
Nathan Froyd 974d8120f2 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00