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

24037 Коммитов

Автор SHA1 Сообщение Дата
Lee Salzman 36bd8ec521 Bug 1320644 - don't use __stdcall with SkiaGLGlue. r=mchang
MozReview-Commit-ID: 5pljJkGSN8R
2016-11-30 15:12:40 -05:00
Mason Chang bf9abf2c35 Bug 1320743 - Delete PathCG. r=lsalzman 2016-11-30 11:12:51 -08:00
Mason Chang 0337770c6a Bug 1319374. Fix --disable-skia builds. r=lsalzman 2016-11-30 10:13:54 -08:00
Kearwood Gilbert 9a9f2caf59 Bug 1318468 - Update VR controller inputs on every VR Vsync rather than every 2D vsync r=daoshengmu
MozReview-Commit-ID: ICuIw4e56VC

--HG--
extra : rebase_source : 7875403f10f20c2467bdb51de20ff72456f9cc2a
2016-11-30 14:24:29 -08:00
Milan Sreckovic 33daa90e3c Bug 1313212 - Show the pointer value, not the string behind it in the debug statement. r=mchang
--HG--
extra : rebase_source : b0aac53f09708ba3b771991d510a0b7463a4cebb
2016-11-29 17:04:59 -05:00
David Anderson 51df7c6290 Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
--HG--
extra : rebase_source : d72c9a74fdfdfbcbf0303b550404ccd7a900c88d
2016-11-29 14:07:27 -08:00
Lee Salzman 03322ca26d Bug 1315848 - Skia clamped gradient fix r=mchang
MozReview-Commit-ID: GUHZC7VRrlC

--HG--
extra : source : f51d3ab82dc60c54403cc6f64f4e0a5a87a5f5ff
2016-11-21 14:10:05 -05:00
Mason Chang 793727bf2c Bug 1315568 Use Force GDI information from SkTypeface for GDI rendering modes in skia. r=lsalzman 2016-11-29 08:03:33 -08:00
Carsten "Tomcat" Book 68202ee27c merge mozilla-inbound to mozilla-central a=merge 2016-11-29 16:47:18 +01:00
Thinker K.F. Li fd84cfc0b8 Bug 1269337 - Implement physical and logical size for GL render target. r=mattwoodrow 2016-11-28 02:14:00 +01:00
Jonathan Watt 40c79814d3 Bug 1309272, part 7 - Restructure the PMSessionBeginCGDocumentNoDialog related code to live in PrintTargetCG. r=lsalzman 2016-11-29 07:55:00 +00:00
Jonathan Watt d2ce7607c8 Bug 1309272, part 6 - Add page start/end arguments to the PrintTarget::BeginPrinting virtual method and overloads. r=lsalzman 2016-11-29 07:54:30 +00:00
Jeff Gilbert (:jgilbert) d570415e50 Bug 1250077 - Implement WEBGL_compressed_texture_astc. - r=ethlin
MozReview-Commit-ID: J2jB4tOJrTs
2016-11-28 18:12:32 -08:00
Jonathan Watt 7b908d5dac Bug 1309272, part 5 - Rework the macOS printing code to get rid of the hacks that create a new PrintTarget for each page. r=lsalzman
--HG--
rename : gfx/thebes/PrintTargetCG.cpp => gfx/thebes/PrintTargetCG.mm
2016-11-28 22:40:43 +00:00
Jonathan Watt 8549879684 Bug 1309272, part 4 - Implement a PrintTarget sub-class for printing via Skia PDF. r=lsalzman 2016-11-18 11:30:25 +00:00
David Anderson 6c16f3cb3e Ensure an ordering between cross-process compositor association and PLayerTransaction construction. (bug 1316632, r=mattwoodrow) 2016-11-28 14:32:20 -08:00
Wes Kocher 809804e4d5 Backed out 5 changesets (bug 1309272) for OSX static build failures a=backout
Backed out changeset 5ecb0db80f15 (bug 1309272)
Backed out changeset d2046ba27486 (bug 1309272)
Backed out changeset 31fdab31ab51 (bug 1309272)
Backed out changeset a9f6271115de (bug 1309272)
Backed out changeset 125e6fb37319 (bug 1309272)

--HG--
rename : gfx/thebes/PrintTargetCG.mm => gfx/thebes/PrintTargetCG.cpp
2016-11-28 13:49:09 -08:00
Nathan Froyd 2ebbd09068 Bug 1320752 - remove mozilla/Function.h; r=gerald
We have std::function available now, which is likely to be somewhat more
efficient.
2016-11-28 11:03:53 -05:00
Wes Kocher 55672c4925 Backed out changeset 2259891dc1e8 (bug 1319557) for build bustage CLOSED TREE a=backout 2016-11-28 12:20:51 -08:00
David Anderson 7cb46ac92e Clean up and relax some assertions in SyncObjectD3D11.cpp. (bug 1319557, r=mattwoodrow)
--HG--
extra : rebase_source : 1e820d463260437a97b14141e0c2c1f38261f59c
2016-11-28 11:43:41 -08:00
Jonathan Watt a986dd0cf9 Bug 1309272, part 7 - Restructure the PMSessionBeginCGDocumentNoDialog related code to live in PrintTargetCG. r=lsalzman 2016-11-22 16:39:08 +00:00
Jonathan Watt 4d09d162ad Bug 1309272, part 6 - Add page start/end arguments to the PrintTarget::BeginPrinting virtual method and overloads. r=lsalzman 2016-11-22 12:43:22 +00:00
Jonathan Watt 09fcf9f506 Bug 1309272, part 5 - Rework the macOS printing code to get rid of the hacks that create a new PrintTarget for each page. r=lsalzman
--HG--
rename : gfx/thebes/PrintTargetCG.cpp => gfx/thebes/PrintTargetCG.mm
2016-11-21 15:07:09 +00:00
Jonathan Watt 3b4766c563 Bug 1309272, part 4 - Implement a PrintTarget sub-class for printing via Skia PDF. r=lsalzman 2016-11-18 11:30:25 +00:00
Nicolas Silva a247565f19 Bug 1309200 - Add gfxPlatfrom::GetSoftwareBackend. r=Bas 2016-11-28 09:40:29 +01:00
Carsten "Tomcat" Book 9dd582c3dd Merge mozilla-central to autoland 2016-11-29 11:50:17 +01:00
Daosheng Mu 65009646f8 Bug 1316279 - Part 2: Fix gfxPrefs::PrefGet string when using default value; r=dvander
MozReview-Commit-ID: AfPFlBo3h7t

