Commit Graph

4044 Commits

Author SHA1 Message Date
Botond Ballo
405d022efb Bug 976605 - Have APZ notify GeckoCC on end of touch. r=kats
--HG--
extra : source : e6ff5a48c5e3fd36a8a7b12b7f116a50e4d255db
2014-04-08 15:41:11 -04:00
Botond Ballo
c89b3bb05b Bug 976605 - Increase code reuse between AsyncPanZoomController::OnSingleTapUp and OnSingleTapConfirmed. r=kats
--HG--
extra : source : 133dbc9a5d930a42c9929e1210aad436d8092745
2014-04-08 19:01:44 -04:00
Botond Ballo
46dc820f8e Bug 976605 - Group some fields of AsyncPanZoomController into a TouchBlockState structure. r=kats
--HG--
extra : source : 80ac8ba2dec8939065411e86526bcdfa1c4b3f6d
2014-04-08 15:17:09 -04:00
Botond Ballo
bf3ff244a8 Bug 976605 - Have APZ notify GeckoCC on start of pan. r=kats
--HG--
extra : source : 7f86fea5f8c3330336fc4d66dd15c9e87ac138fc
2014-04-14 14:57:09 -04:00
Botond Ballo
02299f929b Bug 976605 - Have APZ notify GeckoCC on start of touch. r=kats
--HG--
extra : source : ff72d81b063a4d37d9934f0c05d86a69681a99db
2014-04-09 14:07:47 -04:00
Botond Ballo
f11e932965 Bug 976605 - Make AsyncPanZoomController::mMonitor 'mutable' to allow entering it from 'const' methods. r=kats
--HG--
extra : source : c25666782c6027f114ffe29508bff32e94444266
2014-04-09 14:07:33 -04:00
Botond Ballo
e3a2f642c6 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Botond Ballo
c4d1f829b1 Bug 976605 - Make Axis more const-correct. r=kats
--HG--
extra : source : d06484dc840a914415c5fa96020483787a2bfd0d
2014-04-11 14:38:34 -04:00
Ryan VanderMeulen
5f7b8e9737 Merge m-c to inbound. 2014-04-15 23:30:15 -04: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
Matt Woodrow
b4d6205572 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Ryan VanderMeulen
d3859c597c Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Nicolas Silva
f7668eb024 Bug 990876 - Remove TextureClientSurface. r=mattwoodrow 2014-04-14 21:29:42 +02:00
Kyle Huey
74215b6cbb Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Kyle Huey
675439ca71 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
L. David Baron
051f10d9da Bug 995721 patch 1 - Honor the translation on mShadowTarget in ClientLayerManager::MakeSnapshotIfRequired. r=mattwoodrow
This switches from DrawTarget::CopySurface (which ignores the transform)
to DrawSurface (which honors the transform).
2014-04-14 11:12:00 -07:00
Nicolas Silva
052d61947f Bug 995143 - Add missing CanExposeDrawTarget in CairoTextureClientD3D9. r=mattwoodrow 2014-04-14 18:45:34 +02:00
Nicolas Silva
16d9ae1433 Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob 2014-04-11 18:48:10 +02:00
Nicolas Silva
1092a96105 Bug 994024 - Add assertions in ImageBridgeChild. r=bjacob 2014-04-11 18:48:01 +02:00
Nicolas Silva
e6b591c126 Bug 994024 - Add assertions in ShadowLayers.cpp. r=bjacob 2014-04-11 18:47:56 +02:00
Benoit Jacob
e8b418c5f5 Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Ryan VanderMeulen
cbdabd4cd4 Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Sotaro Ikeda
9ea14294a1 Bug 990080 - Prepare for the next reycle, only if TextureClient request it r=BenWa 2014-04-11 17:42:35 -07:00
Ryan VanderMeulen
6c0f4a64ad Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
29fdeff417 Bug 994903 - Copy mRecycleCallback on top of Release() r=jrmuizel 2014-04-11 07:24:14 -07:00
Sotaro Ikeda
316d03c1bf Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
James Willcox
aa42b77f33 Bug 989375 - Fix basic layer readback with SkiaGL canvases r=gwright 2014-04-10 14:19:02 -05:00
Chris Lord
221cffec60 Bug 993475 - Consolidate masking code in BasicCompositor and BasicLayersImpl. r=mattwoodrow 2014-04-11 13:23:09 +01:00
Chris Lord
f82e98ade3 Bug 993475 - Support masks on color layers in BasicCompositor. r=mattwoodrow 2014-04-11 13:23:09 +01:00
Chris Lord
55e4cdf746 Bug 994548 - Fix masks being affected by partial updates in BasicCompositor. r=mattwoodrow 2014-04-11 13:23:08 +01:00
Benoit Girard
b5217a5713 Bug 916812 - Part 1: Make RenderTile private. r=jmuizelaar 2014-04-13 14:18:03 -04:00
Jonathan Watt
bdf8481da2 Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow 2014-04-13 11:07:12 +01:00
Nicolas Silva
25846a1a69 Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-11 16:15:01 +02:00
Nicolas Silva
2f082d5876 Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
e135bfb80b Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE 2014-04-10 13:15:47 +02:00
Nicolas Silva
5fb8960f16 Bug 990933 - Moz2Dify SimpleTiledContentClient. r=jrmuizel 2014-04-10 10:14:33 +02:00
Nicolas Silva
8e5bb9bcd2 Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Jonathan Watt
d54d6a8047 Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow 2014-04-10 09:49:53 +01:00
Jonathan Watt
52c729fd76 Bug 964731 - Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D. r=Bas 2014-04-10 09:49:49 +01:00
Matt Woodrow
58ba18a382 Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc 2014-04-10 20:42:29 +12:00
Carsten "Tomcat" Book
b2265fd931 Backed out changeset e6126e815061 (bug 992486) windows bustage 2014-04-10 10:09:25 +02:00
Matt Woodrow
e38f4a6963 Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc 2014-04-10 19:44:10 +12:00
Nicolas Silva
d9035537ad Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas 2014-04-10 09:24:59 +02:00
Nicolas Silva
45ae131029 Bug 993417 - Fix race between CairoTextureClientD3D9's destruction and it's TextureHost creation. r=Bas 2014-04-10 09:24:55 +02:00
Nicolas Silva
5b6b144f22 Bug 993428 - Fix masks with d3d9 component alpha layers. r=Bas 2014-04-09 19:17:13 +02:00
Kartikaya Gupta
97c0e3ed34 Bug 989054 - Update the rendertrace output to handle displayport margins. r=botond 2014-04-10 03:15:09 -04:00
Kartikaya Gupta
e2d981df11 Bug 989054 - Update repaint deduplication code to use displayport margins. r=botond 2014-04-10 03:15:08 -04:00
Kartikaya Gupta
8bb4473b9c Bug 980500 - Allow scrollbars to be children of the scrollable container layer. r=botond 2014-04-11 19:12:44 -05:00
Kartikaya Gupta
3710c46f7b Bug 982888 - Some cleanup/rearranging of stuff in AsyncPanZoomController.h. r= 2014-04-11 19:39:22 -04:00
Kartikaya Gupta
f094a058db Bug 982888 - Use the scroll handoff parent field while building the handoff chain. r= 2014-04-11 19:39:22 -04:00
Kartikaya Gupta
f22e15107b Bug 982888 - Add a mScrollHandoffParent field to ContainerLayers. r= 2014-04-11 19:39:21 -04:00
Ryan VanderMeulen
c59c631795 Backed out changeset c81707878977 (bug 974197) for Gaia integration test failures on a CLOSED TREE. 2014-04-09 22:14:13 -04:00
Matt Woodrow
8e7006914b Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Matt Woodrow
90fd035479 Bug 993784 - Part 4: Remove a bunch of dead thebes code in BasicLayers. r=roc 2014-04-09 21:15:19 +12:00
Matt Woodrow
7eb134032b Bug 993784 - Part 3: Use Moz2D SourceSurfaces for masking with BasicLayers. r=roc 2014-04-09 21:15:19 +12:00
Matt Woodrow
ae7d007ed8 Bug 993784 - Part 1: Use Moz2D mask data for BasicThebesLayer drawing. r=roc 2014-04-09 21:15:19 +12:00
Matt Woodrow
52194b51bf Bug 991513 - Part 3: Combine BeginPaint/PrepareFrame and EndPaint/OnTransaction. r=nrc 2014-04-09 21:15:19 +12:00
Matt Woodrow
7ed3d0095b Bug 991513 - Part 2: Don't lock ContentClientSingleBuffered's textures until we need the buffers. r=nrc 2014-04-09 21:15:18 +12:00
Matt Woodrow
2b85e9dc18 Bug 991513 - Part 1: Don't lock ContentClientDoubleBuffered's texture until we need the buffers. r=nrc 2014-04-09 21:15:18 +12:00
Matt Woodrow
929698d6f4 Bug 992486 - Part 4: Make ClientThebesLayer use multiple draws. r=roc 2014-04-09 21:15:18 +12:00
Matt Woodrow
e87cd192ab Bug 992486 - Part 3: Clean up ClientThebesLayer a bit. r=roc 2014-04-09 21:15:18 +12:00
Matt Woodrow
62b0daa1b5 Bug 992486 - Part 2: Make ContentHostSingleBuffered able to handle updates that cross the rotation boundary. r=nical 2014-04-09 21:15:17 +12:00
Matt Woodrow
2d862e153f Bug 992486 - Part 1: Add API to RotatedContentBuffer for drawing in multiple passes. r=roc 2014-04-09 21:15:17 +12:00
Kyle Huey
39e8ea0778 Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey
f2ff291368 Backed out changeset e0af6a6d220a 2014-04-08 17:25:12 -07:00
Kyle Huey
64f375fa83 Bug 991812: Followup for non-unified builds on a CLOSED TREE. r=me 2014-04-08 17:09:38 -07:00
Kyle Huey
d098e8c228 Bug 991812: Remove uses of RefCounted in code that lives solely in Gecko. r=ehsan 2014-04-08 16:37:05 -07:00
Nicolas Silva
fed1ef0995 Bug 993360 - Don't crash when a region is passed to DataTextureSourceD3D*::Update. r=mattwoodrow 2014-04-08 15:17:26 +02:00
Nicolas Silva
74853cc59b Bug 993360 - Check for the max texture size when allocating d3d TextureClients. r=mattwoodrow 2014-04-08 14:50:49 +02:00
Nicolas Silva
aa8364e918 Bug 993360 - Don't try to lock a texture if it failed to allocate. r=mattwoodrow 2014-04-08 14:50:41 +02:00
Nicolas Silva
be16634444 Bug 993360 - Always use DXGI_FORMAT_B8G8R8A8_UNORM with d3d11 OMTC. r=mattwoodrow 2014-04-08 14:50:36 +02:00
Nicolas Silva
683d2e7c77 Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis 2014-04-08 10:04:08 +02:00
Chris Lord
6fbca10a4b Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jeff Gilbert
0f2e420ea1 Bug 963962 - Fix use of CreateDrawTargetForData in CanvasLayerD3D9/10. r=Bas 2014-04-07 10:24:14 -04:00
Chris Lord
a4ce071c4d Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g 2014-04-07 13:09:44 +01:00
Tom Schuster
b68d33f4c7 Bug 980582 - Fall back to the slow 2d path for cross process webgl. r=jrmuizel 2014-04-07 11:01:45 +02:00
Matt Woodrow
5d976abfbc Bug 904890 - Fix windows build bustage caused by mozzconf/unified builds. r=me 2014-04-07 20:58:03 +12:00
Matt Woodrow
94590ca62c Bug 991067 - Null check mSurface in BasicCanvasLayer to match previous behaviour. r=roc 2014-04-07 20:57:27 +12:00
Matt Woodrow
4c66e0a0a9 Bug 904890 - Part 5: Add a d3d9 texture host for DXGI surfaces. r=nical 2014-04-07 15:23:06 +12:00
Matt Woodrow
92503fda00 Bug 904890 - Part 3: Add a layers API to expose the compositor backend. r=roc 2014-04-07 15:11:17 +12:00
Matt Woodrow
7e5407928d Bug 904890 - Part 2: Don't crash if our d3d11 texture doesn't have a mutex. r=Bas 2014-04-07 15:09:22 +12:00
Matt Woodrow
91d9c51764 Bug 904890 - Part 1: Implement ISharedImage for D3D9SurfaceImage. r=nical
* * *
[mq]: fix-things
2014-04-07 15:09:08 +12:00
Matt Woodrow
e52746c78e Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
c7beeace87 Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
8557eb8a03 Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
29d8737832 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Peter Chang
6bba9e227e Bug 988713 - Fix the race condition between TextureClient::Finalize() and TextureChild::ActorDestroy(), r=nical 2014-04-07 10:02:31 +08:00
Phil Ringnalda
c213611c51 Backed out 4 changesets (bug 991028) for nonunified bustage
CLOSED TREE

