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

4639 Коммитов

Автор SHA1 Сообщение Дата
Milan Sreckovic 5191e87513 Bug 1043603: Expose tile pool size and pool shrink timeout as prefs. r=clord 2014-07-25 15:49:47 -04:00
Kartikaya Gupta d03e0ec72c Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Ed Morley a1c6e86050 Backed out changeset a0a40196da87 (bug 973096) for non-unified build failures 2014-07-25 16:27:21 +01:00
Kartikaya Gupta e7d45b9787 Bug 973096 - When computing the hit test area for an APZC, remove the visible regions of layers obscuring it. r=botond 2014-07-25 08:27:43 -04:00
Nicolas Silva afef7c0a5e Bug 1042052 - Add TextureClient::CreateSimilar and have component alpha buffer be of the same type. r=sotaro 2014-07-25 11:24:46 +02:00
Jon Morton d910b0ff44 Bug 1042379 - Ensure ImageBridgeChild's destructor runs on the main thread. r=nical 2014-07-24 14:12:00 +02:00
Botond Ballo eaad958496 Bug 1041751 - Fix an order-of-arguments mistake. r=tn 2014-07-24 19:11:00 -04:00
Wes Kocher 1d61afce3d Merge m-c to inbound a=merge 2014-07-24 17:55:50 -07:00
Kartikaya Gupta 8dcfb66686 Bug 1043663 - Remove incorrect assertion. r=botond 2014-07-24 18:47:02 -04:00
Kartikaya Gupta 4f1f08458d Bug 1042734 - Don't mis-handle events that are coming in with the same timestamp. r=botond 2014-07-24 16:58:54 -04:00
Matt Woodrow c7d7b28ccf Bug 1037226 - Don't crash when surface allocation fails in BasicCompositor. r=Bas
--HG--
extra : rebase_source : d6e655c642256ddeddb471726f40f37b98d3ac0f
2014-07-24 15:48:28 +12:00
Kartikaya Gupta 2a4d9ff565 Bug 1039159 - Clear the velocity queue on touch-cancel. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta 428b5f7f65 Bug 1039159 - Assert mVelocityQueue can only be touched on the controller thread. r=botond 2014-07-23 17:08:55 -04:00
Kartikaya Gupta 1ee439efe5 Bug 1039159 - Ensure we don't touch the velocity queue from the compositor thread. Thanks to :jerry for finding this. r=botond 2014-07-23 17:08:54 -04:00
Wes Kocher 6a403049ae Backed out changeset 5d2176af4ed1 (bug 1042771) for frequent b2g r18 failures 2014-07-24 12:45:34 -07:00
Nicolas Silva 75420bc281 Bug 1015718 - Don't crash creating a TextureHost if there is no device or if deserialization failed. fixing test failure on a CLOSED TREE 2014-07-23 20:17:15 +02:00
Botond Ballo f5daaf4cfe Bug 1035598 - Apply async scale correctly to ContainerLayers whose content does not start at the origin. r=kats,mattwoodrow 2014-07-22 18:10:54 -04:00
Botond Ballo be603754de Bug 1035598 - Add gfx3DMatrix::ChangeBasis(), replacing nsLayoutUtils::ChangeMatrixBasis(). r=mattwoodrow 2014-07-22 18:05:13 -04:00
Benoit Girard 7df7a65422 Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis 2014-07-24 13:34:43 -04:00
Botond Ballo 4dc8bf13d7 Bug 1041751 - Do not create an empty APZ test data bucket for each paint when APZ test logging is not pref'd on. r=kats 2014-07-23 18:38:28 -04:00
Sotaro Ikeda f73d5b099c Bug 1042946 - Discard back buffer on error in ClientTiledLayerBuffer::ValidateTile() r=nical 2014-07-24 06:40:17 -07:00
Sotaro Ikeda a8abed619a Bug 1042771 - Fix TextureClientPool::ReturnDeferredClients() r=nical 2014-07-24 06:16:47 -07:00
Botond Ballo e36c402f21 Bug 1007728 - Avoid calling APZCTreeManager::UpdatePanZoomControllerTree() on repeat transactions. r=kats,BenWa
--HG--
extra : rebase_source : 470498aae39f2f297cd181372413b197e5c71821
2014-05-30 18:52:43 -04:00
Nicolas Silva cc62acd996 Bug 1015718 - Keep the client-side D3D11 texture alive longer so that its destruction does not race with its deserialization. r=bas 2014-07-22 17:49:05 +02:00
Matt Woodrow 024807715d Bug 1015718 - Deserialize the DXGI handle when constructing the TextureHost rather than when locking it. r=nical 2014-07-16 18:05:58 +12:00
Frederic Plourde ebac609549 b=1015218 Buffer image content layers on server-side xlib surfaces with OMTC basic r=karlt
With image offscreen surfaces enabled for content layers on GTK3, our Basic
compositor needs a way to deal with image layers buffering and compositing in
a performant way.  This patch subclasses BasicCompositor into a new
X11BasicCompositor and makes use of a new TextureSource
(X11DataTextureSourceBasic) in order to buffer TextureHost's data into
gfxXlibSurface on compositor side so that we can use XRender when available to
composite layer contents directly to the Window.

