Commit Graph

715 Commits

Author SHA1 Message Date
Tomislav Jurin
348bfffc19 Bug 1296189 - Replace NS_RUNTIMEABORT("some string literal message") with MOZ_CRASH(). r=froydnj 2016-12-02 13:46:53 -08:00
Nicolas Silva
a247565f19 Bug 1309200 - Add gfxPlatfrom::GetSoftwareBackend. r=Bas 2016-11-28 09:40:29 +01:00
Lee Salzman
2b779e5359 Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-21 13:17:09 -05:00
Andi-Bogdan Postelnicu
98ef2aa49c Bug 1317637 - Use C++11's override and remove virtual where applicable in gfx/. r=jrmuizel
MozReview-Commit-ID: 2nzBWEAu2wt

--HG--
extra : rebase_source : 0fffd208a79f8d72bc36d77600ba925cbe254a7c
2016-11-15 11:16:29 +02:00
Andi-Bogdan Postelnicu
eb85517996 Bug 1317637 - Replace default bodies of special member functions with = default; in gfx/. r=jrmuizel
MozReview-Commit-ID: EWUpBvj5i6Z

--HG--
extra : rebase_source : 9639ddfbd21183870fe48bc946a6164a2d5ec530
2016-11-15 11:04:18 +02:00
Andi-Bogdan Postelnicu
f55eea3765 Bug 1317637 - Use auto type specifier where aplicable for variable declarations to improve code readability and maintainability in gfx/. r=jrmuizel
MozReview-Commit-ID: Dd6426wCbMg

--HG--
extra : rebase_source : 2bf01499dc6ac776004a098108e7ccb874968701
2016-11-15 11:00:08 +02:00
Andi-Bogdan Postelnicu
f93ddb39f5 Bug 1317637 - Converts for(...; ...; ...) loops to use the new range-based loops in C++11 in gfx/. r=jrmuizel
MozReview-Commit-ID: Dd6426wCbMg

--HG--
extra : rebase_source : 9e849faba30642b273bc5a0e0a74355ba160173e
2016-11-15 10:55:49 +02:00
Carsten "Tomcat" Book
e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Kartikaya Gupta
4c7f0577fe Bug 1316931 - Put DX interop2 status into gfxVars. r=dvander,jgilbert
This allows the GLContextProviderWGL to be created on the compositor
thread, which is something we need for webrender integration.

MozReview-Commit-ID: DtBe9nUTdK7

--HG--
extra : rebase_source : b31973542beca75255b64f350f47df16435a60e3
2016-11-14 17:13:40 -05:00
Sotaro Ikeda
92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Gerald Squelart
adda9b7a03 Bug 1316524 - Use 'media.wmf.skip-blacklist' to set some gfxVars - r=mattwoodrow
Reversing bug 1313343, as MediaPrefs are not available from the UI process.
Instead media.wmf.skip-blacklist is used when setting D3D-blacklisting gfxVars,
leaving them empty if we want to skip these blacklists.

MozReview-Commit-ID: JYED4ovC0jq

--HG--
extra : rebase_source : 087230ba95927ced52d7af502b96a988b4077c31
2016-11-11 11:25:52 +11:00
David Anderson
73757f14b1 Disable the GPU process when LayerScope is enabled. (bug 1316429, r=milan) 2016-11-10 10:55:32 -08:00
David Anderson
3ffb31894f Don't access gfxPlatform from WinCompositorWidget. (bug 1316481, r=mattwoodrow) 2016-11-09 20:49:09 -08:00
Milan Sreckovic
976fdb1420 Bug 1309913: Pass the compositor type to canvas on creation. r=dvander
MozReview-Commit-ID: 81HtvWPdLQa

--HG--
extra : rebase_source : a448447fcb573beb320b2b2a352b97f77a5bafe3
2016-11-03 10:57:33 -04:00
Matt Woodrow
5375ddbb83 Bug 1300681 - Use gfxVars for DXVA blacklist prefs so that they work in the GPU process. r=dvander,gerald 2016-11-03 09:57:18 +13:00
Wes Kocher
7aeeee11d0 Backed out 2 changesets (bug 1309200) for build bustage on a CLOSED TREE a=backout
Backed out changeset b5ad7d04ed43 (bug 1309200)
Backed out changeset 1563a66b64d8 (bug 1309200)
2016-10-28 10:22:47 -07:00
Nicolas Silva
9af48bd777 Bug 1309200 - Add gfx::Factory::GetDefaultSoftwareBackend. r=Bas 2016-10-28 18:27:37 +02:00
Nicolas Silva
73df3d530d Bug 1309200 - Add gfxPlatfrom::GetSoftwareBackend. r=Bas 2016-10-28 18:27:33 +02:00
David Anderson
3cd2f0c9ea Only use the GPU process when we expect a working Direct3D 11 compositor. (bug 1297822, r=mattwoodrow) 2016-10-27 19:21:34 -07:00
Matt Woodrow
4d0b10822d Bug 1308363 - Remove GONK specific code from gfx/. r=jrmuizel,sotaro 2016-10-27 13:17:10 +13:00
David Anderson
d0a9a85fba Don't query gfxPlatform for the vsync rate in CompositorBridgeParent. (bug 1312835, r=mattwoodrow)
--HG--
extra : rebase_source : 152bb6f146dc452d239fa7a90fcdcda3311d52de
2016-10-25 16:25:52 -07:00
Mason Chang
cd84eadb22 Bug 1258751: Delete the CoreGraphics backend. r=mstange 2016-10-18 23:22:44 -04:00
David Anderson
9db9ae327f Move ownership of LogForwarder to Moz2D. (bug 1310397, r=mattwoodrow) 2016-10-15 13:04:00 -07:00
Sebastian Hengst
cdcc9e20da Bug 1304829 - rename RELEASE_BUILD to RELEASE_OR_BETA: main part. r=ted,Mossop
MozReview-Commit-ID: 1lCt0xTMV5O
2016-10-08 11:14:49 +02:00
George Wright
375da61c8b Bug 1297828 - Ensure gfx logging works in the GPU process r=dvander 2016-10-07 11:28:41 -04:00
Milan Sreckovic
cc08d3d97e Bug 1294812: Clean up SkiaGL canvas logic, making sure we only take it for OpenGL layers. Rename a function for clarity. r=BenWa,dvander
MozReview-Commit-ID: OTUXNNYdnJ