Backed out changeset 147581a518c3 (bug 991028)
Backed out changeset e5bacc566e58 (bug 991028)
Backed out changeset 6dc852777a4d (bug 991028)
Backed out changeset 780bec5571b9 (bug 991028)
2014-04-06 21:21:38 -07:00
Matt Woodrow
605fb137f9 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
b9ca218121 Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
8b3fd32955 Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
178a48f9d2 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Ryan VanderMeulen
27af4d423e Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
cee53989a7 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Daniel Holbert
b6bb05e33b Bug 984786 part 8: Give NS_INLINE_DECL_*REFCOUNTING classes private destructor & MOZ_FINAL annotation where appropriate, in /gfx and /content/canvas. r=bjacob 2014-04-04 09:27:02 -07: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
Phil Ringnalda
7139e221ae Backed out 5 changesets (bug 991032, bug 990933, bug 990876, bug 990871) for build bustage
CLOSED TREE

Backed out changeset c28e1344a6da (bug 991032)
Backed out changeset c85326be7e94 (bug 990876)
Backed out changeset 7cd1a8c883cb (bug 990876)
Backed out changeset 3052e8a3c505 (bug 990933)
Backed out changeset 6685770cf674 (bug 990871)
2014-04-03 20:28:52 -07:00
Nicolas Silva
3d8e4ec216 Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-04 11:15:47 +08:00
Nicolas Silva
ba3184795f Bug 990876 - Remove TextureClientSurface. r=mattwoodrow 2014-04-04 11:15:34 +08:00
Nicolas Silva
852b2608c3 Bug 990933 - Moz2dify SimpleTiledContentClient. r=jrmuizel 2014-04-04 11:15:25 +08:00
Nicolas Silva
e7fd1ad9ea Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-04 11:15:18 +08:00
Nicolas Silva
3cb6d93ac3 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
Masayuki Nakano
d42c98a423 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Botond Ballo
97aa8a445e Bug 984490 - Use the correct clip rect when determining whether to skip rendering a tile. r=nical 2014-04-02 03:23:04 -04:00
Botond Ballo
2343facec1 Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical 2014-04-02 03:27:42 -04:00
Andreas Gal
1353ac955e Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob 2014-04-02 09:02:07 -04:00
Jonathan Watt
5ddf21644d Bug 990752 - Make ImageLayerD3D9/ImageLayerD3D10::Render() use mSourceSurface instead of mDeprecatedSurface (Moz2D migration). r=mattwoodrow 2014-04-02 12:33:15 +01:00
Jonathan Watt
a69270480e Bug 964732 - Remove calls to DeprecatedGetAsSurface in ImageLayerD3D9 (Moz2D migration). r=mattwoodrow 2014-04-02 12:32:54 +01:00
Matt Woodrow
73ae25ea89 Bug 990437 - Fix windows build by moving implicit AddRef/Release calls to the cpp file 2014-04-02 15:08:31 +08:00
Matt Woodrow
1b97a19b88 Bug 990437 - Convert ContentHostIncremental to inherit from ContentHostBase. r=nical 2014-04-02 14:45:02 +08:00
Matt Woodrow
31e888d347 Bug 990437 - Split texture host ownership out from ContentHostBase. r=nical 2014-04-02 14:45:02 +08:00
Matt Woodrow
a96b07aa1c Bug 990437 - Rename the Incremental texture created function. r=nical 2014-04-02 14:45:01 +08:00
Nicolas Silva
039348f258 Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis 2014-04-02 10:37:49 +08:00
Ryan VanderMeulen
0d5b7940ce Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Sotaro Ikeda
bff4759a2e Bug 990305 - Move IsInEmulator() from GrallocImage to gfxPlatform r=nical 2014-04-01 06:33:49 -07:00
Sotaro Ikeda
dc79e611b7 Bug 989215 - clear recycle callback in TextureParent::ActorDestroy() r=nical 2014-03-31 20:24:55 -07:00
Ryan VanderMeulen
4ac3ff6d15 Merge b2g-inbound to m-c. 2014-03-31 17:27:57 -04:00
Ryan VanderMeulen
ad5d64b8b9 Backed out changesets 0b596070fe54 and ed6969e4fb6f (bug 957560) for causing bug 990027 on a CLOSED TREE. 2014-03-31 14:31:52 -04:00
Chris Lord
537b992447 Bug 988370 - Don't use progressive/low precision rendering on fixed layers. r=mattwoodrow
Fixed layers don't async scroll, so it doesn't make sense for them to have
a low precision region or for them to be rendered progressively.
2014-03-31 17:42:32 +01:00
Sotaro Ikeda
3c541b7114 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Matt Woodrow
28e1095225 Bug 988771 - Remove DeprecatedCanvasClient. r=nical
--HG--
extra : rebase_source : 3dbca3237e08a6ab18e2d5805cacf18659a40d69
2014-03-31 22:50:27 +08:00
Carsten "Tomcat" Book
34c6e4261e merge b2g-inbound to mozilla-central 2014-03-31 12:46:42 +02:00
Phil Ringnalda
43ea6afde0 Back out 2f5e6cd1cc9c (bug 989829) for assertion failures 2014-03-30 23:26:43 -07:00
Sotaro Ikeda
536cbeca2d Bug 989561 - Remove min size limitation since JB gonk r=gal 2014-03-30 22:23:52 -07:00
Kartikaya Gupta
3e901f4a96 Bug 989829 - Move all APZ prefs into gfxPrefs and move all documentation into AsyncPanZoomController.cpp. r=botond 2014-03-31 13:05:38 +08:00
Kartikaya Gupta
43d5be35ca Bug 989407 - Stop treating mouse events as touch events because it interferes with gesture detection. r=botond 2014-03-31 13:03:00 +08:00
Nicolas Silva
c9ef7d63f1 Bug 957560 - Fix WError build bustage on a CLOSED TREE. 2014-03-31 11:31:39 +08:00
Nicolas Silva
4e568f39b1 Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow 2014-03-31 11:07:40 +08:00
Wes Kocher
6740be2260 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Wes Kocher
4f5fed80dc Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Nicolas Silva
216960b7a3 Bug 977255 - Backout for build bustage on a CLOSED TREE 2014-03-28 17:01:52 +01:00
Sotaro Ikeda
38a5cd3ffa Bug 983971 - Do not use gralloc for small size on ICS gonk r=nical 2014-03-28 07:35:21 -07:00
Chris Lord
f0309a311c Bug 983169 - Fix handling of tile resolution in TiledContentClient. r=bas 2014-03-27 18:52:09 +00:00
Chris Lord
18ad6ef369 Bug 983169 - Fix up TiledLayerHost rendering method. r=BenWa
A few parts of this function weren't quite right. The major change is to use
the TiledLayerBuffer's valid region instead of the layer's valid region.
These are the same, except when progressive rendering is enabled, where the
former may differ from the layyer (and will represent what has actually been
updated).
2014-03-27 18:52:08 +00:00
Nicolas Silva
3ef666e829 Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 15:40:30 +01:00
Kartikaya Gupta
98665d1e19 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Bill McCloskey
435cfbc8d3 Bug 980122 - Recomposite entire screen in basic compositor (r=mattwoodrow) 2014-03-28 11:25:23 -07:00
snigdha
9cc482da68 Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey 2014-04-01 08:29:25 -04:00
Dmitry Rozhkov
e846267ad8 Bug 985541 - Turn GestureEventListener into Finite-state machine. r=kats,drs 2014-03-27 14:04:39 +02:00
Carsten "Tomcat" Book
d4532224da Merge mozilla-central to mozilla-inbound 2014-03-31 12:50:17 +02:00
Benoit Jacob
ef7edb462d Bug 987311 - Fix a bad enum conversion bug found by converting TextureFlags to typed enums - r=nical 2014-03-31 05:10:49 -04:00
Benoit Jacob
dcf7236aab Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Nicolas Silva
f046e7971f Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 18:20:57 +01:00
Kartikaya Gupta
85b988272b Bug 987188 - Guard against a null pointer when dumping the layer tree. r=nical 2014-04-01 01:46:00 +02:00
Matt Woodrow
1fc460db34 Bug 990338 - Use CopySurface when copying data to a TextureClient for better performance. r=nical 2014-04-01 15:53:15 +08:00
Matt Woodrow
d989e5ec4d Bug 990338 - Pass CanvasLayer Y-flip flag through layers. r=nical 2014-04-01 15:52:47 +08:00
Matt Woodrow
aa186f3408 Bug 990338 - Remove FillWithMask since it's dead code. r=nical 2014-04-01 15:52:10 +08:00
Matt Woodrow
c90effdac3 Bug 990338 - Clean up CopyableCanvasLayer. r=nical 2014-04-01 15:51:35 +08:00
Matt Woodrow
d179b128c4 Bug 990338 - Use Moz2D for updating CanvasClient. r=nical 2014-04-01 15:51:10 +08:00
Nicolas Silva
8151128bb6 Bug 982413 - Remove the deprecated textures pref. r=mattwoodrow 2014-04-01 14:28:36 +08:00
Nicolas Silva
98612c6797 Bug 989904 - Remove the deprecated basic textures. r=mattwoodrow 2014-04-01 14:28:27 +08:00
Nicolas Silva
1c3e5f7d5d Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow 2014-04-01 14:28:23 +08:00
Nicolas Silva
bd059637a9 Bug 989904 - Remove some of the deprecated gl textures. r=mattwoodrow 2014-04-01 14:28:18 +08:00
Nicolas Silva
2ba3b44609 Bug 989904 - Remove deprecated d3d textures. r=mattwoodrow 2014-04-01 14:28:14 +08:00
Nicolas Silva
24e2f3dd3b Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow 2014-04-01 14:28:05 +08:00
Nicolas Silva
f1a6964fcb Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow 2014-04-01 14:28:00 +08:00
Matt Woodrow
a89e1563ef Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
1ac7f4547a Bug 989858 - Part 5: Remove partially implemented moz2d paint function. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
691f55a7f0 Bug 989858 - Part 4: Convert BasicColorLayer. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
c9f75dcf24 Bug 989858 - Part 3: Convert BasicImageLayer. r=roc 2014-04-01 12:02:09 +08:00
Matt Woodrow
faaf960268 Bug 989858 - Part 2: Convert BasicCanvasLayer. r=roc 2014-04-01 12:02:09 +08:00
Matt Woodrow
45feb365f4 Bug 989858 - Part 1: Add Moz2D helpers to BasicLayersImpl. r=roc 2014-04-01 12:02:09 +08:00
Benoit Jacob
b8b30aeafd Bug 990233 - Back out Bug 978479 and Bug 980364 because of a 5% tresize regression on Mac OSX 10.6 - no review, just a backout on a CLOSED TREE 2014-03-31 22:31:24 -04:00
Kartikaya Gupta
cea8366a19 Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond,tn 2014-03-28 08:21:19 -04:00
Matt Woodrow
230a565a26 Bug 980642 - Implement ClearRect for CompositorD3D11. r=Bas 2014-03-28 16:38:32 +13:00
Matt Woodrow
af5c1851a5 Bug 980642 - Implement ClearRect for CompositorD3D9. r=Bas 2014-03-28 16:38:32 +13:00
Matt Woodrow
87bb5ca618 Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc 2014-03-28 16:38:32 +13:00
Matt Woodrow
3f532a294e Bug 980642 - Clean up Compositor::clearFBRect API. r=roc 2014-03-28 16:38:32 +13:00
Kartikaya Gupta
8d1898adb3 Bug 989829 - Move all APZ prefs into gfxPrefs and move all documentation into AsyncPanZoomController.cpp. r=botond 2014-03-31 13:05:38 +08:00
Andreas Gal
e509f31630 Bug 978479 - remove flipped quad texture from mQuadVBO. r=bjacob 2014-03-29 20:49:00 +01:00
Andreas Gal
260e56ecba Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob 2014-03-30 17:37:00 +02:00
George Wright
cc9ef6042e Bug 981005 - Ensure the correct GLContext is current before trying to update in CanvasClientSurfaceStream r=snorp 2014-03-27 17:59:38 -04:00
Kartikaya Gupta
8f7d8ad02e Bug 988920 - Use getter functions instead of trying to access private member. r=botond 2014-03-27 15:06:15 -04:00
Carsten "Tomcat" Book
84e1bc2be7 merge mozilla-inbound to mozilla-central 2014-03-27 14:09:23 +01:00
Ryan VanderMeulen
c5fd173c74 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
2e5f87b07d Merge m-c to b2g-inbound. 2014-03-26 23:09:04 -04:00
Sotaro Ikeda
f788f213cf Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Ryan VanderMeulen
a14baa39be Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Wes Kocher
05f118b4e6 Merge m-c to b2g-inbound despite the CLOSED TREE 2014-03-25 20:22:16 -07:00
Botond Ballo
87be28b145 Bug 987993 - Change name of ThebesLayerComposite back to 'ThebesLayerComposite'. r=bjacob 2014-03-25 17:12:31 -04:00
Sotaro Ikeda
e4b5d68110 Bug 986933 - Add DeallocGrallocBuffer() r=nical 2014-03-25 18:28:47 -07:00
Chris Lord
d83c7c160e Bug 983208 - Fix progressive tile update calculations. r=botond
A lot of this code used incorrect coordinate spaces or calculations that only
worked because things were setup in a certain way. Now that the input data is
more consistently correct and things have changed slightly, this code no
longer worked.

