Commit Graph

3931 Commits

Author SHA1 Message Date
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
James Willcox
9a0238890e 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
0f10b9b7be Bug 984618 - Clear the CompositorOGL's unused textures when aborting a frame. r=Bas. 2014-03-26 16:56:30 +01:00
Ed Morley
1207c28e56 Backed out changeset 4c963fa4683b (bug 985487) 2014-03-26 15:14:54 +00:00
James Willcox
8678be73d5 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
1272af0064 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
69fa5d77b5 merge mozilla-inbound to mozilla-central 2014-03-20 13:56:02 +01:00
Wes Kocher
4841e29965 Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression 2014-03-19 16:14:42 -07:00
Wes Kocher
847958cbab 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
a199806489 Bug 950050 - Allow Gralloc surfaces on the Nexus S. r=nical,lissyx 2014-03-19 08:02:39 +00:00
Matt Woodrow
81d114b507 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
18adb7bbfb 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
18192455ba 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
43a7e475d0 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-19 18:21:44 +01:00
Botond Ballo
73c4cfd235 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
0cd6b453f9 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
cddedd8d2b Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Wes Kocher
679d927c40 Merge inbound to m-c 2014-03-18 14:15:03 -07:00
Nicolas Silva
ded04c9023 Bug 984437 - Backout for build bustage on a CLOSED TREE 2014-03-18 17:18:07 +01:00
Nicolas Silva
361bd60409 Bug 984437 - Remove GrallocDeprecatedTextureHostOGL. r=sortaro 2014-03-18 16:29:07 +01:00
Nicolas Silva
8ffce5061a 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
4e5989ae37 Bug 950050 - Use EXTERNAL for gralloc texture targets on SGX. r=nical 2014-03-18 08:12:40 +00:00
Phil Ringnalda
75a31b49d8 Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Matt Woodrow
8a1b866944 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
52f31b5fb2 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
79bf4b1288 Merge m-c to b-i 2014-03-17 22:48:40 -07:00
Neil Rashbrook
604d9a5302 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
c879b47079 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
3f3e2f2bbe 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
c8a17e2511 Merge inbound to m-c. 2014-03-17 13:16:53 -04:00
Ben Kelly
411269dfa3 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
0d38ee7229 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
4a5d9bb2dc 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
5e75612291 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
d7764d686d Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan 2014-03-15 12:00:17 -07:00
Kyle Huey
fe6c4e28d6 Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Kartikaya Gupta
a0436d61c4 Bug 979720: Follow-up to fix stupid PTO-brain naming mistake. r=me 2014-03-14 15:55:07 -04:00
Kartikaya Gupta
3ba899c3dc Bug 979720 - Convert max velocity from px/ms to inches/ms. r=bkelly 2014-03-14 15:49:00 -04:00
Chris Lord
90a2cacf29 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
Ehsan Akhgari
f1b87eccd8 Bug 983014 - Move the rest of the -I build flags that stayed in Makefiles because of ANDROID_SOURCE to moz.build; r=mshal 2014-03-13 19:31:18 -04:00
Kartikaya Gupta
44734765a5 Bug 930903 - Remove obsolete bit of comment. r=me and DONTBUILD because NPOTB 2014-03-13 18:09:27 -04:00
Benoit Girard
0bfdfd9afd Bug 894933 - Cancel dangling compositor tasks. r=jrmuizel 2014-03-13 16:56:51 -04:00
Kartikaya Gupta
9e6ab418b7 Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond 2014-03-13 15:48:38 -04:00
Bas Schouten
75c94ab14f Bug 983157: Backout bug 980647 (31844306c2f1, dcd632ee9a3e). r=backout 2014-03-13 18:55:52 +01:00
Botond Ballo
6ddcfa998d Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
fb8f0cf40a Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Bas Schouten
ae37230182 Bug 981315 - Followup: Readd accidentally removed macro - for real this time on a CLOSED TREE. r=bustage 2014-03-13 06:44:41 +01:00
Bas Schouten
1a6bc3746e Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
Matt Woodrow
2f0784d0c0 Bug 971914 - Make TextureSourceOGL responsible for tracking filter state. r=nical 2014-03-13 13:37:17 +13:00
Matt Woodrow
aa48f8996c Bug 971914 - Don't set and restore state constantly inside CompositorOGL. r=nical 2014-03-13 13:37:17 +13:00
Kartikaya Gupta
fe5ebc85c9 Bug 981029 - Fix the LD transform so that the translation component is in layer pixels. r=botond 2014-03-12 15:27:45 -04:00
Kartikaya Gupta
f53f829010 Bug 981029 - Change the GeckoContentController interface to take CSSPoint instead of CSSIntPoint. r=botond 2014-03-12 15:27:45 -04:00
Oleg Romashin
dd2dbb9b5d Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kats
--HG--
extra : rebase_source : 18b7d36e512c8c1a6c0bc042a054aad5e7ee9801
2014-03-11 09:10:50 -07:00
Nicolas Silva
0ae506a6f6 Bug 980647 - Part 2 - Use the PerFrame pool with all layer types on b2g. r=Cwiiis 2014-03-12 17:29:36 +01:00
Nicolas Silva
7d15ed1003 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
Nicolas Silva
f172daa343 Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis 2014-03-12 17:09:37 +01:00
Chris Lord
440300f900 Bug 962629 - Respect max texture size when creating Gralloc textures. r=nical
Add a size hint parameter to CreateTextureClientForDrawing, and use said
parameter to not create Gralloc surfaces that are bigger than the maximum
texture size.
2014-03-12 12:16:37 +00:00
Bas Schouten
cd79f0ec95 Bug 982275 - Followup: Fix some compiler warnings that were errors on gcc. r=bustage 2014-03-12 03:55:07 +01:00
Bas Schouten
b2b52ae04e Bug 982275 - Part 2: Add a pref for drawing layer-info inside layers. r=jrmuizel 2014-03-12 03:27:33 +01:00
Bas Schouten
73c060630a Bug 982275 - Part 1: Add the ability to render text inside layers. r=jrmuizel 2014-03-12 03:27:30 +01:00
Jonathan Watt
7abcfeca0b Bug 982395 - Remove ImageContainer::DeprecatedLockCurrentAsSurface. r=mattwoodrow 2014-03-11 23:50:59 +00:00
Nicolas Silva
2d75214d9e Bug 981794 - Fix incorrect clipping of tiles. r=Bas 2014-03-11 23:19:01 +01:00
Botond Ballo
49ffe20e5e Bug 965871 - Implement overscroll handoff for flings. r=kats 2014-03-10 20:04:44 -04:00
Botond Ballo
b9d017f9bf Bug 965871 - Introduce a mechanism for AsyncPanZoomAnimation::Sample() to schedule tasks to be performed after the APZC lock is released in SampleContentTransformForFrame(). r=kats 2014-03-10 15:52:09 -04:00
Botond Ballo
d0f56a2889 Bug 965871 - Document lock ordering in APZ. r=kats 2014-03-10 15:55:44 -04:00
Botond Ballo
ad127fe149 Bug 965871 - Minor cleanup and refactoring. r=kats 2014-03-10 19:17:23 -04:00
Neil Rashbrook
3e8915c4b8 Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Nicolas Silva
2592474737 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Ryan VanderMeulen
21ff6fcb83 Backed out changeset 3697a043583b (bug 982118) for bustage.
CLOSED TREE
2014-03-11 11:48:30 -04:00
Oleg Romashin
a42eb81421 Bug 982118 - Move ui.click_hold_context_menus.delay to gfxPrefs. r=kgupta 2014-03-11 08:24:12 -07:00
Morris Tseng
d8764d7f99 Bug 975930 - [LayerScope] All textured buffers show RB swapped which is incorrect. r=jgilbert, r=kamidphish 2014-03-11 11:14:50 -04:00
Vladimir Vukicevic
b7be770266 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Jeff Gilbert
6027388cd9 Bug 980684 - Actually use IOSurfaces on Mac. - r=snorp 2014-03-10 19:08:50 -07:00
Jeff Gilbert
8f53ae3993 Bug 976813 - Separate ShSurf::Texture for Prod and Cons. - r=snorp 2014-03-10 19:08:49 -07:00
Vladimir Vukicevic
a9baf91f1d backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
249bed4fa8 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Matt Woodrow
0304720ba9 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
Matt Woodrow
6b22cbdbb7 Bug 981393 - Crash the child process if we get invalid Compositable updates. r=nical 2014-03-11 11:12:49 +13:00
Matt Woodrow
bf7cbaf262 Bug 981393 - Check against correct compositable types for old-textures. r=nical 2014-03-11 11:12:48 +13:00
Kartikaya Gupta
7580a2719b Bug 981800 - Kill the three-parameter version of ReceiveInputEvent since it is redundant. r=botond 2014-03-10 17:59:46 -04:00
Botond Ballo
ecc98dfd21 Bug 935219 - Fix composition bounds calculation and APZC hit testing (again). r=kats,tn
--HG--
extra : amend_source : 06c6bb658dfead6907250831bbe73fae6c20b45c
2014-03-10 17:56:59 -04:00
Ryan VanderMeulen
1adee1da91 Merge m-c to inbound. 2014-03-10 11:29:15 -04:00
Morris Tseng
bf7a3fb220 Bug 980821 - [LayerScope] mLayerRef doesn't output correct data. r=kamidphish 2014-03-10 08:36:31 -04:00
Tom Schuster
7cb5069528 Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow 2014-03-10 12:13:54 +01:00
Robert O'Callahan
de8e052f6d Bug 975931. Part 8: When we reduce a layer's shadow-visible-region due to opaque covering content, restore it after compositing to ensure it's correct if the opaque content isn't there next time. r=mattwoodrow
--HG--
extra : rebase_source : 72119bd17b0606af70b4f6dbf05cea631aa71e9a
2014-02-24 21:57:27 +13:00
Brian Birtles
73dcc15d98 Bug 980207 - When the refresh driver is under test control, make compositor thread only update when a composite is scheduled; r=dzbarsky
In order to make test behavior better match real-world sampling behavior, this
patch updates the test code in CompositorParent so that it only updates the
layer when a composite is scheduled. This enables creating mochitests that
reproduce bugs observed in regular usage.
2014-03-10 13:47:12 +09:00
Brian Birtles
84d1a1f391 Bug 979658 part 4 - Rename PLayerTransaction.GetTransform to GetAnimationTransform; r=dzbarsky
PLayerTransaction.GetTransform doesn't actually return the same kind of value
when the transform on the layer is not set by animation. This is because it uses
information stored with the animation to undo various transforms. We shouldn't
pretend to return something useful/similar when we don't have that information
available.

