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

128 Коммитов

Автор SHA1 Сообщение Дата
Kartikaya Gupta e230d54989 Bug 1072093 - Support progressive-paint on OS X 10.7 or later. r=BenWa 2014-11-07 14:17:14 -05:00
Matt Woodrow 5f774f10ac Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa
--HG--
extra : rebase_source : fc5e7007477a8d999fdd1380bf81dd4c205099df
2014-10-20 17:04:39 +13:00
Daniel Holbert 73c6a5631c Backout fa9c6845338e (bug 1085223) for causing bug 1087257. 2014-10-22 13:03:18 -07:00
Carsten "Tomcat" Book 05f05fd22c merge fx-team to mozilla-central a=merge 2014-10-21 15:38:16 +02:00
David Parks 5b3ab326b6 Bug 918634 - swapFrameLoader not implemented for e10s r=nical
Allow layers to change layermanager if using LayerManagerComposite.

--HG--
extra : rebase_source : f24fde110f91fff7e2ceb3ddcd4549077a15f3c6
2014-10-14 15:11:38 -07:00
Jonathan Watt c1c0f335ce Bug 1082477, part 1 - Convert Matrix4x4::TranslatePost/ScalePost callers to Matrix4x4::PostTranslate/PostScale. r=Bas 2014-10-16 10:51:12 +01:00
Matt Woodrow e57f853968 Bug 1085223 - Add an occlusion culling pass to compositor layers. r=BenWa 2014-10-20 17:04:39 +13:00
Markus Stange 7d5a3be591 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Jeff Muizelaar 34032eed5e Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Benoit Girard f663585192 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Kartikaya Gupta 39c367463c Bug 1053992 - Add a red square in the top-right corner of FPS display for unused APZ transforms (i.e. when content is sync-scrolling). r=BenWa 2014-09-04 13:54:54 -04:00
Benoit Girard 3ce2052a5c Bug 1061846 - Add constants for transaction delay indicator. r=milan
--HG--
extra : rebase_source : 7176c689bd00e90590cc021ab35189720019c73e
2014-09-02 14:37:34 -04:00
Benoit Girard d83f3e3d33 Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Kartikaya Gupta f72e3c0ee4 Bug 1055760 - Update some more bits of compositor layer code to deal with multiple FrameMetrics. r=BenWa,botond 2014-08-27 22:13:42 -04:00
Kartikaya Gupta 81379297b8 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta baed559ce3 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Jeff Muizelaar ca08386811 Bug 1048916. Convert a bunch of layers from nsAutoPtr to UniquePtr. r=roc
This makes the ownership of LayerProperties more clear.

--HG--
extra : rebase_source : 5d786a246337353522fc1d6e2c252e98e673e936
2014-08-25 11:09:39 -04:00
Milan Sreckovic d284127fd1 Bug 1055891: Add contrast to layer effects. Rename preferences to be consistent. More comments, some more explicit tests. r=mattwoodrow 2014-08-25 15:36:17 -04:00
Kartikaya Gupta 08b5038258 Bug 1055605 - Replace MOZ_ANDROID_OMTC with MOZ_WIDGET_ANDROID. r=BenWa 2014-08-22 15:26:56 -04:00
Benoit Girard 0d295d7249 Bug 1010584 - Part 1: Introduce RenderTargetPixel. r=mwoodrow 2014-07-30 14:36:15 -04:00
Jeff Muizelaar df48ffb1b7 Bug 1016539. Add support for accelerated a11y filters. r=mwoodrow
This adds the ability to render to a temporary surface and use that
to apply a filter effect to all of the content.
2014-08-07 17:44:08 -04:00
Kartikaya Gupta 40ac29fbd1 Bug 1051985 - Move the FrameMetrics from ContainerLayer to Layer. r=mattwoodrow,BenWa 2014-08-11 20:00:36 -04:00
Nicolas Silva ba56925243 Bug 1043426 - Don't crash when failing to upload apply a maskon a container layer. r=Bas 2014-08-01 15:53:12 +02:00
David Zbarsky 0b0a830d84 Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-08-01 08:31:47 -04:00
Wes Kocher 3c155637a3 Backed out 11 changesets (bug 952977) for reftest-no-accel failures
Backed out changeset ea2367c19da3 (bug 952977)
Backed out changeset c401c8748eb3 (bug 952977)
Backed out changeset a93e9ff1043b (bug 952977)
Backed out changeset 765b7f67163e (bug 952977)
Backed out changeset 3d8cf4f5777f (bug 952977)
Backed out changeset 8993710a3ab3 (bug 952977)
Backed out changeset 1298c39b745a (bug 952977)
Backed out changeset be0b899fbe5e (bug 952977)
Backed out changeset f69bea1f1feb (bug 952977)
Backed out changeset 1a745777f07e (bug 952977)
Backed out changeset 5ad1d18dfe17 (bug 952977)
2014-07-29 18:58:46 -07:00
David Zbarsky 8bd2b6f048 Bug 952977: More gfx::Matrix cleanup in LayerManagerComposite r=nical 2014-07-29 19:18:49 -04:00
Boris Chiou 1188a41eb3 Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.

