Commit Graph

4596 Commits

Author SHA1 Message Date
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
Sotaro Ikeda
0ec28966e8 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
acddf2b5ae Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
1179090250 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Matt Woodrow
5aa300e397 Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
b5f939afaf Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
d8db547ccb Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
5076b654cd Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Carsten "Tomcat" Book
722005748f Backed out changeset c5dbd56332e4 (bug 1023677) for failing reftests on a CLOSED TREE 2014-07-18 10:46:07 +02:00
Carsten "Tomcat" Book
575d59768d Backed out changeset 84df2aaf5e2a (bug 1023677) 2014-07-18 10:45:27 +02:00
Carsten "Tomcat" Book
4e4432eac0 Backed out changeset b049e0ae4d1d (bug 1039145) 2014-07-18 10:45:24 +02:00
Carsten "Tomcat" Book
9522edcc50 Backed out changeset 49c713f92304 (bug 1039145) 2014-07-18 10:45:20 +02:00
Matt Woodrow
e8878fb125 Bug 1039145 - Part 2: Fully remove component alpha/background copying support from BasicCompositor. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
865651f293 Bug 1039145 - Part 1: Clean up AreComponentAlphaLayersEnabled. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
12825a660a Bug 1023677 - Don't set mSupportComponentAlphaChildren unless we actually have them. r=roc 2014-07-18 18:48:23 +12:00
Matt Woodrow
5a49db2b95 Bug 1023677 - Mark BasicCompositor as not supporting component alpha layers. r=roc 2014-07-18 18:48:22 +12:00
Kartikaya Gupta
eb5dd62970 Bug 1039979 - Restore and improve handling of the stop-fast-fling-on-touchdown behaviour. r=botond 2014-07-17 13:41:54 -04:00
Kartikaya Gupta
9395a735f9 Bug 1039979 - When cancelling animations based on user input, cancel animations on the entire handoff chain. r=botond 2014-07-17 13:41:53 -04:00
Kartikaya Gupta
183fd7d774 Bug 1039979 - Cancel animations when a finger goes down without waiting for the content response. r=botond 2014-07-17 13:41:52 -04:00
Kartikaya Gupta
48c7bab023 Bug 1015644 - Follow-up to fix a logging-only build error. r=me and DONTBUILD because NPOTB 2014-07-17 09:27:34 -04:00
Kartikaya Gupta
b3cc44d937 Bug 1009733 - Follow-up to fix a logging-only build error. r=me and DONTBUILD because NPOTB 2014-07-17 05:58:48 -04:00
Walter Litwinczyk
448ee9af19 Bug 1024223 - Fix leak of |dest| and |src| in BasicLayerManager.cpp PixmanTransform(). r=mattwoodrow 2014-07-09 13:48:59 -07:00
Kartikaya Gupta
80ae1b2f26 Bug 995475 - Clear the active element on touch end, if the touch wasn't a click. r=botond 2014-07-16 23:06:36 -04:00
Wes Kocher
ab4d2638df Backed out changeset d5607eeaa106 (bug 1036654) for Windows build bustage on a CLOSED TREE 2014-07-16 13:16:40 -07:00
Sotaro Ikeda
7f32d56a14 Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jrmuizel,jbacob 2014-07-16 13:05:42 -07:00
Benoit Girard
66ac0f6dca Bug 1036654 - Report the tile fragmentation overhead. r=njn,kats,cwiiis
--HG--
extra : rebase_source : 90f11e631060c5147c14360913d9c6bc82bab109
2014-07-16 15:58:03 -04:00
Botond Ballo
5a38fb936a Bug 1039593 - Clean up the TILING_LOG macros. r=kats 2014-07-16 12:42:35 -04:00
Andrew McCreight
928e31b2f3 Bug 1038855, part 2 - Use an nsRefPtr for CompositorChild::SharedFrameMetricsData::mBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Andrew McCreight
6f4fa3efae Bug 1038855, part 1 - Use an nsRefPtr for AsyncPanZoomController::mSharedFrameMetricsBuffer. r=bjacob 2014-07-16 12:39:03 -07:00
Botond Ballo
6f4d9ae935 Bug 1039616 - Re-add scroll ids to the layer dump. r=kats 2014-07-16 13:24:54 -04:00
Kartikaya Gupta
e8ab1883b2 Bug 1009733 - Add thread safety checks for dealing with touch input blocks. r=botond 2014-07-16 12:03:06 -04:00
Kartikaya Gupta
00ac0a2945 Back out c4bb900163fc (part 3 of bug 1009733) for breaking windows builds. r=backout on a CLOSED TREE 2014-07-16 08:57:06 -04:00
Kartikaya Gupta
985e356694 Bug 1009733 - Add thread safety checks for dealing with touch input blocks. r=botond 2014-07-16 08:33:50 -04:00
Kartikaya Gupta
e7190ff526 Bug 1009733 - Rewrite much of the APZC input block handling code. r=botond 2014-07-16 08:33:50 -04:00
Brian Birtles
8a61f8ccfa Bug 1036287 part 3 - Make GetLocalTimeAt return a nullable time duration; r=dholbert
Once we support arbitrary timelines which can return null current time values,
the local time of an animation can also become null so this patch updates
ElementAnimation::GetLocalTimeAt to return a Nullable<TimeDuration>.
Doing this also allows us to pass the result of GetLocalTimeAt directly to
GetComputedTimingAt.
2014-07-16 09:02:32 +09:00
Wes Kocher
a5c126599f Backed out changeset f4592864c982 (bug 1037360) for b2g mochitest-9 failures 2014-07-15 15:45:38 -07:00
Bas Schouten
278bcc4c7d Bug 1036785: Use DIBs for drawing when not using opaque surfaces. r=nical 2014-07-10 23:29:40 +02:00
Ehsan Akhgari
9bfa79023b Bug 1038158 - Give ReadbackResultWriter a private destructor; r=bjacob 2014-07-15 16:41:05 -04:00
Sotaro Ikeda
11459c436e Bug 1037360 - Fix SharedBufferManagerParent's destruction r=jmuizelaar 2014-07-15 13:33:26 -07:00
Benoit Girard
1465e09a99 Bug 1037691 - Fix instances where refcounted classes expose a public destructor. r=ehsan,bent,mayhemer,jrmuizel 2014-07-15 11:37:45 -04:00
Jeff Muizelaar
2b38307221 Bug 1038727 - Convert APZ from nsAutoPtr to UniquePtr. r=kats
--HG--
rename : browser/components/loop/content/shared/js/views.jsx => browser/components/loop/content/shared/js/views.js
rename : toolkit/webapps/tests/test_custom_origin_uninstall_install.xul => toolkit/webapps/tests/test_custom_origin.xul
extra : rebase_source : 2448597696cbf24512b54b6acbdfb52b71995dde
2014-07-15 13:44:37 -04:00
Benoit Girard
193a66a800 Bug 864829 - Add graphics performance warning feature. r=bjacob
--HG--
extra : rebase_source : 11585fb913c4a10c9293787fa6e86f2f76bdcdb4
2014-05-07 18:09:41 -04:00
Sotaro Ikeda
225b222537 Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical 2014-07-15 06:22:35 -07:00
Corentin Wallez
3feaebca75 Bug 1021637: remove unnecessary includes in TextureClient.cpp. r=nical 2014-07-15 09:59:34 +02:00