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

24037 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow b6a9ac8a28 Bug 1317862 - Part 1: Add TextLayer class and basic support for them. r=mstange 2016-11-24 18:11:29 +13:00
Bas Schouten 56b7dd703d Bug 1317843 - Split LayerManagerComposite into two classes. r=jrmuizel 2016-11-24 18:11:27 +13:00
Wes Kocher b851c06cc9 Merge m-c to inbound, a=merge 2016-11-23 16:18:24 -08:00
Ting-Yu Lin cd7d086eb1 Bug 1317588 Part 5 - Change Side's operator++ from postfix to prefix. r=mats
The postfix operator++ was actually incorrectly implemented as a prefix
version. Since it's only used in NS_FOR_CSS_SIDES, let's changed it to
prefix version.

MozReview-Commit-ID: GbdB2ZC9KyW

--HG--
extra : rebase_source : a46deea148e07609ca32e6836738de7296090f95
2016-11-23 16:55:04 +08:00
Ting-Yu Lin 754b6c9659 Bug 1317588 Part 3 - Remove #define NS_SIDE_TOP/RIGHT/BOTTOM/LEFT. r=mats
This patch was written with the help of the following script. Also, manually
add mozilla qualifier to the enum values in nsStyleCoord.h, gfxRect.h, and
Types.h to make it build.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "NS_SIDE_TOP" "eSideTop"
rename "NS_SIDE_RIGHT" "eSideRight"
rename "NS_SIDE_BOTTOM" "eSideBottom"
rename "NS_SIDE_LEFT" "eSideLeft"

MozReview-Commit-ID: 9T0ORsqM6nP

--HG--
extra : rebase_source : 884ad96104c6e9cf6c8b3145d2d3a071ecccfe6a
2016-11-18 18:12:25 +08:00
Ting-Yu Lin c9cfd878cb Bug 1317588 Part 2 - Remove mozilla::css::Side typedef. r=mats
This patch is written with the help of the following script.

function rename() {
find .\
     -type f\
     ! -path "./obj*"\
     ! -path "./.git"\
     ! -path "./.hg"\
     \( -name "*.cpp" -or\
        -name "*.h" \)\
        -exec sed -i -e "s/$1/$2/g" "{}" \;
}

rename "css::Side" "Side"

MozReview-Commit-ID: DPV6vivpPUp

--HG--
extra : rebase_source : 9c4f66dc9d2b26c89a4517fba4ff9c5db413411b
2016-11-18 16:28:38 +08:00
Ting-Yu Lin 3a4c674931 Bug 1317588 Part 1 - Move NS_FOR_CSS_SIDES and operator++ to gfx/2d/Types.h. r=mats
Make them live with the definition of enum Side.

MozReview-Commit-ID: 5uJPxFPOj79

--HG--
extra : rebase_source : 566f1a680ae85b61b1af0f643f59a4d1ac7472d3
2016-11-18 15:25:33 +08:00
Daosheng Mu ab1fbc2684 Bug 1318586 - Adjust OpenVR controller button mapping to be consistency; r=kip
MozReview-Commit-ID: 6ODcMjqYQNP

--HG--
extra : rebase_source : 71a34032d866f373eac2396e80f3ed4ce12f963a
2016-11-18 16:36:51 +08:00
peter chang b96fe0d665 Bug 1317083 - Try to wait for IPDL connection before texture client creation, r=nical
MozReview-Commit-ID: JLpubGsE0eu

--HG--
extra : rebase_source : 713dc0ece6fa22ec6b5a283836de336b411b7e2a
2016-11-15 17:50:50 +08:00
Daosheng Mu ab3dd3ce52 Bug 1318618 - Support nsCString data type in gfxPrefs; r=dvander
MozReview-Commit-ID: w5051nuVR5

--HG--
extra : rebase_source : 3af34967b0c9c432c6b77014479be98bd0f54387
2016-11-23 09:38:02 +08:00
Lee Salzman 0e267ba5b2 Bug 1306628 - Handle large sizes in GrResourceProvider::createBuffer. r=mchang
MozReview-Commit-ID: 3ZGDmIum5OU