This patch renames GetTransform to GetAnimationTransform and makes it return
a union that has type void_t if the layer is not transformed by animation.
2014-03-10 13:47:12 +09:00
Brian Birtles
e3b4d6f388 Bug 979658 part 3 - Make LayerTransactionParent::RecvGetTransform convert to CSS pixels; r=dzbarsky
LayerTransactionParent::RecvGetTransform takes care to reverse all the
transformations applied by AsyncCompositionManager::SampleValue to the CSS
values calculated so that it can return CSS values for testing. However, it
fails to revert the conversion from CSS pixels to device pixels applied to the
translation components of the transform by
nsStyleTransformMatrix::ProcessTranslatePart as called by
nsDisplayTransform::GetResultingTransformMatrix.

This patch converts the resulting transform's translation components from device
pixels back to CSS pixels. It also adds documentation for the other operations
in LayerTransactionParent::RecvGetTransform.
2014-03-10 13:47:12 +09:00
Ehsan Akhgari
f745bb2ae1 Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-03-08 12:14:32 -05:00
Mike Conley
e5ef2f1eee Backing out bug 940455 (36e45a68452b) for numerous regressions. r=bustage-fix. 2014-03-07 16:50:30 -05:00
Bas Schouten
d301df5d45 Bug 963073 - Merge tiling branch. r=Bas,jrmuizel,BenWa
http://hg.mozilla.org/users/bschouten_mozilla.com/tiling/summary