--HG--
extra : rebase_source : 768aca9fbdc717a5277b38a31ab095c13479796d
2016-11-25 16:23:25 +08:00
Daosheng Mu 9fb4892439 Bug 1316279 - Part 1: Fix gfxPrefs support for WebVR in out-of-process compositing; r=kip
MozReview-Commit-ID: 13tPgT0uDDi

--HG--
extra : rebase_source : 76de1955e928a5102d7d23b4baf2a3070309afd6
2016-11-23 09:40:54 +08:00
Daosheng Mu bdd87656ea Bug 1320343 - Avoid to set Preference in the GPU process; r=kip
MozReview-Commit-ID: I73foOQh7L0

--HG--
extra : rebase_source : 69498fba6ec435bfce9e8fb55ba56ee64cb2729c
2016-11-26 23:06:34 +08:00
Daosheng Mu 9d690f01a2 Bug 1320633 - Refresh for new controllers coming in gfxVROpenVR; r=kip
MozReview-Commit-ID: Lpvawepnk0u

--HG--
extra : rebase_source : 76fc6937f28c21d597216a5f4ef27095fd66fc5e
2016-11-28 16:57:58 +08:00
Mike Hommey b4a7c9cf1c Bug 1319389 - Generically set SK_CPU_[BL]ENDIAN based on __BYTE_ORDER__ when available. r=lsalzman
--HG--
extra : rebase_source : 895f2166b36df699d542bd39e22bdddd0b423594
2016-11-22 20:09:02 +09:00
Ethan Lin 8a8904b1c0 Bug 1274692 - Remove CG limitation since the backend is skia. r=mstange 2016-10-20 02:14:00 +02:00
Ethan Lin 578f7d5987 Bug 1319004 - Update to ANGLE/2924. r=jgilbert 2016-11-23 02:15:00 +01:00
Morris Tseng 9c57c957d6 Bug 1319985 - Expose ChangeCallback in gfxPrefs. r=milan
MozReview-Commit-ID: GiLq4OwmzYs
2016-11-25 14:01:42 +08:00
Matt Woodrow 71a5f6f9cb Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
--HG--
extra : rebase_source : a8db3fa549dada3925ad3b9c7ab81f4aaa280ffa
2016-11-24 18:11:31 +13:00
Matt Woodrow 45cec2ab70 Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange
--HG--
extra : rebase_source : ed44e14cf38347bf9a18e69cb981f1187775a641
2016-11-24 18:11:30 +13:00
Matt Woodrow 1985af695f Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange
--HG--
extra : rebase_source : de87afc8015649fb5f4a7c4da5f4dc49e19f3d85
2016-11-24 18:11:30 +13:00
Kearwood (Kip) Gilbert 53f4153710 Bug 1315543 - Eliminate UAF in Navigator::NotifyVRDisplaysUpdated,r=dmu 2016-11-24 11:50:43 -08:00
Carsten "Tomcat" Book bd8c3fad15 Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : cc55092faa1331377fa988014566b0df8227ea0f
2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book 831c1e052a Backed out changeset 4909935f8081 (bug 1319626) 2016-11-24 17:02:32 +01:00
Carsten "Tomcat" Book 00e25fe58c Backed out changeset e6760c16df72 (bug 1319626) 2016-11-24 17:02:27 +01:00
Carsten "Tomcat" Book 6b19be2eab Backed out changeset f4f8dc2931aa (bug 1319626) 2016-11-24 17:02:22 +01:00
Carsten "Tomcat" Book dd36826044 Merge mozilla-central to mozilla-inbound 2016-11-24 16:46:19 +01:00
Carsten "Tomcat" Book 61849e269d merge mozilla-inbound to mozilla-central a=merge 2016-11-24 16:41:59 +01:00
Matt Woodrow 3f4d5385f0 Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange 2016-11-24 18:11:31 +13:00
Matt Woodrow 0a8102cacf Bug 1319626 - Part 4: Build BorderLayers if enabled. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow 15af88120a Bug 1319626 - Part 2: Add BorderLayer class and basic support for them. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow d77b5a17ca Bug 1318156 - Add an option to minimize empty area in PaintedLayers. r=mstange 2016-11-24 18:11:30 +13:00
Matt Woodrow 3de8001441 Bug 1317862 - Part 3: Build TextLayers if enabled. r=mstange 2016-11-24 18:11:29 +13:00
Matt Woodrow e332db3aac Bug 1317862 - Part 2: Add a way to query DT recordings for Glyphs. r=Bas 2016-11-24 18:11:29 +13:00
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