--HG--
extra : rebase_source : 01be35ac1a6b192c4a7e30e022b3d692ad82138d
2016-10-25 00:31:43 -04:00
Nicolas Silva 36605f9e7b Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas 2016-10-11 13:23:11 +02:00
Nicolas Silva 5e3ab0af14 Bug 1300121 - Flush the D3D11 immediate context if a composition is cancelled to avoid resources queing up in the driver. r=Bas 2016-10-11 14:10:22 +02:00
Jonathan Watt 5c0be72ef2 Bug 1310165 - Add a GetReferenceDrawTarget overload to PrintTargetCG to return a PDF CGContext backed DrawTarget. r=mstange 2016-11-17 16:25:19 +00:00
David Anderson 4154688cf2 Fix dangling nsIWidget pointer in ClientLayerManager. (bug 1319213, r=mattwoodrow) 2016-11-22 11:36:45 -08:00
Carsten "Tomcat" Book e0f46513b6 Merge mozilla-central to mozilla-inbound 2016-11-22 16:28:50 +01:00
Carsten "Tomcat" Book 8b27dda5d1 merge mozilla-inbound to mozilla-central a=merge 2016-11-22 15:53:05 +01:00
David Anderson 22b001c0b6 Delay the DidComposite call in ClientLayerManager's destructor. (bug 1305829, r=mattwoodrow) 2016-11-21 20:12:55 -08:00
Kevin Chen ed05291591 Bug 1313135 - Make an early return if the clip rect can be ignored. r=mchang
--HG--
extra : rebase_source : 3e1b5c15398a2536528c5b8799d2272ee4d07c66
2016-11-21 18:55:00 -05:00
George Wright 0a46071cca Bug 1297790 - Add GPU process feature status to the Telemetry environment r=dvander,gfritzsche data-review=bsmedberg 2016-11-21 15:10:11 -05:00
Bob Owen 58e9c2a82f Bug 1279699: Use temporary files instead of shared memory to store the page recordings when printing via parent. r=bas, r=froydnj 2016-11-22 14:06:46 +00:00
Milan Sreckovic 4f7e0ff668 Bug 1318007: When the surface is already allocated, just check for non-positive dimensions. r=aosmond
MozReview-Commit-ID: C0Fkq1SVO3s

--HG--
extra : rebase_source : 9b927993272338b811c49746d64077fc265cbb85
2016-11-21 12:48:40 -05:00
Phil Ringnalda 89e92b0c3b Merge m-c to autoland 2016-11-22 21:33:35 -08:00
Kartikaya Gupta a1f0344c9b Bug 1319508 - Ensure that we don't leave dangling pointers to CompositorBridgeParent in LayerTreeState instances. r=dvander
MozReview-Commit-ID: 3dxZ35uIQu

--HG--
extra : rebase_source : ea4f5a11c6f5bcbcee0c0d8d751ba7289bbf61c9
2016-11-22 14:38:37 -05:00
Lee Salzman 58e976f33d Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas
MozReview-Commit-ID: 70YnDEI20ow
2016-11-21 13:17:43 -05: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
Lee Salzman 3d2a652e53 Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-21 13:16:59 -05:00
Milan Sreckovic dd0c296f12 Bug 1321075: Check if the backend is friendly to data draw target creation before attempting to make it. r=bas
MozReview-Commit-ID: 8jvUvrmCTAY