--HG--
extra : rebase_source : 4531fc96899f1a2f6524289d5db1054345e0e5f4
2016-09-30 13:54:22 -04:00
David Anderson
9a371ddb86 Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-30 01:21:21 -07:00
Sebastian Hengst
b389a03d86 Backed out changeset 690c50d5a4ca (bug 1305941) for build bustage. r=backout on a CLOSED TREE 2016-09-28 22:54:03 +02:00
David Anderson
4ca1294eed Add a testing pref to let the GPU process restart multiple times. (bug 1305941, r=mattwoodrow) 2016-09-28 13:23:48 -07:00
Matt Woodrow
d6f48852a6 Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-28 11:34:48 +13:00
Phil Ringnalda
c4f9e0b615 Backed out changeset c33c1775fe24 (bug 1305213) for e10s marionette crashes 2016-09-26 21:45:25 -07:00
Matt Woodrow
a28cb744aa Bug 1305213 - Make sure the cached CanUseHardwareVideoDecoding value is updated when DeviceMangerDx is initialized. r=dvander 2016-09-27 14:10:40 +13:00
Lee Salzman
4649ee4713 Bug 1303054 - use dynamic cache size with SkiaGL on desktop. r=milan
MozReview-Commit-ID: 3Hhsa1SNcXw
2016-09-23 11:40:25 -04:00
Matthew Woodrow
76c0ae8105 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book
f918af64da Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matthew Woodrow
cc6a2ea1e1 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander
--HG--
extra : rebase_source : 3e5e4d3cebeda21a080a0f5c9bcec95ba54f960c
2016-08-25 15:48:35 +12:00
Carsten "Tomcat" Book
45927144b4 Backed out changeset e00026b645d2 (bug 1288618) for valgrind failures 2016-09-15 16:34:35 +02:00
Matthew Woodrow
0cd90578a4 Bug 1288618 - Part 1: Use gfxVars for CanUseHardwareVideoDecoding so we can access it in the GPU process. r=dvander 2016-08-25 15:48:35 +12:00
Robert O'Callahan
582fcbd9fa Bug 1300440. Make layers.acceleration.force-enabled override blacklisted devices in debug builds. r=acominos
MozReview-Commit-ID: ADI25q6SClG
2016-09-05 10:47:19 +12:00
Lee Salzman
af21c66e1e Bug 725119 - allow Skia as a content backend in gfxPlatform. r=mchang
MozReview-Commit-ID: GjIybnjz4wl
2016-08-31 15:53:08 -04:00
Ryan Hunt
51dd4314b5 Bug 1297831 - Add a RequiresAcceleratedGLContextForCompositorOGL gfxVar for CompositorOGL. r=jgilbert
MozReview-Commit-ID: 9hZMvG8bPvd

--HG--
extra : rebase_source : 164282b35171865eecade7a4e17927daa16ae66a
2016-08-24 14:03:00 -04:00
Ryan Hunt
a855ce5afd Bug 1297831 - Add an OffscreenFormat gfxVar for use in CompositorOGL. r=jgilbert
MozReview-Commit-ID: JLthlwaZg1Q

--HG--
extra : rebase_source : b7ef71ad34b8036f25209242e5fdb743b749d3a7
2016-08-24 14:02:00 -04:00
David Anderson
c27faebe47 Add D3D9 support to the GPU process. (bug 1297182 part 2, r=mattwoodrow)
--HG--
extra : rebase_source : 95364a97c1f0a65eab60f34f64caa8f149e1dbce
2016-08-22 17:25:52 -07:00
George Wright
4010a63cb8 Bug 1296524 - Don't add Skia to the allowable canvas types unless USE_SKIA is defined r=mchang 2016-08-22 13:50:48 -04:00
David Anderson
2e46480cbf Communicate GPU process device information across processes. (bug 1294988 part 5, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
396d5d1191 Refactor cross-process acceleration controls. (bug 1294988 part 4, r=mattwoodrow) 2016-08-20 20:59:11 -07:00
David Anderson
567a7e0d65 Fix DirectX shutdown ordering issues. (bug 1296749, r=mattwoodrow) 2016-08-20 18:25:03 -07:00
Chris Peterson
4e032df4b1 Bug 1295083 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in gfx/. r=Bas 2016-08-16 15:41:12 -07:00
David Anderson
4198f82d06 Disable the GPU process when not using Electrolysis. (bug 1294986 part 1, r=mattwoodrow) 2016-08-16 11:00:01 -07:00
Randall Barker
9a3fae864f Bug 1291373 - [geckoview] part 3, Remove MOZ_ANDROID_APZ r=botond,snorp 2016-08-16 14:33:43 -07:00