When this buffering will occur, switch to ContentClientSingleBuffered.

--HG--
extra : rebase_source : adad6b1c05dcf516a1ea84c6a529df5f141c198f
2014-07-23 11:02:25 +12:00
Wes Kocher 65836894fe Backed out changeset c1ea5a8280d7 (bug 1041751) for b2g Gip orange on a CLOSED TREE 2014-07-22 16:54:52 -07:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Kartikaya Gupta 904150c373 Bug 1038416 - Draw the background color under reduce-opacity low-res content. r=botond 2014-07-22 17:44:15 -04:00
Kartikaya Gupta 3377ff3ee2 Bug 1038416 - Don't apply opacity-reduction to low-res content that is not fully opaque. r=BenWa 2014-07-22 17:44:15 -04:00
Jeff Muizelaar 52c3a007ec Bug 1041690. ShmTextureHost: Remove unnecessary manual deletion
--HG--
extra : rebase_source : b236e7ca49271518e5f9dfe5313475419a7b6250
2014-07-22 16:55:19 -04:00
Botond Ballo 1b15593ea1 Bug 1040226 - Avoid getting stuck after overscroll is handed off to an APZC later in the handoff chain. r=kats 2014-07-21 14:36:37 -04:00
Botond Ballo 7d8537d1bf Bug 1041471 - Call CancelAnimation() on a touch-cancel. r=kats 2014-07-21 15:42:58 -04:00
Botond Ballo c556f83e5c Bug 1041751 - Do not create an empty APZ test data bucket for each paint when APZ test logging is not pref'd on. r=kats
--HG--
extra : rebase_source : fd4f5af2b018061d26dcb99b45526f8bdf48ef15
2014-07-22 15:35:18 -04:00
Octoploid 18faaeac6a bug 1036401 - adjust includes to fix up some issues with complete types instead of forward declarations being required r=bz r=bjacob 2014-07-22 11:29:33 -04:00
Jeff Muizelaar be3ca57d73 Bug 1041690. Make ShmemTextureHost's mShmem member a UniquePtr. r=nical
This makes the ownership clear and removes some code.

--HG--
extra : rebase_source : fca529c3e5dd224be090876a6f4528ed8686e4e5
2014-07-21 18:55:02 -04:00
Kartikaya Gupta 0df3a31848 Bug 1040906 - Replace the out-param on matrix conversion helpers with a return value. r=Bas 2014-07-22 09:12:14 -04:00
Nicolas Silva 23cd52c9d1 Bug 1040028 - Create and allocate in one step when we used to call CreateBufferTextureClient and CreateTextureClientForDrawing. r=sotaro 2014-07-22 14:17:31 +02:00
Nicolas Silva b2be1f75d9 Bug 1040028 - Create and Allocate TextureClients as 1 step in TextureClientPool. r=sotaro 2014-07-22 14:17:25 +02:00
Boris Chiou 9759efe0fb Bug 1030922 - Replace nsAuto(Array)Ptr with UniquePtr in LayerScope.cpp. r=dglastonbury 2014-07-21 21:12:00 +02:00
David Zbarsky cde5243eed Fixup changeset f17694ec185b for bug 952977 r=me 2014-07-21 22:05:18 -04:00
David Zbarsky dbec21f243 Fix MOZ_RENDERTRACE bustage from bug 952977 r=me 2014-07-21 21:37:57 -04:00
David Zbarsky 09ac7edd0d Bug 952977: Switch some remaining gfxMatrix uses in layers to gfx::Matrix r=nical 2014-07-21 21:37:57 -04:00
Jeff Muizelaar c77f66ee40 Bug 1023473. Pad out tile contents by one pixel. r=BenWa
This fixes reading unitialized data during texture filtering.
It's complicated because we can have regions of initialized data
and padding out a region is much harder than a rectangle.

We currently only take this path for tiled things because of
the artifacts that show up during the sampling that helps
in overscroll. It's also not a great long term solution because
it only works for software backends.
2014-07-18 14:25:34 -04:00
Kartikaya Gupta a1cc48a946 Bug 1034240 - Trigger an update of the displayport margins on a new APZC if the content already has margins. r=botond 2014-07-21 14:00:52 -04:00
Botond Ballo c9ae48f4e5 Bug 1036119 - Have AsyncCompositionManager support layers which are both scrollable and fixed-position. r=Cwiiis 2014-07-17 16:08:33 -04:00
Botond Ballo 1506934be8 Bug 1030803 - Account for floating-point error in Axis::ScaleWillOverscrollAmount(). r=kats 2014-07-17 14:45:57 -04:00
Sotaro Ikeda 5c36208714 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Jeff Muizelaar 4f8f5212b2 Bug 1037220. Reorder rendering to avoid render target switches. r=mwoodrow,bgirard
Before we would for example draw the background, switch to a container layers's
render target, draw to that, switch back the render target draw the
container layer, move on to the next container layer etc.