--HG--
extra : rebase_source : 1325c3cc3a1b02b96bb4b3cb249afeeae7a77864
2016-11-29 15:46:49 -05:00
Sotaro Ikeda d513b931e0 Bug 1318780 - Split CompositorVsyncScheduleOwner to its own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorVsyncScheduler.h => gfx/layers/ipc/CompositorVsyncSchedulerOwner.h
2016-11-20 17:14:32 -08:00
Kevin Chen 368a498322 Bug 1317131 - Fix the incorrect AutoTextureLock lifecycle. r=dvander 2016-11-17 01:57:00 -05:00
Ryan VanderMeulen c2e0dbedb5 Merge m-c to inbound. a=merge 2016-11-18 15:48:29 -05:00
Ryan Hunt b77ddc9712 Bug 1318045 - Remove unused includes in CrossProcessCompositorBridgeParent r=bas
--HG--
extra : rebase_source : 9901759d587c3c837345dac582439c5cb3f8e723
2016-11-18 12:16:37 -06:00
Ryan Hunt 37985533cd Bug 1318045 - Fix unified build errors from moving CrossProcessCompositorBridgeParent r=bas
--HG--
extra : rebase_source : 8198c950bfba23980361ba4d45e46bda42c253f5
2016-11-18 12:12:25 -06:00
Carsten "Tomcat" Book a69c372ef1 Merge mozilla-central to autoland 2016-11-18 16:57:20 +01:00
Sotaro Ikeda 133e28473a Bug 1317893 - Split CompositorVsyncScheduler to own file r=kats
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CompositorVsyncScheduler.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.h => gfx/layers/ipc/CompositorVsyncScheduler.h
2016-11-18 02:37:04 -08:00
Phil Ringnalda e3b53628aa Merge m-c to m-i
MozReview-Commit-ID: GwBaSZdoAZK
2016-11-17 20:33:59 -08:00
Phil Ringnalda 61baa2aa9a Merge m-i to m-c, a=merge
MozReview-Commit-ID: A3wgReQAalj
2016-11-17 19:21:20 -08:00
Sebastian Hengst fd08842ecf Backed out changeset 25840ab0d453 (bug 1250037) for assertion in Windows 8 x64 debug bc6 in browser_UITour.js. r=backout 2016-11-18 00:30:41 +01:00
Sebastian Hengst bf0af8baea Backed out changeset 5504280ce43c (bug 1250037) 2016-11-18 00:29:02 +01:00
Sebastian Hengst a74c56ba73 Backed out changeset c4646823814d (bug 1250037) 2016-11-18 00:28:58 +01:00
Sebastian Hengst e32c604fe8 Backed out changeset fb4d2febca8d (bug 1250037) 2016-11-18 00:28:40 +01:00
Ethan Lin bda758bde7 Bug 1317403 - Add crashtest. r=mstange
--HG--
extra : rebase_source : 8f008257db3adc07ebc8eaed8002bfd3763def0b
2016-11-14 19:35:00 +01:00
Lee Salzman af2b7eaaf4 Bug 1250037 - followup - fix AlphaBoxBlur comments. r=me 2016-11-17 16:52:19 -05:00
Lee Salzman 2b4b6b14b7 Bug 1250037 - part 3 - optimize the Moz2d fallback box blur implementation. r=bas
MozReview-Commit-ID: 70YnDEI20ow
2016-11-17 16:04:12 -05:00
Lee Salzman 8acbd8d04a Bug 1250037 - part 2 - use DrawTarget::DrawSurfaceWithShadow to render box shadows on platforms that accelerate it. r=mchang
MozReview-Commit-ID: 5MERz8RmGUd
2016-11-17 16:04:05 -05:00
Lee Salzman e79ff03dbb Bug 1250037 - part 1 - only blur one quadrant of a box-shadow and mirror it to the other quadrants. r=mchang
MozReview-Commit-ID: B4FSDmAMfXK
2016-11-17 16:03:59 -05:00
Nicolas Silva a23be49d54 Bug 1312988 - Prevent D3D11 DXGI TextureSource to be used as a DataTextureSource. r=sotaro 2016-11-14 10:09:31 +01:00
Nicolas Silva f7f979e39c Bug 1312988 - Prevent D3D9 DXGI TextureSource to be used as a DataTextureSource. r=sotaro 2016-11-14 10:09:35 +01: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 70b7835557 Bug 1317637 - Replace integer literals which are cast to bool in gfx/. r=jrmuizel
MozReview-Commit-ID: 12hwCenQ3qL

--HG--
extra : rebase_source : 8eef835f2e9d0a1b40b54ee0b2a14f8dfc37e726
2016-11-15 11:12:27 +02:00
Andi-Bogdan Postelnicu eec24f4b16 Bug 1317637 - Replace string literals containing escaped characters with raw string literals in gfx/. r=jrmuizel
MozReview-Commit-ID: FUtmGyTWcwB

--HG--
extra : rebase_source : 6413861fa0926f37c1b548105c1074c3a9da538a
2016-11-15 11:08:18 +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 2c792af8f0 Merge mozilla-central to mozilla-inbound 2016-11-17 14:39:33 +01:00
Hiroyuki Ikezoe 7a9cc3600d Bug 1304886 - Part 7: Add mulitiplications for quaternions. r=boris,derf
MozReview-Commit-ID: IZDnU26wj2Y