In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.

By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02: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
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
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
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
Sushil Chauhan a19515ba19 Bug 1027343 - Geometry change flag needs to be set for modified layer tree. r=mattwoodrow 2014-07-07 12:58:26 -07:00
Kartikaya Gupta ccf8c8beb4 Bug 1034258 - Change mCompositionBounds to be a ParentLayerRect instead of a ParentLayerIntRect. r=Cwiiis 2014-07-04 08:12:41 -04:00
Boris Chiou b86e69633f Bug 975346 - Part 2: Support LayerScope for HwcComposer2D. r=dglastonbury
1. Retrieve buffer from GPU.
2. Refactor - use SenderHelper class to manage the Sender
   static function structure.
2014-07-03 01:17:00 +02:00
Benoit Girard dc1ed6a8ac Bug 1015659 - Replace frame-counter by qrcode to tag video frames. r=jrmuizel 2014-06-17 16:34:42 -04:00
Victor Porof 9ce7e9c089 Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj 2014-05-23 17:12:29 -04:00
Matt Woodrow 0726340c00 Bug 1013767 - Restrict BasicCompositor snapshots to the bounds of the invalid region. r=nical 2014-05-28 13:21:32 +12:00
Benoit Girard df3b7c99d5 Bug 1014042 - Add compositor benchmark. r=jrmuizel 2014-05-21 17:29:49 +00:00
Vincent Chen 5d327d4fc7 Bug 983489 - Delay destroying mCompositor to prevent crash. r=nical 2014-05-04 19:52:00 -04:00
Mason Chang 34003a0f7c Bug 990835 - Change Compositor FPS to be Histogram based. r=benwa 2014-05-09 09:50:00 -04:00
Matt Woodrow 23232a9040 Bug 950312 - Part 2: Add Effect for BlendModes. r=nical 2014-05-09 21:48:29 +12:00
Vladimir Vukicevic 6bb031a341 b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa 2014-05-08 16:49:01 -04:00
Carsten "Tomcat" Book 0f82c9229c Backed out changeset 290f4be587a1 (bug 983489) for suspicion that this caused the m8 and m10 on ics debug on a CLOSED TREE 2014-05-05 16:19:22 +02:00
Vincent Chen d497f40f3d Bug 983489 - "Crash on nsIAppStartup.quit() - application crashed [@ mozilla::gl::GLContext::MakeCurrent(bool)]" r=nical 2014-04-29 23:49:00 +02:00
Jonathan Watt 200e95e9eb Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Jonathan Watt 52c729fd76 Bug 964731 - Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D. r=Bas 2014-04-10 09:49:49 +01:00
Sushil Chauhan 3dadf39115 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Matt Woodrow 87bb5ca618 Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc 2014-03-28 16:38:32 +13:00
Phil Ringnalda 8eb18b0e12 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00