Commit Graph

4106 Commits

Author SHA1 Message Date
Botond Ballo
ce3fe384ba Bug 976605 - Make Axis more const-correct. r=kats
--HG--
extra : source : 50988abb501db2d04a1b5446e2553c61708628f0
2014-04-11 14:38:34 -04:00
Nicolas Silva
bcecbebe18 Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro 2014-04-15 11:34:33 +02:00
Ed Morley
dd27021e51 Backed out changeset 3486a7a210a1 (bug 976605) for build failures; CLOSED TREE 2014-04-15 17:46:20 +01:00
Ed Morley
6a0c514644 Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley
f9aba2fee4 Backed out changeset ab6dbbd9fa3e (bug 976605) 2014-04-15 17:45:44 +01:00
Ed Morley
6fca18d657 Backed out changeset cb8973818578 (bug 976605) 2014-04-15 17:45:41 +01:00
Ed Morley
4a76853977 Backed out changeset f5877d3b95ea (bug 976605) 2014-04-15 17:45:37 +01:00
Ed Morley
f7dbe6aa7a Backed out changeset f29f702a5e1e (bug 976605) 2014-04-15 17:45:34 +01:00
Ed Morley
e1160f1b83 Backed out changeset 924ce232443c (bug 976605) 2014-04-15 17:45:30 +01:00
Ed Morley
1ffc212f95 Backed out changeset 0781ca65c354 (bug 976605) 2014-04-15 17:45:27 +01:00
Ed Morley
af222c635b Backed out changeset 037f46cdfd80 (bug 976605) 2014-04-15 17:45:10 +01:00
Botond Ballo
3098266152 Bug 976605 - Fix up APZ gtests to call APZC::SetAllowedTouchBehavior() at the correct time. r=kats
--HG--
extra : source : f299251a7c7ba65a8dca6443a1ab695a89c9230b
2014-04-14 14:59:20 -04:00
Botond Ballo
b5c74215ac 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
8a62b9ad6b 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
f43f502a76 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
eb76e485c4 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
6921189527 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
13c4c46c3b 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
87beae3674 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
9230f9fd72 Bug 976605 - Make Axis more const-correct. r=kats
--HG--
extra : source : d06484dc840a914415c5fa96020483787a2bfd0d
2014-04-11 14:38:34 -04:00
Ryan VanderMeulen
c71414c58b Merge m-c to inbound. 2014-04-15 23:30:15 -04:00
Jonathan Watt
0a0470e24e 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
cde7f29c88 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Ryan VanderMeulen
601b02224e Backed out changesets ddbac34527fe and fa82f32d0c39 (bug 991812) for B2G bustage.
CLOSED TREE
2014-04-14 16:16:18 -04:00
Nicolas Silva
9e8cef9fee Bug 990876 - Remove TextureClientSurface. r=mattwoodrow 2014-04-14 21:29:42 +02:00
Kyle Huey
acd8c16b76 Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:25 -07:00
Kyle Huey
d7199fa836 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan 2014-04-14 12:04:24 -07:00
L. David Baron
c47ecde7e8 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
f03b5c5290 Bug 995143 - Add missing CanExposeDrawTarget in CairoTextureClientD3D9. r=mattwoodrow 2014-04-14 18:45:34 +02:00
Nicolas Silva
bdb01d9e0f Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob 2014-04-11 18:48:10 +02:00
Nicolas Silva
496e94e973 Bug 994024 - Add assertions in ImageBridgeChild. r=bjacob 2014-04-11 18:48:01 +02:00
Nicolas Silva
73d84fe695 Bug 994024 - Add assertions in ShadowLayers.cpp. r=bjacob 2014-04-11 18:47:56 +02:00
Benoit Jacob
5ffda8542b Bug 987305 - Refactor EnumSerializer - r=nfroyd 2014-04-14 10:17:40 -04:00
Ryan VanderMeulen
be657e134d Merge m-c to inbound on a CLOSED TREE. 2014-04-13 22:52:50 -04:00
Sotaro Ikeda
b7840a582d Bug 990080 - Prepare for the next reycle, only if TextureClient request it r=BenWa 2014-04-11 17:42:35 -07:00
Ryan VanderMeulen
411811f032 Merge m-c to inbound on a CLOSED TREE. 2014-04-11 16:24:56 -04:00
Sotaro Ikeda
1b4322d27c Bug 994903 - Copy mRecycleCallback on top of Release() r=jrmuizel 2014-04-11 07:24:14 -07:00
Sotaro Ikeda
8305355d18 Bug 990310 - Remove SurfaceDescriptor from media and GrallocImage r=nical,cajbir 2014-04-11 06:13:12 -07:00
James Willcox
4f4c92a20d Bug 989375 - Fix basic layer readback with SkiaGL canvases r=gwright 2014-04-10 14:19:02 -05:00
Chris Lord
f8cf8f11e8 Bug 993475 - Consolidate masking code in BasicCompositor and BasicLayersImpl. r=mattwoodrow 2014-04-11 13:23:09 +01:00
Chris Lord
734f540069 Bug 993475 - Support masks on color layers in BasicCompositor. r=mattwoodrow 2014-04-11 13:23:09 +01:00
Chris Lord
626e405dba Bug 994548 - Fix masks being affected by partial updates in BasicCompositor. r=mattwoodrow 2014-04-11 13:23:08 +01:00
Benoit Girard
2236938162 Bug 916812 - Part 1: Make RenderTile private. r=jmuizelaar 2014-04-13 14:18:03 -04:00
Jonathan Watt
0a3e4f5955 Bug 995454 - Kill off TextureClientSurface's GetAsSurface and UpdateSurface methods (Moz2D migration). r=mattwoodrow 2014-04-13 11:07:12 +01:00
Nicolas Silva
931d87f4b9 Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-11 16:15:01 +02:00
Nicolas Silva
266db399dd Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Carsten "Tomcat" Book
f39d10cc48 Backed out changeset 3747c80a1cde (bug 990871) for bustage on a CLOSED TREE 2014-04-10 13:15:47 +02:00
Nicolas Silva
7713255f54 Bug 990933 - Moz2Dify SimpleTiledContentClient. r=jrmuizel 2014-04-10 10:14:33 +02:00
Nicolas Silva
f09851069a Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-10 10:14:28 +02:00
Jonathan Watt
3e160b2c76 Bug 960524 - Get rid of Image::DeprecatedGetAsSurface (Moz2D migration). r=mattwoodrow 2014-04-10 09:49:53 +01:00
Jonathan Watt
1aa33ab749 Bug 964731 - Convert ImageLayerD3D10 and CreateOptimalSurface/CreateOptimalMaskSurface to Moz2D. r=Bas 2014-04-10 09:49:49 +01:00
Matt Woodrow
15c07b67c1 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
8ee1938a44 Backed out changeset e6126e815061 (bug 992486) windows bustage 2014-04-10 10:09:25 +02:00
Matt Woodrow
a39910a35a Bug 992486 - Part 5: Fix copying the front buffer to back buffer. r=roc 2014-04-10 19:44:10 +12:00
Nicolas Silva
13e06cf7e2 Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas 2014-04-10 09:24:59 +02:00
Nicolas Silva
1ba45cb6e3 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
dfc805e39c Bug 993428 - Fix masks with d3d9 component alpha layers. r=Bas 2014-04-09 19:17:13 +02:00
Kartikaya Gupta
e41e21f214 Bug 989054 - Update the rendertrace output to handle displayport margins. r=botond 2014-04-10 03:15:09 -04:00
Kartikaya Gupta
3a23d34549 Bug 989054 - Update repaint deduplication code to use displayport margins. r=botond 2014-04-10 03:15:08 -04:00
Kartikaya Gupta
65e8605d26 Bug 980500 - Allow scrollbars to be children of the scrollable container layer. r=botond 2014-04-11 19:12:44 -05:00
Kartikaya Gupta
3ccd0c913f Bug 982888 - Some cleanup/rearranging of stuff in AsyncPanZoomController.h. r= 2014-04-11 19:39:22 -04:00
Kartikaya Gupta
0aed75ce84 Bug 982888 - Use the scroll handoff parent field while building the handoff chain. r= 2014-04-11 19:39:22 -04:00
Kartikaya Gupta
7e99c6f57e Bug 982888 - Add a mScrollHandoffParent field to ContainerLayers. r= 2014-04-11 19:39:21 -04:00
Ryan VanderMeulen
5de13f836a 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
23d9392934 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Matt Woodrow
83fe7356ab 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
b9e0bb7c64 Bug 993784 - Part 3: Use Moz2D SourceSurfaces for masking with BasicLayers. r=roc 2014-04-09 21:15:19 +12:00
Matt Woodrow
82aca77140 Bug 993784 - Part 1: Use Moz2D mask data for BasicThebesLayer drawing. r=roc 2014-04-09 21:15:19 +12:00
Matt Woodrow
cab17b499b Bug 991513 - Part 3: Combine BeginPaint/PrepareFrame and EndPaint/OnTransaction. r=nrc 2014-04-09 21:15:19 +12:00
Matt Woodrow
e1bcde7e2c 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
7f5d17124b 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
4fb665e081 Bug 992486 - Part 4: Make ClientThebesLayer use multiple draws. r=roc 2014-04-09 21:15:18 +12:00
Matt Woodrow
85f537988a Bug 992486 - Part 3: Clean up ClientThebesLayer a bit. r=roc 2014-04-09 21:15:18 +12:00
Matt Woodrow
762c7716b4 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
52993e5933 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
8465d25d7c Back out bug 991812 for bustage on a CLOSED TREE. r=me 2014-04-08 17:26:33 -07:00
Kyle Huey
1ce2792b2d Backed out changeset e0af6a6d220a 2014-04-08 17:25:12 -07:00
Kyle Huey
7d8768d59c Bug 991812: Followup for non-unified builds on a CLOSED TREE. r=me 2014-04-08 17:09:38 -07:00
Kyle Huey
7d49ea1ba1 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
c1caaa0096 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
8d9fc4c39b Bug 993360 - Check for the max texture size when allocating d3d TextureClients. r=mattwoodrow 2014-04-08 14:50:49 +02:00
Nicolas Silva
5cc041e5b2 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
d7990211e2 Bug 993360 - Always use DXGI_FORMAT_B8G8R8A8_UNORM with d3d11 OMTC. r=mattwoodrow 2014-04-08 14:50:36 +02:00
Nicolas Silva
8fac79b2e1 Bug 993067 - Fix crash in GrallocTextureSourceOGL::GetAsSurface. r=Cwiiis 2014-04-08 10:04:08 +02:00
Chris Lord
4b3c68d60c Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Jeff Gilbert
f54bf7467b Bug 963962 - Fix use of CreateDrawTargetForData in CanvasLayerD3D9/10. r=Bas 2014-04-07 10:24:14 -04:00
Chris Lord
5728c877b7 Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g 2014-04-07 13:09:44 +01:00
Tom Schuster
97f5591dbc 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
f74a47057a Bug 904890 - Fix windows build bustage caused by mozzconf/unified builds. r=me 2014-04-07 20:58:03 +12:00
Matt Woodrow
e50dfc56e4 Bug 991067 - Null check mSurface in BasicCanvasLayer to match previous behaviour. r=roc 2014-04-07 20:57:27 +12:00
Matt Woodrow
f67caf0664 Bug 904890 - Part 5: Add a d3d9 texture host for DXGI surfaces. r=nical 2014-04-07 15:23:06 +12:00
Matt Woodrow
e205c4c136 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
6d7ae2aa1e 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
d5a0cef05b Bug 904890 - Part 1: Implement ISharedImage for D3D9SurfaceImage. r=nical
* * *
[mq]: fix-things
2014-04-07 15:09:08 +12:00
Matt Woodrow
b93f84571b Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
a9b43e4ed3 Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
b236972144 Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
7eef44b9f5 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Peter Chang
9b952453a0 Bug 988713 - Fix the race condition between TextureClient::Finalize() and TextureChild::ActorDestroy(), r=nical 2014-04-07 10:02:31 +08:00
Phil Ringnalda
18f873ac9e 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
0851e5c863 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
49d74266e5 Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
3e992116e2 Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
a64bf46575 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Ryan VanderMeulen
0b24e10f19 Backed out changeset bf184a7a1d63 (bug 990608) for Android crashes.
CLOSED TREE
2014-04-04 15:20:49 -04:00
Chris Lord
20780839a2 Bug 990608 - Make tile size configurable. r=tn,nical,bgirard 2014-04-04 18:42:44 +01:00
Daniel Holbert
652ce79f6e 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
b1ff3ae4f1 Bug 965102 - Gecko changes to set HWC_GEOMETRY_CHANGED flag appropriately. r=mattwoodrow 2014-04-03 18:59:13 -07:00
Phil Ringnalda
d592724cf0 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
2e4231e5f3 Bug 991032 - Cleanup X11 TextureClient/Host. r=mattwoodrow 2014-04-04 11:15:47 +08:00
Nicolas Silva
7127c26263 Bug 990876 - Remove TextureClientSurface. r=mattwoodrow 2014-04-04 11:15:34 +08:00
Nicolas Silva
79951d5cea Bug 990933 - Moz2dify SimpleTiledContentClient. r=jrmuizel 2014-04-04 11:15:25 +08:00
Nicolas Silva
dafdcc684d Bug 990871 - Move TextureClientDrawTarget into TextureClient. r=mattwoodrow 2014-04-04 11:15:18 +08:00
Nicolas Silva
e3b0430659 Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow 2014-04-03 14:04:04 +08:00
Masayuki Nakano
ff8b968574 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
4187310007 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
a250e38342 Bug 984490 - Make Compositor::GetCurrentRenderTarget() const. r=nical 2014-04-02 03:27:42 -04:00
Andreas Gal
98a1b26a3b Bug 978479 - Remove flipped quad texture from mQuadVBO. r=bjacob 2014-04-02 09:02:07 -04:00
Jonathan Watt
0f938e4df0 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
3976b3243c Bug 964732 - Remove calls to DeprecatedGetAsSurface in ImageLayerD3D9 (Moz2D migration). r=mattwoodrow 2014-04-02 12:32:54 +01:00
Matt Woodrow
66a003fa8f 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
51f772d89b Bug 990437 - Convert ContentHostIncremental to inherit from ContentHostBase. r=nical 2014-04-02 14:45:02 +08:00
Matt Woodrow
927daa42a6 Bug 990437 - Split texture host ownership out from ContentHostBase. r=nical 2014-04-02 14:45:02 +08:00
Matt Woodrow
320178fba7 Bug 990437 - Rename the Incremental texture created function. r=nical 2014-04-02 14:45:01 +08:00
Nicolas Silva
e7a2f8f2e8 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
6a3fa988ca Merge inbound to m-c. 2014-04-01 16:45:00 -04:00
Sotaro Ikeda
88f833a47f Bug 990305 - Move IsInEmulator() from GrallocImage to gfxPlatform r=nical 2014-04-01 06:33:49 -07:00
Sotaro Ikeda
718f48c2ff Bug 989215 - clear recycle callback in TextureParent::ActorDestroy() r=nical 2014-03-31 20:24:55 -07:00
Ryan VanderMeulen
28f6465e9a Merge b2g-inbound to m-c. 2014-03-31 17:27:57 -04:00
Ryan VanderMeulen
8636d21ab3 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
39c1e80d93 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
54d13a5e10 Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal 2014-03-31 08:24:28 -07:00
Matt Woodrow
f521c52eb9 Bug 988771 - Remove DeprecatedCanvasClient. r=nical
--HG--
extra : rebase_source : 3dbca3237e08a6ab18e2d5805cacf18659a40d69
2014-03-31 22:50:27 +08:00
Carsten "Tomcat" Book
07d08b2895 merge b2g-inbound to mozilla-central 2014-03-31 12:46:42 +02:00
Phil Ringnalda
fd31f007a5 Back out 2f5e6cd1cc9c (bug 989829) for assertion failures 2014-03-30 23:26:43 -07:00
Sotaro Ikeda
7d4ce23155 Bug 989561 - Remove min size limitation since JB gonk r=gal 2014-03-30 22:23:52 -07:00
Kartikaya Gupta
a9c29c2636 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
5430c8fb5c 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
0b275eb92e Bug 957560 - Fix WError build bustage on a CLOSED TREE. 2014-03-31 11:31:39 +08:00
Nicolas Silva
db25bebbdc Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow 2014-03-31 11:07:40 +08:00
Wes Kocher
ab88e0d360 Merge m-c to inbound 2014-03-28 17:04:03 -07:00
Wes Kocher
3e4da18062 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Nicolas Silva
80d7fc4a9c Bug 977255 - Backout for build bustage on a CLOSED TREE 2014-03-28 17:01:52 +01:00
Sotaro Ikeda
27223aa396 Bug 983971 - Do not use gralloc for small size on ICS gonk r=nical 2014-03-28 07:35:21 -07:00
Chris Lord
687be7aed2 Bug 983169 - Fix handling of tile resolution in TiledContentClient. r=bas 2014-03-27 18:52:09 +00:00
Chris Lord
4e165082f4 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
67c7d18fcd Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 15:40:30 +01:00
Kartikaya Gupta
31afc0a194 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Bill McCloskey
c0cc71b861 Bug 980122 - Recomposite entire screen in basic compositor (r=mattwoodrow) 2014-03-28 11:25:23 -07:00
snigdha
90f0f64d5b 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
275ecc3b0c Bug 985541 - Turn GestureEventListener into Finite-state machine. r=kats,drs 2014-03-27 14:04:39 +02:00
Carsten "Tomcat" Book
5876d0c898 Merge mozilla-central to mozilla-inbound 2014-03-31 12:50:17 +02:00
Benoit Jacob
e708bac914 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
89317548d7 Bug 987828 - 3/4 - Use IsGLES instead of IsGLES2 - r=jgilbert 2014-03-31 05:10:49 -04:00
Nicolas Silva
257fed31e8 Bug 977255 - Initialize the gralloc memory reporter in gfxPlatform. r=cwiiis 2014-03-28 18:20:57 +01:00
Kartikaya Gupta
08051ca924 Bug 987188 - Guard against a null pointer when dumping the layer tree. r=nical 2014-04-01 01:46:00 +02:00
Matt Woodrow
f2e539f36c 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
09255ba257 Bug 990338 - Pass CanvasLayer Y-flip flag through layers. r=nical 2014-04-01 15:52:47 +08:00
Matt Woodrow
b6b7e6b30e Bug 990338 - Remove FillWithMask since it's dead code. r=nical 2014-04-01 15:52:10 +08:00
Matt Woodrow
3c534d622c Bug 990338 - Clean up CopyableCanvasLayer. r=nical 2014-04-01 15:51:35 +08:00
Matt Woodrow
67805dc4e2 Bug 990338 - Use Moz2D for updating CanvasClient. r=nical 2014-04-01 15:51:10 +08:00
Nicolas Silva
0af7716984 Bug 982413 - Remove the deprecated textures pref. r=mattwoodrow 2014-04-01 14:28:36 +08:00
Nicolas Silva
1087c3b4d4 Bug 989904 - Remove the deprecated basic textures. r=mattwoodrow 2014-04-01 14:28:27 +08:00
Nicolas Silva
8540bd9f80 Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow 2014-04-01 14:28:23 +08:00
Nicolas Silva
efc83cde0b Bug 989904 - Remove some of the deprecated gl textures. r=mattwoodrow 2014-04-01 14:28:18 +08:00
Nicolas Silva
d1a5b2c8bd Bug 989904 - Remove deprecated d3d textures. r=mattwoodrow 2014-04-01 14:28:14 +08:00
Nicolas Silva
6f153811f7 Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow 2014-04-01 14:28:05 +08:00
Nicolas Silva
788de6da4a Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow 2014-04-01 14:28:00 +08:00
Matt Woodrow
d2127c217f Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
8d2a3dc305 Bug 989858 - Part 5: Remove partially implemented moz2d paint function. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
6edf84a5b1 Bug 989858 - Part 4: Convert BasicColorLayer. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
64ac40d602 Bug 989858 - Part 3: Convert BasicImageLayer. r=roc 2014-04-01 12:02:09 +08:00
Matt Woodrow
4586f037e0 Bug 989858 - Part 2: Convert BasicCanvasLayer. r=roc 2014-04-01 12:02:09 +08:00
Matt Woodrow
e921db2fe5 Bug 989858 - Part 1: Add Moz2D helpers to BasicLayersImpl. r=roc 2014-04-01 12:02:09 +08:00
Benoit Jacob
a1ecb819d5 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
ced251bb3e Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond,tn 2014-03-28 08:21:19 -04:00
Matt Woodrow
ad9b3c4609 Bug 980642 - Implement ClearRect for CompositorD3D11. r=Bas 2014-03-28 16:38:32 +13:00
Matt Woodrow
61269b33cf Bug 980642 - Implement ClearRect for CompositorD3D9. r=Bas 2014-03-28 16:38:32 +13:00
Matt Woodrow
ebd1398b79 Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc 2014-03-28 16:38:32 +13:00
Matt Woodrow
6fa7f32cb8 Bug 980642 - Clean up Compositor::clearFBRect API. r=roc 2014-03-28 16:38:32 +13:00
Kartikaya Gupta
2de7dc006b 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
52c87fb66f Bug 978479 - remove flipped quad texture from mQuadVBO. r=bjacob 2014-03-29 20:49:00 +01:00
Andreas Gal
bc0a24c671 Bug 980364 - Add GLDrawRectHelper and use it from GLBlitTextureImageHelper. r=bjacob 2014-03-30 17:37:00 +02:00
George Wright
2947e6dfdc 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
5b7c2afe86 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
a426170b93 merge mozilla-inbound to mozilla-central 2014-03-27 14:09:23 +01:00
Ryan VanderMeulen
3e14ec93b2 Merge m-c to inbound. 2014-03-26 23:09:54 -04:00
Ryan VanderMeulen
23aa865b55 Merge m-c to b2g-inbound. 2014-03-26 23:09:04 -04:00
Sotaro Ikeda
f0adcd4de5 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Ryan VanderMeulen
4dc5242df5 Merge inbound to m-c. 2014-03-26 20:58:31 -04:00
Wes Kocher
462eacf4b2 Merge m-c to b2g-inbound despite the CLOSED TREE 2014-03-25 20:22:16 -07:00
Botond Ballo
1def2233a2 Bug 987993 - Change name of ThebesLayerComposite back to 'ThebesLayerComposite'. r=bjacob 2014-03-25 17:12:31 -04:00
Sotaro Ikeda
9f43110ebb Bug 986933 - Add DeallocGrallocBuffer() r=nical 2014-03-25 18:28:47 -07:00
Chris Lord
6d09001341 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
15060c53d3 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00
Jonathan Watt
8f55e803ea 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
8294a52e33 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
Eric Rahm
dbb0f24d7e Bug 962154 - Use MallocSizeOf to report decoded-video memory. r=cpearce,njn 2014-03-19 14:33:12 -07:00
Blake Kaplan
584cfc18af 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
ad128b0b91 Bug 986359 part 3 - Add AutoResolveRefLayers before calling TransformShadowTree; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Brian Birtles
4066243ac4 Bug 986359 part 1 - Move SetTestSampleTime and LeaveTestMode to LayerTransactionParent; r=mattwoodrow 2014-03-22 05:59:57 +08:00
Chadd Williams
1035df8afc 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
a361d3f8f1 Merge m-c to inbound. 2014-03-21 16:49:07 -04:00
Sotaro Ikeda
1b0cbbbcde Bug 986253 - Limt a number of Fence to 4 per message r=nical 2014-03-21 09:57:01 -07:00
Nicolas Silva
9bd388fd15 Bug 968807 - Add assertions in TextureClient. r=bjacob 2014-03-21 18:03:20 +01:00
Eric Rahm
0005bb7a7d Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas 2014-03-19 17:28:41 -07:00
Nicolas Silva
57a2a68d6e 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
a50a1c238f 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
cce7a0f617 Bug 984823 - Use clamp to edges with tiles on b2g. r=Cwiiis 2014-03-21 13:54:13 +01:00
Kartikaya Gupta
46ae39a06e Bug 987314 - Move around a few things in AsyncPanZoomController.h. r=botond 2014-03-25 09:26:05 -04:00
Timothy Nikkel
2313119109 Bug 957668. Calculate and set display ports as margins in layer pixels. r=kats 2014-03-26 21:46:24 -04:00
Timothy Nikkel
d536014142 Bug 986413. Limit composition bounds used for display port calculation to root composition bounds. r=kats 2014-03-26 19:24:25 -04:00
James Willcox
4e281c3ced Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow 2014-03-26 13:23:44 -05:00
Nicolas Silva
dff3008712 Bug 984618 - Clear the CompositorOGL's unused textures when aborting a frame. r=Bas. 2014-03-26 16:56:30 +01:00
Ed Morley
bf4fce1ce6 Backed out changeset 4c963fa4683b (bug 985487) 2014-03-26 15:14:54 +00:00
James Willcox
cc466ea568 Bug 985487 - Don't try to use GL_TEXTURE_RECTANGLE_ARB on ES2 r=mwoodrow 2014-03-26 09:11:42 -05:00
Botond Ballo
73d572098c Bug 980493 - Update references to mScrollOffset and mZoom in APZC_LOG calls. r=kats
--HG--
extra : rebase_source : 73cac39c4c6f5900f834ce690fa447808d30e4ad
2014-03-20 14:36:40 -04:00
Carsten "Tomcat" Book
2b4e4f7edd merge mozilla-inbound to mozilla-central 2014-03-20 13:56:02 +01:00
Wes Kocher
fd0079fbe5 Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression 2014-03-19 16:14:42 -07:00
Wes Kocher
af4fab6d1c Backed out 3 changesets (bug 980027) for causing a serious race in hal with the pref service
Backed out changeset 5cd05df56f67 (bug 980027)
Backed out changeset 6344d6606517 (bug 980027)
Backed out changeset 098a43b537e9 (bug 980027)
2014-03-19 15:36:13 -07:00
Chris Lord
e8372daeaf Bug 950050 - Allow Gralloc surfaces on the Nexus S. r=nical,lissyx 2014-03-19 08:02:39 +00:00
Matt Woodrow
d17d6a7daf Bug 985302 - Make ISurfaceAllocator use AtomicRefCountedWithFinalize to avoid calling virtual functions from its destructor. r=Bas 2014-03-19 12:02:42 +08:00
Matt Woodrow
f397ed7052 Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas 2014-03-18 12:06:25 +08:00
Matt Woodrow
6b13a12165 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Nicolas Silva
2dd050e551 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Botond Ballo
bc8063690b Bug 985185 - Identify scroll info layers in the APZC tree log. r=tn
--HG--
extra : rebase_source : 2efbeeff51ea6d1dc0888c0e5f34e3c36168fd63
2014-03-18 16:15:11 -04:00
Chris Lord
648fc979d7 Bug 985322 - Return RGBA instead of BGRA for external gralloc textures. r=nical
Before bug 950050, we'd calculate a format of BGRA, then ignore it and return
RGBA in GetFormat. This just calculates RGBA and returns the format directly.
2014-03-19 13:24:06 +00:00
Jonathan Watt
f50a46f108 Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Wes Kocher
01bb0237bc Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Nicolas Silva
e454ee8ae8 Bug 984437 - Backout for build bustage on a CLOSED TREE 2014-03-18 17:18:07 +01:00
Nicolas Silva
adf3ac1906 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-18 16:29:07 +01:00
Nicolas Silva
85b1390416 Bug 980647 - Part 1 - Move the compositor's texture recycling startegy behind a pool interface. r=Cwiiis 2014-03-12 17:28:47 +01:00
Chris Lord
cc52f8edb5 Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical 2014-03-18 08:12:40 +00:00
Phil Ringnalda
ad1ba8b946 Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Matt Woodrow
b87f55438e Bug 982339 - Get rid of TextureClientPoolMember and use nsTArray so that we releases references when we shutdown. r=Bas 2014-03-18 12:06:25 +08:00
Matt Woodrow
916cea91b0 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Phil Ringnalda
1b25d690d9 Merge m-c to b-i 2014-03-17 22:48:40 -07:00
Neil Rashbrook
c3b2f90f39 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Wes Kocher
c0dba87922 Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Sotaro Ikeda
c50c5a7897 Bug 974152 - Use FrameBuffer's Acquire Fence as Layer buffer's ReleaseFence on gonk r=sushil,nical 2014-03-17 18:36:56 -07:00
Ryan VanderMeulen
63076e2d70 Merge inbound to m-c. 2014-03-17 13:16:53 -04:00
Ben Kelly
7f977c56ba Bug 980027: Part 2: Set compositor thread priority to platform-based value. r=benwa 2014-03-17 11:52:42 -04:00
Tor Arvid Lund
7af55748fb Bug 973976 - Revert to Thebes path for CopyableCanvasLayer. r=jmuizelaar
The performance on the Mac platform degraded after porting the code to
Moz2D in Bug 948765. This patch chooses the old thebes path instead of the
Moz2D path, so that performance is unaffected. This way we can easily
revert this patch at a later time when the perf issue has been fixed.
2014-03-17 10:49:21 -04:00
Tor Arvid Lund
5c70ac4603 Bug 973976 - Remove redundant work in CopyableCanvasLayer. r=jrmuizel
This operator was already initialized to OP_SOURCE, so no need to do it again.
2014-03-17 10:49:04 -04:00
Chris Lord
22835fea85 Bug 983202 - Don't call Mutated more than necessary. r=mattwoodrow
We call Mutated when the invalid region isn't empty, but progressive updates
mean that we're calling this more frequently than is necessary as transactions
are repeated and the invalid region doesn't change between them.
2014-03-17 09:54:24 +00:00
Kyle Huey
df0e7828eb Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Kartikaya Gupta
0eaa48ec69 Bug 979720: Follow-up to fix stupid PTO-brain naming mistake. r=me 2014-03-14 15:55:07 -04:00
Kartikaya Gupta
7f5a497900 Bug 979720 - Convert max velocity from px/ms to inches/ms. r=bkelly 2014-03-14 15:49:00 -04:00
Chris Lord
fdd8a5aa56 Bug 982651 - Make sure to retain the frame resolution of tiled buffers. r=nical
Make sure the frame resolution of tiled buffers isn't discarded when they're
sent from client-side to host-side. This fixes drawing of low precision tiles
when the zoom has changed since they were last drawn.
2014-03-14 13:36:33 +00:00