--HG--
extra : rebase_source : 492e2cb6aa8dc40d5f07661f4a5bac9061d2cca2
2016-11-16 20:32:33 +09:00
Hiroyuki Ikezoe 01533842b8 Bug 1304886 - Part 4: Mark gfxQuaternion::Slerp and ToMatrix const. r=boris
We will use them for const gfxQuaternion in subsequent patches.

MozReview-Commit-ID: 7CBjnklpxUQ

--HG--
extra : rebase_source : 8ce77abd5fcf6e6e0a6e970c0c3e183adf2b8c85
2016-11-16 20:32:32 +09:00
Hiroyuki Ikezoe ae9b44e039 Bug 1304886 - Part 1: Make StyleAnimationValue::Accumulate() infallible. r=birtles
MozReview-Commit-ID: 9ve3k6a3eAg

--HG--
extra : rebase_source : af536ae0bf9dc7ad26003422d971c3cbdb30e390
2016-11-16 20:32:26 +09:00
Wes Kocher 609b9922f7 Merge m-c to autoland, a=merge 2016-11-16 17:29:05 -08:00
Wes Kocher f9e9d69899 Merge inbound to m-c a=merge CLOSED TREE 2016-11-16 17:07:26 -08:00
Edwin Flores aa842ec6c1 Bug 1301381 - Clean up VaryingPacking::packVarying - r=jrmuizel 2016-11-17 10:09:26 +00:00
Botond Ballo 1f2c35311b Bug 1315854 - Account for rounding error when checking if certain transforms are the identity in AsyncCompositionManager::AlignFixedAndStickyLayers(). r=mstange
MozReview-Commit-ID: 4xxuqWHedeS

--HG--
extra : rebase_source : ee81a68b7e084896333cb0a9ac97a83e3c0f0388
2016-11-16 15:59:24 -05:00
Jonathan Kew eb88ca57ad Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Carsten "Tomcat" Book e7ca75286b Merge mozilla-central to inbound 2016-11-16 14:53:15 +01:00
Carsten "Tomcat" Book fd0ff57dbb Backed out changeset bc0e63d09f83 (bug 1314932) for causing merge conflicts with mozilla-central/autoland and so blocking m-i to m-c merge 2016-11-16 14:51:16 +01:00
Ehsan Akhgari ba68896bf9 Bug 1311246 - Remove support for the -moz-samplesize media fragment; r=jrmuizel
This removes the feature added in bug 854795 for Tarako b2g devices.
2016-11-16 08:18:56 -05:00
Kan-Ru Chen f8100451db Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.

MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +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
Carsten "Tomcat" Book 8cfa5253e8 merge mozilla-inbound to mozilla-central a=merge 2016-11-15 12:26:41 +01:00
Jan Beich d5d5525615 Bug 1317757 - Explicitly include header for SprintfLiteral(). r=milan
MozReview-Commit-ID: K8O6AMKPGzN

--HG--
extra : rebase_source : e4799231edf44437577754e36903b61e2a512b9c
2016-11-15 18:58:29 +00:00
Kartikaya Gupta 58da8274d5 Bug 1317068 - Fix typo in pref name. r=jgilbert
MozReview-Commit-ID: 4YyMbOnFvW7

--HG--
extra : rebase_source : e0a115d437fcb7fb3706a8c0a71e7f2c0e2349dd
2016-11-12 11:06:27 -05:00
Milan Sreckovic 92fe1aae29 Bug 1316988: Change the wording of the error message. r=rhunt
MozReview-Commit-ID: GB1sF1APkBJ