This patch reworks things to use what I think are the correct coordinate
spaces and calculations, and should hopefully be less prone to breakage.
2014-03-22 09:17:54 +00: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
Jonathan Watt
06a79a3b5a Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Bas Schouten
886ced8b00 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
Eric Rahm
6af5d95274 Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn 2014-03-19 14:33:12 -07:00
Blake Kaplan
68ad820c92 Bug 976479 - Don't race to destroy top level protocols off the main thread. r=nical 2014-03-21 15:20:25 -07:00
Brian Birtles
bd02c4b352 Bug 986359 part 3 - Add AutoResolveRefLayers before calling TransformShadowTree; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
4d7ae1cfa3 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Chadd Williams
29c628c5eb Bug 980493 - Transition FrameMetrics::mScrollId to use a getter/setter. r=botond
--HG--
extra : histedit_source : 1c84496d4b61f019e6e6cc24591ee3a10434e4cc
2014-03-21 17:48:08 -04:00
Ryan VanderMeulen
d97e043b19 Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Sotaro Ikeda
2fa700a37c Bug 986253 - Limt a number of Fence to 4 per message r=nical 2014-03-21 09:57:01 -07:00
Nicolas Silva
43cda78fba Bug 968807 - Add assertions in TextureClient. r=bjacob 2014-03-21 18:03:20 +01:00
Eric Rahm
7cc0c98644 Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas 2014-03-19 17:28:41 -07:00
Nicolas Silva
26060d4188 Bug 984338 - Add a pref to flash layer borders when they are created. r=jrmuizel 2014-03-25 17:54:39 +01:00
Nicolas Silva
b253190ddb Bug 984618 - Clear the compositor's unused textures when a frame was entirely composited by hwcomposer. r=cwiiis 2014-03-25 17:14:48 +01:00
Nicolas Silva
8178319bae Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis 2014-03-21 13:54:13 +01:00
Kartikaya Gupta
cec4d1bf73 Bug 987314 - Move around a few things in AsyncPanZoomController.h. r=botond 2014-03-25 09:26:05 -04:00
Timothy Nikkel
1e93340ce7 Bug 957668. Calculate and set display ports as margins in layer pixels. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
c8ea0bb2cd Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04:00