This work is mainly porting tiled layers to new textures, implementing
double-buffered tiles and implementing a texture client pool, to be used by
tiled content clients.

Any questions regarding this patch should go to:
Bas Schouten <bschouten@mozilla.com>
Chris Lord <clord@mozilla.com>
Nicolas Silva <nsilva@mozilla.com>

In their absence questions can be directed to:
Jeff Muizelaar <jmuizelaar@mozilla.com>
Benoit Girard <bgirard@mozilla.com>
2014-03-07 22:34:04 +01:00
Ryan VanderMeulen
e3a295895e Merge inbound to m-c. 2014-03-07 15:38:19 -05:00
Sotaro Ikeda
6700706a9e Bug 979394 - fix calling Unmap() in GrallocImage r=nical 2014-03-07 10:16:35 -08:00
Michael Wu
d65ac2bc62 Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Ed Morley
f60c92c019 Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Carsten "Tomcat" Book
a14af0da5d merge b2g-inbound to mozilla-central 2014-03-07 12:49:50 +01:00
Phil Ringnalda
463d77795b Back out 965fe5b195ab (bug 962670) for leaking 2014-03-06 20:36:28 -08:00
Matt Woodrow
abce112be1 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
Michael Wu
ead4d27e3d Bug 962670 - Store decoded images in VolatileBuffers, r=seth,jrmuizel 2014-02-24 22:37:51 -05:00
Sotaro Ikeda
5b2f907a64 Bug 979394 - Fix YV12 color conversion at GrallocImage r=nical 2014-03-06 13:58:02 -08:00
Ed Morley
4aff758393 Merge backout; CLOSED TREE 2014-03-07 15:53:02 +00:00
Kartikaya Gupta
bc9bf44597 Bug 975962 - Remove plumbing that is no longer needed. r=botond 2014-03-07 08:41:23 -05:00
Jonathan Watt
aa2222cae6 Bug 980415 - Fix multiple points in the codebase where we fail to call DataSourceSurface::Unmap(). r=Bas 2014-03-07 13:21:38 +00:00
Carsten "Tomcat" Book
0264444cdb Merge mozilla-central to mozilla-inbound on a CLOSED TREE
--HG--
extra : amend_source : 42c86ef1edf2141b6ac81506dd8a31cd68818292
2014-03-07 13:55:46 +01:00
Chris Lord
ab92d95b9e Bug 979084 - Enlarge displayport along one axis when the other is clipped. r=ajones
If a generated displayport expands beyond the scrollable rect on one axis,
redistribute that extra area to the other axis. Enabled by pref
apz.enlarge_displayport_when_clipped.
2014-03-07 09:26:23 +00:00
Robert O'Callahan
f291db0474 Bug 975931. Part 1: Add nsDOMWindowUtils API to add an extra scroll offset in the AsyncPanZoomController when compositing. r=kats
--HG--
extra : rebase_source : fcadb5137cc906c97b230d1f2cf134fd24db10d6
2014-02-14 21:59:23 +13:00
Matt Woodrow
205af94a59 Bug 940455 - Add LayerManager functonality to clear out a portion of the window for the OS to paint. r=roc,Bas 2014-02-13 13:20:41 +13:00
James Willcox
dfee0058ef Bug 939276 - Use a single GLContext for all SkiaGL canvases r=jgilbert,vlad,gwright,bjacob
--HG--
rename : gfx/gl/GLContextSkia.cpp => gfx/gl/SkiaGLGlue.cpp
2014-03-05 15:49:37 -06:00
James Willcox
1fd761ef37 Bug 956993 - Rely on OES_EGL_image_external for SharedSurface_EGLImage r=jgilbert 2014-03-05 15:48:58 -06:00
Andreas Gal
044a8b635b Bug 975772 - Cleanup RectTriangles and allow DrawQuads to take triangles or triangle strips. r=bjacob 2014-03-05 14:18:38 -05:00
Ryan VanderMeulen
0d7b59001e Backed out changeset 6f05267b4afc (bug 798033) for Android bustage. 2014-03-05 09:55:52 -05:00
Sushil Chauhan
9443c9c242 Bug 978341 - CompositorOGL::clearFBRect api needs to map the rect to OGL coordinates. r=jgilbert 2014-03-04 18:07:32 -08:00
snigdha
a441998156 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-03-05 08:47:45 -05:00
Carsten "Tomcat" Book
46a7d98005 merge b2g-inbound to mozilla-central 2014-03-05 13:24:51 +01:00