--HG--
extra : rebase_source : 7f3c8673cffd223b2e366f7cb6728dc4abc7a90c
2016-11-11 17:51:25 -05:00
Carsten "Tomcat" Book c7a033c3e2 merge mozilla-inbound to mozilla-central a=merge 2016-11-14 10:22:06 +01:00
Sotaro Ikeda 92926a0f41 Bug 1317656 - Cleanup more gonk/b2g dependent code r=nical 2016-11-15 22:01:30 -08:00
Ryan Hunt bd2880400d Bug 1317512 - Prevent overflow when using device reset prefs. r=milan
--HG--
extra : rebase_source : f79e755a62aa882a883c2341ffe1a035d2201885
2016-11-14 17:27:14 -06:00
Jonathan Watt ce0084022b Bug 1316750, part 3 - Add special case code to handle CAIRO_SURFACE_TYPE_WIN32 in PrintTarget::GetReferenceDrawTarget. r=edwin 2016-11-15 23:12:09 +00:00
Jonathan Watt f798086e8e Bug 1316750, part 2 - Add CairoContentToCairoFormat helper to HelpersCairo.h. r=edwin 2016-11-15 23:09:49 +00:00
Jonathan Watt 1ca03050ee Bug 1316750, part 1 - Add special case handling for CAIRO_SURFACE_TYPE_QUARTZ to PrintTarget::GetReferenceDrawTarget. r=edwin 2016-11-15 23:09:49 +00:00
Jonathan Watt cc0fb19cc1 Bug 1316299 - Invert broken logic in DrawTargetSkia::CreateSimilarDrawTarget's warning. r=lsalzman 2016-11-15 23:01:46 +00:00
Jonathan Watt af8d63caba Bug 1317295 - Record PrintTarget::GetReferenceDrawTarget DrawTargets. r=edwin 2016-11-15 23:01:41 +00:00
David Anderson 684cad415c Fix canvas crashing when the GPU process aborts. (bug 1314427, r=nical) 2016-11-15 13:04:59 -08:00
Milan Sreckovic 7bf73e0916 Bug 1313884: Part 2. Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280 2016-11-15 12:56:16 -05:00
Jonathan Kew 48a1d6a49a Bug 1314932 - Reduce content-process startup time on MacOSX by passing the system font list from chrome to content process via the GetXPCOMProcessAttributes message. r=mstange 2016-11-15 13:58:29 +00:00
Carsten "Tomcat" Book 106d39cf20 Merge mozilla-central to mozilla-inbound 2016-11-15 12:33:34 +01:00
Bob Owen 7593d137fb Bug 1315212: Allow for failed call to wrapped DrawTarget in DrawTargetRecording::CreateSimilarDrawTarget. r=bas
MozReview-Commit-ID: 4SMixY4Nook
2016-11-15 11:10:02 +00:00
Bob Owen c4a371a6ce Bug 1316783: Record mSamplingRect for PatternType::SURFACE when using DrawTargetRecording. r=mstange
MozReview-Commit-ID: 8JWzW2cOSXK
2016-11-15 11:09:51 +00:00
Wes Kocher 18cab513b1 Backed out 7 changesets (bug 1316750, bug 1317295, bug 1316299) for windows vm debug reftest failures a=backout
Backed out changeset c0d0caa11f5a (bug 1316750)
Backed out changeset e222819961af (bug 1316750)
Backed out changeset fb46a1dc34f9 (bug 1316750)
Backed out changeset 732a96ceaf9f (bug 1316750)
Backed out changeset 5b62b77eb236 (bug 1316299)
Backed out changeset ac5ea2dc6c60 (bug 1317295)
Backed out changeset 9508c116ecd7 (bug 1316750)
2016-11-14 16:44:52 -08:00
David Anderson 193097c072 Add missing null check in DeviceManagerDx::HasDeviceReset. (bug 1317513, r=rhunt) 2016-11-14 16:38:26 -08:00
David Anderson 2c5e03e62e Don't reset devices for each tab when the compositor resets. (bug 1316788, r=rhunt) 2016-11-14 11:47:01 -08:00
David Anderson c7859ea378 Remove assertions in TextureClient that IPC is open. (bug 1316599, r=mattwoodrow) 2016-11-14 11:46:34 -08:00
Jonathan Kew ea50f33588 Bug 1316262 - Guard against failure applying font-size-adjust to tiny font sizes with GDI backend, where metrics round to zero so we cannot compute aspect ratio. r=mchang 2016-11-14 13:42:06 +00:00
Jonathan Watt 7222698162 Bug 1316750, part 3 - Add special case code to handle CAIRO_SURFACE_TYPE_WIN32 in PrintTarget::GetReferenceDrawTarget. r=edwin 2016-11-14 17:32:20 +00:00
Jonathan Watt 6330bf5cb7 Bug 1316750, part 2 - Add CairoContentToCairoFormat helper to HelpersCairo.h. r=edwin 2016-11-14 17:32:17 +00:00
Jonathan Watt fd2554eca4 Bug 1316750 - Fix CAIRO_SURFACE_TYPE_WIN32 warnings as errors case. r=me CLOSED TREE 2016-11-14 11:52:50 +00:00
Jonathan Kew 7dac7f4e74 Bug 1315642 - Check that font resource decoded/sanitized by OTS is a usable OpenType format (in particular, we do NOT yet support TrueType Collection resources, even though OTS can decode them). r=jrmuizel 2016-11-14 14:54:23 +00:00
Jonathan Watt f1b0a13934 Bug 1316750 - Back out the CAIRO_SURFACE_TYPE_WIN32 code to fix bustage. r=me CLOSED TREE 2016-11-14 10:54:11 +00:00
Jonathan Watt 64ba82b83c Bug 1316299 - Invert broken logic in DrawTargetSkia::CreateSimilarDrawTarget's warning. r=lsalzman 2016-11-07 15:38:41 +00:00
Jonathan Watt a83ad806e9 Bug 1317295 - Record PrintTarget::GetReferenceDrawTarget DrawTargets. r=edwin 2016-11-04 13:42:18 +00:00
Jonathan Watt ff5502c156 Bug 1316750 - Add special case handling for CAIRO_SURFACE_TYPE_WIN32 and CAIRO_SURFACE_TYPE_QUARTZ in PrintTarget::GetReferenceDrawTarget. r=edwin 2016-11-03 09:47:19 +00:00
Jonathan Kew b809e13f8d Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato 2016-11-14 09:23:49 +00:00
Sebastian Hengst 4f23e5acc2 Backed out changeset 5d9a785a37c4 (bug 1281448) for Android bustage. r=backout 2016-11-14 10:45:52 +01:00
Carsten "Tomcat" Book b2a4dc4f2f Merge mozilla-central to mozilla-inbound 2016-11-14 10:35:18 +01:00
Jonathan Kew 51e4a42011 Bug 1281448 - part 1+2 - Update character property table generator script for Unicode 9 (in particular, security/xidmodifications.txt is replaced by security/IdentifierStatus.txt and IdentifierType.txt), and adjust APIs to fit the new identifier-type property model; update the generated data files. r=m_kato 2016-11-14 09:23:49 +00:00
Sylvestre Ledru d6ef1e706d Bug 1317430 - Avoid a unnecessary copy by passing a const & in gfx/ r=nical
MozReview-Commit-ID: 4AHG1queVe6

