Commit Graph

5295 Commits

Author SHA1 Message Date
David Anderson
eb3af90ef3 Forward Windows events to APZ directly from nsWindow. (bug 1109985 part 2, r=kats) 2014-12-15 23:31:12 -08:00
Kartikaya Gupta
25049161ec Add a helper for forwarding event APZ info to TabParent. (bug 1109985 part 1, r=dvander) 2014-12-15 23:28:19 -08:00
Sotaro Ikeda
57b00f37e7 Bug 1010966 - Reduce gl()->fEGLImageTargetTexture2D() call from tiled layer on gonk r=nical 2014-12-15 19:41:21 -08:00
Wes Kocher
2e2d08fbaf Backed out changeset bfe4f2eb91c5 (bug 938034) for non-unified bustage on a CLOSED TREE 2014-12-15 14:16:59 -08:00
Milan Sreckovic
d1a8547d89 Bug 1110528 - Check for invalid surface before calling update. r=nical
CLOSED TREE
2014-12-12 14:56:06 -05:00
Alfredo Yang
fe254ebfaf Bug 938034 - Add new GonkCameraImage image type. r=roc 2014-12-15 01:01:00 -05:00
David Anderson
d556e1e7b3 Create a common chrome-process GeckoContentController. (bug 1110540 part 2, r=kats) 2014-12-15 01:49:48 -08:00
Jacek Caban
46ce038900 Bug 1107297 - Crosscompilation fixup. 2014-12-14 14:36:11 +01:00
Botond Ballo
3a01e6f992 Bug 1073081 - Fix an incorrect comparison between enums of different types. r=nical
--HG--
extra : source : 44eab86293d517ac52811441aab9fd857320743d
2014-11-24 20:00:40 -05:00
Botond Ballo
ad57e8cd3b Bug 1073081 - Remove a couple of unused functions. r=sotaro
--HG--
extra : source : fe519374ce47658711c6803520bb35287702dc50
2014-11-24 20:00:10 -05:00
Botond Ballo
8296035077 Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Botond Ballo
b08ca88b2a Bug 1073081 - Fix -Wsign-compare and -Wsign-conversion warnings. r=ehsan
--HG--
extra : source : 88c58a8cc276a4691ed23fd8b8f2f6c0713b50fd
2014-11-24 19:54:33 -05:00
Bas Schouten
b24ee3fde9 Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Wes Kocher
115e9d90b8 Backed out changeset 2cd43e5ae2c1 (bug 1088414) for breaking non-Windows builds on a CLOSED TREE 2014-12-12 18:11:59 -08:00
Bas Schouten
ee49fe00fe Bug 1088414: Use a single synchronization texture for D3D11. r=jrmuizel
This patch adds a cross platform 'sync object' that is used to synchronize the drawing of individual textures. For the D3D11 implementation all textures that are written to will have one pixel copied into the D3D11 sync texture while holding its lock. The compositor will then, before composition acquire and release sync once, this should ensure all drawing on the content side has completed.
2014-12-13 01:50:47 +00:00
Benoit Girard
568990f3cf Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
--HG--
extra : rebase_source : 05cd593beaf75999aed7c274410dfac422dc6696
2014-12-12 16:11:57 -05:00
Milan Sreckovic
2127426c69 Bug 1109828 - Check for null pointer before dereferencing. r=nical 2014-12-10 15:11:45 -05:00
David Anderson
b7b4b7f826 Fix displayport bounds not being computed from the correct origin. (bug 1109949, r=tn) 2014-12-11 21:13:10 -08:00
David Anderson
a107595018 Don't reuse input blocks with dead APZCs. (bug 1110038, r=kats)
--HG--
extra : rebase_source : 458816195b9e8e0394bfdf662b7173328015415c
2014-12-11 13:03:27 -08:00
Kartikaya Gupta
2fda0e7056 Bug 1013432 - Follow-up to fix build bustage when debug logging is enabled. r=me and DONTBUILD 2014-12-11 11:49:17 -05:00
Kartikaya Gupta
da5a1ed4e2 Bug 1109855 - Fix building of APZC instances via the tree manager for gtests. r=botond
In testing scenarios ensure that we always create a TestAsyncPanZoomController
so that we can unconditionally cast to it and use the extra helpers on that
class.
2014-12-11 10:39:19 -05:00
Nicolas Silva
69017d515d Bug 1108162 - Don't reuse a tile's front buffer if it just switched from non-component-alpha to compoenent-alpha. r=jrmuizel 2014-12-11 10:07:53 +01:00
Kartikaya Gupta
58cbd19de7 Bug 1013432 - Follow up to cset 89858cf28204 to remove accidentally added file. r=me
DONTBUILD because NPOTB
2014-12-10 21:15:44 -05:00
Mason Chang
c388ac3cf3 Bug 1080160 - Integrate Composite Times into Telemetry. r=benwa,avih 2014-12-10 18:15:48 -08:00
Benoit Girard
63d21a12fa Bug 1105834 - Part 3: Add lz4 support to layers.dump-texture. r=jrmuizel 2014-12-08 14:42:33 -05:00
Benoit Girard
d1169f5e7f Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Ehsan Akhgari
278b49e363 Bug 1109699 - Fix more bad implicit constructors in gfx and image; r=jrmuizel 2014-12-10 17:48:11 -05:00
Kartikaya Gupta
6493f3f028 Bug 1013432 - Followup to fix rebase error. r=me 2014-12-10 17:10:24 -05:00
Milan Sreckovic
f60450e005 Bug 1099437 - Part 2: Clean up int vs uint usage. r=nical 2014-11-26 22:00:32 -05:00
Milan Sreckovic
12a0c94814 Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical 2014-12-09 13:19:29 -05:00
Wes Kocher
28af05a0e8 Backed out 3 changesets (bug 1105834) for non-unified b2g bustage
Backed out changeset 7aca65122115 (bug 1105834)
Backed out changeset 47ba9f1d4762 (bug 1105834)
Backed out changeset f0226c3be051 (bug 1105834)
2014-12-09 17:15:42 -08:00
Benoit Girard
ea3fd279e8 Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel
--HG--
extra : rebase_source : 10d4a17018bf62c96f89bd12000d8ee3b3d0b89f
2014-12-08 14:42:33 -05:00
Benoit Girard
962feca530 Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
--HG--
extra : rebase_source : 8c83823acbfda0c8ed812ac9c5137ba4cdbe054b
2014-11-28 17:41:47 -05:00
David Anderson
88a08ca9ca Move APZ handling of wheel events from nsWindow to RenderFrameParent. (bug 1013432 part 7, r=kats)
--HG--
extra : rebase_source : 6ee0db41a21d333deb511a6403f8178b7fe01bb9
2014-12-09 02:42:49 -08:00
David Anderson
fae21c73e9 Add scroll listeners to dispatch-to-content regions. (bug 1013432 part 5, r=tn)
--HG--
extra : rebase_source : babd42d9bdae722173821e800bc595fe662ee8f1
2014-12-09 02:38:23 -08:00
David Anderson
1c62410221 Add wheel events to the APZ input queue. (bug 1013432 part 4, r=kats)
--HG--
extra : rebase_source : beaf39e7ef1eb192e5edd14aa8e55d741f7ffad2
2014-12-09 02:36:13 -08:00
David Anderson
3061888891 Rename ContentReceivedTouch to ContentReceivedInputBlock. (bug 1013432 part 3, r=kats)
--HG--
extra : rebase_source : ee0d05d4774fac9fb34297953e90e61f1d979d5d
2014-12-09 02:35:12 -08:00
David Anderson
02c9453b1d Refactor InputQueue to hold more than touch events. (bug 1013432 part 2, r=kats)
--HG--
extra : rebase_source : cd3691a2bda6aaf315cf3b844e4fdd3aa8b30334
2014-12-09 02:34:27 -08:00
David Anderson
4a1c10d04b Factor out content-handling code from TouchBlockState. (bug 1013432 part 1, r=kats)
--HG--
extra : rebase_source : 12a4f865dda6777c146cfec24184ce45d5d54072
2014-12-09 02:33:29 -08:00
Wes Kocher
ab0d0ffd2b Backed out 3 changesets (bug 1105834) for non-unified bustage
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
908b93e06d Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel 2014-12-08 14:42:33 -05:00
Benoit Girard
6515991e7a Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange 2014-11-28 17:41:47 -05:00
Sotaro Ikeda
0fb912bbcc Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow 2014-12-06 17:12:50 -08:00
Jonathan Watt
c3a1f810cf Bug 1083079 - Prevent the size of TiledDrawTarget from being zero due to its tiles having negative offsets. r=mattwoodrow 2014-12-05 03:00:24 -08:00
Bas Schouten
f3161fe1af Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
Bas Schouten
047e9df31b Bug 1107297: Only recomposite the damaged rect with D3D11. r=jrmuizel
This patch makes us behave similarly to when we're using the BasicCompositor, essentially we will clip all drawing to the final display to the area that was labeled as invalid. When DXGI 1.2 is available we will then also report the damaged area to the Present call so that can then be used to minimize the amount of bits that actually need to be blitted to the screen. Since we're no longer recompositing the whole screen this means we should also only clear the damaged area of the window.
2014-12-06 00:02:18 +00:00
Kartikaya Gupta
5c63a162c6 Bug 1107606 - Allow smooth-scroll triggering on the same transaction as the creation of a new APZC. r=botond,kip 2014-12-05 00:04:36 -08:00
Jeff Muizelaar
53c25bd100 Bug 1049138. Add more crashing to PadDrawTargetOutFromRegion. r=BenWa
try: -b do -p all -u all -t none
Hopefully, this will give us a better idea of what the problem is.

--HG--
extra : rebase_source : 4f048b2501bb13edc4e257aa561bce87ea3137fd
2014-11-26 17:57:20 -05:00
Nicolas Silva
31b06f7324 Bug 1104008 - Make sure the D3D11 swapchain's textures are cleared before resizing. r=Bas. 2014-12-02 14:28:19 +01:00
Benoit Girard
a4449eed3b Bug 1097941 - Properly disable paint-will-resample on b2g. r=jmuizel 2014-11-28 18:42:20 -05:00