This render target switching is especially bad for mobile gpus (like adreno
that needs to move things in and out of gmem).

This change switches to a two pass approach that renders all of the container
layers first (unless they need a copy of the background) and then composites
everything all together.

--HG--
rename : toolkit/devtools/jsbeautify/beautify.js => browser/devtools/shared/Jsbeautify.jsm
rename : security/pkix/include/pkix/Input.h => security/pkix/lib/pkixder.h
rename : security/pkix/include/pkix/Result.h => security/pkix/lib/pkixutil.h
rename : toolkit/components/places/tests/unifiedcomplete/test_416211.js => toolkit/components/places/tests/autocomplete/test_416211.js
rename : toolkit/components/places/tests/unifiedcomplete/test_416214.js => toolkit/components/places/tests/autocomplete/test_416214.js
rename : toolkit/components/places/tests/unifiedcomplete/test_417798.js => toolkit/components/places/tests/autocomplete/test_417798.js
rename : toolkit/components/places/tests/unifiedcomplete/test_418257.js => toolkit/components/places/tests/autocomplete/test_418257.js
rename : toolkit/components/places/tests/unifiedcomplete/test_422277.js => toolkit/components/places/tests/autocomplete/test_422277.js
rename : toolkit/components/places/tests/unifiedcomplete/test_autocomplete_on_value_removed_479089.js => toolkit/components/places/tests/autocomplete/test_autocomplete_on_value_removed_479089.js
rename : toolkit/components/places/tests/unifiedcomplete/test_download_embed_bookmarks.js => toolkit/components/places/tests/autocomplete/test_download_embed_bookmarks.js
rename : toolkit/components/places/tests/unifiedcomplete/test_empty_search.js => toolkit/components/places/tests/autocomplete/test_empty_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_enabled.js => toolkit/components/places/tests/autocomplete/test_enabled.js
rename : toolkit/components/places/tests/unifiedcomplete/test_escape_self.js => toolkit/components/places/tests/autocomplete/test_escape_self.js
rename : toolkit/components/places/tests/unifiedcomplete/test_ignore_protocol.js => toolkit/components/places/tests/autocomplete/test_ignore_protocol.js
rename : toolkit/components/places/tests/unifiedcomplete/test_keyword_search.js => toolkit/components/places/tests/autocomplete/test_keyword_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_match_beginning.js => toolkit/components/places/tests/autocomplete/test_match_beginning.js
rename : toolkit/components/places/tests/unifiedcomplete/test_multi_word_search.js => toolkit/components/places/tests/autocomplete/test_multi_word_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_special_search.js => toolkit/components/places/tests/autocomplete/test_special_search.js
rename : toolkit/components/places/tests/unifiedcomplete/test_swap_protocol.js => toolkit/components/places/tests/autocomplete/test_swap_protocol.js
rename : toolkit/components/places/tests/unifiedcomplete/test_tabmatches.js => toolkit/components/places/tests/autocomplete/test_tabmatches.js
rename : toolkit/components/places/tests/unifiedcomplete/test_word_boundary_search.js => toolkit/components/places/tests/autocomplete/test_word_boundary_search.js
rename : toolkit/components/places/tests/unifiedcomplete/head_autocomplete.js => toolkit/components/places/tests/inline/head_autocomplete.js
rename : toolkit/components/places/tests/unifiedcomplete/test_autocomplete_functional.js => toolkit/components/places/tests/inline/test_autocomplete_functional.js
rename : toolkit/components/places/tests/unifiedcomplete/test_casing.js => toolkit/components/places/tests/inline/test_casing.js
rename : toolkit/components/places/tests/unifiedcomplete/test_do_not_trim.js => toolkit/components/places/tests/inline/test_do_not_trim.js
rename : toolkit/components/places/tests/unifiedcomplete/test_keywords.js => toolkit/components/places/tests/inline/test_keywords.js
rename : toolkit/components/places/tests/unifiedcomplete/test_queryurl.js => toolkit/components/places/tests/inline/test_queryurl.js
rename : toolkit/components/places/tests/unifiedcomplete/test_trimming.js => toolkit/components/places/tests/inline/test_trimming.js
rename : toolkit/components/places/tests/unifiedcomplete/test_typed.js => toolkit/components/places/tests/inline/test_typed.js
rename : toolkit/components/places/tests/unifiedcomplete/test_zero_frecency.js => toolkit/components/places/tests/inline/test_zero_frecency.js
rename : toolkit/components/places/tests/unifiedcomplete/xpcshell.ini => toolkit/components/places/tests/inline/xpcshell.ini
extra : rebase_source : dc06e25bcc95db43b5c5267d1b7e1065992ddd9c
2014-07-15 16:26:20 -04:00
Wes Kocher 404ebfb0df Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00