--HG--
extra : rebase_source : cd678e951710321c798b5ca617f39b18f82bea77
2016-11-14 23:16:18 +01: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
Wes Kocher cee41d5b80 Merge inbound to central, a=merge 2016-11-11 13:56:45 -08:00
Phil Ringnalda be66b650bb Backed out changeset bb4879b87c17 (bug 1313884) because bad things happen @mozilla::dom::CanvasRenderingContext2D::DrawImage all the time
CLOSED TREE
2016-11-10 23:28:02 -08:00
Daosheng Mu 4d84c1a5cc Bug 1299932 - Part 3: Handle OpenVR controller position and orientation; r=kip
MozReview-Commit-ID: FyneJ5JfeNE

--HG--
extra : rebase_source : afd91ee94416285441397e6f51d6031c40fa5513
2016-10-24 18:09:11 +08:00
Milan Sreckovic 09875b84c7 Bug 1313884 - Part 2: Additional nullptr test and nightly/aurora crash if bad things happen. r=gw280
--HG--
extra : rebase_source : 14ff98dde9eeccb1bbdeb0ccb9b6dcba75d5ebf2
2016-11-10 10:26:00 -05:00
Ryan Hunt 13190be4e0 Bug 1316476 - Limit the amount of device resets we allow with the gpu process. r=dvander
--HG--
extra : rebase_source : 7d1b74ad7573b91ea28e9cf015fc6d24c104f646
2016-11-09 20:57:04 -06:00
Ryan Hunt f72009a953 Bug 1316479 - Move CrossProcessCompositorBridgeParent to its own file. r=dvander
--HG--
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.cpp
rename : gfx/layers/ipc/CompositorBridgeParent.cpp => gfx/layers/ipc/CrossProcessCompositorBridgeParent.h
extra : rebase_source : 4c05587e311d2e6ecd49e8831abdb647967971e7
2016-11-10 12:05:06 -06:00
David Anderson 73757f14b1 Disable the GPU process when LayerScope is enabled. (bug 1316429, r=milan) 2016-11-10 10:55:32 -08:00
Carsten "Tomcat" Book f93282b491 Merge mozilla-central to mozilla-inbound 2016-11-10 17:08:43 +01:00
Carsten "Tomcat" Book 4b6cab91f9 merge mozilla-inbound to mozilla-central a=merge 2016-11-10 16:59:38 +01:00
David Anderson 3ffb31894f Don't access gfxPlatform from WinCompositorWidget. (bug 1316481, r=mattwoodrow) 2016-11-09 20:49:09 -08:00
David Anderson 0d0c688b90 Add missing CompositableClient::IsConnected checks to ShadowLayers. (bug 1316419, r=mattwoodrow) 2016-11-09 18:26:48 -08:00
David Anderson 047f6a9797 Don't assume that PTextureChild allocation succeeds. (bug 1314425, r=nical) 2016-11-09 18:25:27 -08:00
Jonathan Watt 02c8d37eee Bug 1316338 - Make PrintTargetThebes set mHasActivePage as appropriate. r=lsalzman 2016-11-02 12:41:19 +00:00
Jonathan Watt de8450e0df Bug 1316322 - Make Factory::CreateNativeFontResource work for Skia. r=lsalzman 2016-10-31 16:27:19 +00:00
Jonathan Watt 17906ea120 Bug 1316299 - Change assertion in DrawTargetSkia::CreateSimilarDrawTarget to a warning. r=lsalzman 2016-10-31 15:05:30 +00:00
Carsten "Tomcat" Book 5b3af6e85f Merge mozilla-central to mozilla-inbound 2016-11-09 16:39:18 +01:00
Carsten "Tomcat" Book 846adaea6c merge mozilla-inbound to mozilla-central a=merge 2016-11-09 16:38:04 +01:00
Carsten "Tomcat" Book 1d94331de7 Backed out changeset 364305744e4c (bug 1297790) for test bustage 2016-11-09 10:26:27 +01:00
George Wright dd8ff04b54 Bug 1297790 - Add GPU process feature status to the Telemetry environment r=dvander,gfritzsche data-review=bsmedberg 2016-11-09 03:18:32 -05:00
Matt Woodrow f880884b57 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Masatoshi Kimura fd494b2e0a Bug 1313280 - Fix invalid non-UTF-8 bytes from cairo. r=jrmuizel
MozReview-Commit-ID: 8ieCP3HK9Jt

