Commit Graph

443 Commits

Author SHA1 Message Date
Matt Woodrow
b3ae34e368 Bug 990338 - Pass CanvasLayer Y-flip flag through layers. r=nical 2014-04-01 15:52:47 +08:00
Matt Woodrow
36c6bc39f6 Bug 990338 - Use Moz2D for updating CanvasClient. r=nical 2014-04-01 15:51:10 +08:00
Nicolas Silva
2ceec21089 Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow 2014-04-01 14:28:23 +08:00
Nicolas Silva
93524a4fe4 Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow 2014-04-01 14:28:05 +08:00
Nicolas Silva
6f0441ce31 Bug 989883 - Remove deprecated ImageClient/Host. r=mattwoodrow 2014-04-01 14:28:00 +08:00
Ryan VanderMeulen
30469b5fc9 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
e01cd69c67 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
Matt Woodrow
dc08c795e5 Bug 988771 - Remove DeprecatedCanvasClient. r=nical
--HG--
extra : rebase_source : 3dbca3237e08a6ab18e2d5805cacf18659a40d69
2014-03-31 22:50:27 +08:00
Benoit Jacob
884b8d3ea5 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
Nicolas Silva
0dd331c884 Bug 957560 - Fix WError build bustage on a CLOSED TREE. 2014-03-31 11:31:39 +08:00
Nicolas Silva
c3983bf9cc Bug 957560 - Fix new textures on windows (OMTC). r=mattwoodrow 2014-03-31 11:07:40 +08:00
Wes Kocher
336f9b8d32 Merge b2g-inbound to m-c 2014-03-28 16:38:35 -07:00
Sotaro Ikeda
7b2b8f5e43 Bug 983971 - Do not use gralloc for small size on ICS gonk r=nical 2014-03-28 07:35:21 -07:00
Chris Lord
0bd60d21fd Bug 983169 - Fix handling of tile resolution in TiledContentClient. r=bas 2014-03-27 18:52:09 +00:00
Kartikaya Gupta
0c67224bf9 Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond 2014-03-28 10:36:47 -04:00
Matt Woodrow
f55a1734b7 Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc 2014-03-28 16:38:32 +13:00
George Wright
86fb72f3b3 Bug 981005 - Ensure the correct GLContext is current before trying to update in CanvasClientSurfaceStream r=snorp 2014-03-27 17:59:38 -04:00
Sotaro Ikeda
c945bef808 Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa 2014-03-26 18:01:15 -07:00
Chris Lord
27ab4fdb16 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
94a50979f7 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00
Bas Schouten
a3d8192024 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
Chadd Williams
be019a3d12 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
Nicolas Silva
4f706a2604 Bug 968807 - Add assertions in TextureClient. r=bjacob 2014-03-21 18:03:20 +01:00
Eric Rahm
c309103b37 Bug 985770 - MemoryTextureClient should use array delete in destructor. r=Bas 2014-03-19 17:28:41 -07:00
Chris Lord
b34af3c7e4 Bug 950050 - Allow Gralloc surfaces on the Nexus S. r=nical,lissyx 2014-03-19 08:02:39 +00:00
Matt Woodrow
8ecbd16deb 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
Jonathan Watt
e7ba4e35fb Bug 985049 - Remove gfxPlatform::SupportsAzureContent() and kill of the resulting dead code. r=mattwoodrow 2014-03-19 10:36:58 +08:00
Nicolas Silva
e90cccae80 Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas 2014-03-17 22:35:20 +01:00
Tor Arvid Lund
13d86024c0 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
Chris Lord
447b1f2e51 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
Chris Lord
1fdc32318b 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
Botond Ballo
1d1fde2729 Bug 980493 - Transition FrameMetrics::mZoom to use a getter/setter. r=kats 2014-03-12 12:46:57 -04:00
Botond Ballo
87d9d4b831 Bug 980493 - Transition FrameMetrics::mScrollOffset to use a getter/setter. r=kats 2014-03-13 02:34:34 -04:00
Bas Schouten
a4238c3064 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
3c662b2e64 Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
Nicolas Silva
5de5370bd5 Bug 982128 - Check that shmem based locks are allocated properly. r=cwiiis 2014-03-12 17:09:37 +01:00
Chris Lord
f1977b5d50 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
Vladimir Vukicevic
7f43187552 b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Vladimir Vukicevic
ef13b892db backout of rev 1a52e0063440 b=979489 2014-03-10 21:03:02 -04:00
Vladimir Vukicevic
6f7082cd9f b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel 2014-03-10 14:34:57 -04:00
Botond Ballo
856fce75aa 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
Tom Schuster
19962e2281 Bug 977963 - Disable x11 texture_from_pixmap until the black layer problem is fixed. r=mattwoodrow 2014-03-10 12:13:54 +01:00
Ehsan Akhgari
c19a4c1e4d Bug 935778 - Part 0.8: Spray some more MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-03-08 12:14:32 -05:00
Bas Schouten
a0108bc8af 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
Ed Morley
6915f3f78a Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures 2014-03-07 15:45:59 +00:00
Matt Woodrow
887c38c308 Bug 974197 - Fire MozAfterPaint after the compositor has composited the frame. r=roc 2014-03-07 16:24:32 +13:00
James Willcox
39bceadc21 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
Matt Woodrow
412ca024cc Bug 977891 - Move the ForceComposite message to PLayerTransaction so that we can identify the right compositor with e10s. r=nical 2014-03-03 13:59:58 +13:00
Matt Woodrow
1916f43649 Bug 976877 - Don't simplify invalidation regions since it leads to poor results. r=roc 2014-03-01 08:49:05 +13:00
Milan Sreckovic
588797fcdf Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280 2014-02-28 12:59:37 -05:00