--HG--
extra : rebase_source : 37289e1df598e50da760d3929c72343714e92a10
extra : source : abb872d6079ff48edff2abf164667d1b413f378b
2016-10-28 21:08:38 +09:00
Chih-Yi Leu 33fd01fd18 Bug 1304291 - Move driver workaround code into fReadPixels and remove alpha check. r=jgilbert
--HG--
extra : rebase_source : 6389bf82f86441cf0413dd15df3a81cf4decfa4c
2016-10-27 23:23:00 -04:00
Kevin Chen 391e9fa548 Bug 1160157 - Use AutoTextureLock to manage the shared resource's mutex. r=dvander
--HG--
extra : rebase_source : 69fe51900e06c669908eca1bbb7b82cf9922cc38
2016-11-07 00:48:00 -05:00
peter chang c62a36256a Bug 1311644 - Pass ImageBridge as allocator to create YCbCr texture client, r=nical
MozReview-Commit-ID: 4P5LyWST0yv

--HG--
extra : rebase_source : 197e61e256858bc25cc8be7638bdb0eb39cf0cf5
2016-11-08 15:22:36 +08:00
peter chang 1626104a4c Bug 1311644 - Create YCbCr texture client with valid allocator, r=nical
MozReview-Commit-ID: 2qQBBYb7Ist

--HG--
extra : rebase_source : eb284be301b78ffa68bfa3783f06b144c59b85eb
2016-11-08 11:40:24 +08:00
Carsten "Tomcat" Book 6999313142 Merge mozilla-central to autoland 2016-11-09 16:42:13 +01:00
cku e2c3982cb7 Bug 1314001 - Part 1. Add pref: layers.draw-mask-debug. r=mstange
MozReview-Commit-ID: GO9glColUeg

--HG--
extra : rebase_source : 328cf435972498ac7bdef9790aeb5c5e52f4725d
2016-11-04 11:13:00 +08:00
Daosheng Mu ba525e3bc3 Bug 1310904 - Part 2: Solving non MOZ_GAMEPAD case in VR; r=gw280
MozReview-Commit-ID: mOoSWGQawI

--HG--
extra : rebase_source : 4171659ed182e243e88b276ec56f5d5829593d56
2016-11-04 15:53:01 +08:00
Daosheng Mu 954b7fbf40 Bug 1315636 - Hanlde OpenVR controller button release; r=gw280
MozReview-Commit-ID: 9ihcXugQn2r

--HG--
extra : rebase_source : 07db2d3d11fe3a42bf5a3f625f2b5f7728017ea1
2016-11-08 08:15:01 +08:00
Markus Stange 489918ff7c Bug 1304152 - Printing uses DrawTargetCairo. Don't blindly assume we have a DrawTargetSkia. r=mchang
MozReview-Commit-ID: 3JVDjawRLTM

--HG--
extra : rebase_source : d2bd99ee049cf5f961f7ea463e972eb00cc8f0c6
2016-10-25 16:22:17 -04:00
Wes Kocher 0330db10eb Merge m-c to autoland, a=merge 2016-11-08 14:09:10 -08:00
Wes Kocher 008fdd9329 Merge inbound to central, a=merge 2016-11-08 13:58:20 -08:00
Phil Ringnalda 27a5b8d2ae Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow 8ef69ac7f8 Bug 1315585 - Don't assume mLastCompositionEndTime has been initialized in NotifyNotUsedAfterComposition. r=dvander 2016-11-08 15:38:30 +13:00
Matt Woodrow 1d5209319c Bug 1315584 - Remove picture rect assertion in LayerTransactionParent since it can fail if the texture isn't available. r=dvander 2016-11-08 15:26:42 +13:00
Matt Woodrow 5b78e0fd3c Bug 1315583 - Release ActiveResourceTracker on the main thread. r=dvander 2016-11-08 15:24:36 +13:00
Matt Woodrow b2c5102506 Bug 1315582 - Try recreate ImageContainer IPDL object before creating Images. r=dvander 2016-11-08 15:24:13 +13:00
Matt Woodrow 7afb98ff2b Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Kartikaya Gupta c19a47d368 Bug 1315974 - Have the CompositorBridgeChild take a LayerManager instead of a ClientLayerManager. r=dvander
MozReview-Commit-ID: CPTCQgIl5ad

--HG--
extra : rebase_source : dabc583be1de1700c35444e517070455349ea9b8
2016-11-08 10:42:19 -05:00
George Wright 51a59d1d02 Bug 1314426 - Add a method to nsIDOMWindowUtils to terminate the GPU process and get the GPU process pid r=smaug,dvander 2016-11-07 14:22:48 -05:00
Phil Ringnalda 9a35a9e7b6 Merge m-c to autoland 2016-11-07 20:41:56 -08:00
Kartikaya Gupta 54c54c7a09 Bug 1315706 - Pass a wrapper struct to various CompositorWidget functions. r=dvander
This is the first step in using these functions without having a
LayerManagerComposite at all.

MozReview-Commit-ID: 2zkuB7Ox4Ut

--HG--
extra : rebase_source : b23988275f5851a2fd30bd3e8a9931107a224c66
2016-11-07 21:16:52 -05:00
Wes Kocher a2603b1a0e Merge m-c to autoland, a=merge 2016-11-07 14:05:01 -08:00
Kartikaya Gupta 57f37706cc Bug 1315477 - Add a AsBasicLayerManager() function and use instead of static_casts. r=mattwoodrow
MozReview-Commit-ID: DV6XZBEXw85

--HG--
extra : rebase_source : b82f2ea2d073292c2a9514ba8a4c2d0c8397d90a
2016-11-07 11:38:45 -05:00
David Anderson 718c1c97fe Don't attach shadowable layers if IPDL fails to construct an actor. (bug 1314349, r=mattwoodrow) 2016-11-06 18:50:15 -08:00