Kartikaya Gupta
f55d1c6fc1
Bug 992218 - Don't flag texture clients for reuse if they're actually still being used. r=nical
2014-04-25 09:39:20 -04:00
Nicolas Silva
e9859fc3ce
Bug 997699 - Move CompositableChild to the .cpp. r=bjacob
2014-04-24 20:13:59 +02:00
Kartikaya Gupta
64ebfd27ef
Bug 1000170 - Make ClientTiledThebesLayer report itself as such in layer dumps. r=BenWa
2014-04-23 14:12:31 -07:00
Ryan VanderMeulen
b1acf34460
Backed out 3 changesets (bug 1000170, bug 1000370) for landing with the wrong patch author.
...
Backed out changeset a3f42079e69c (bug 1000370)
Backed out changeset e4e33370b648 (bug 1000170)
Backed out changeset bca2faf314bf (bug 1000170)
2014-04-23 14:20:54 -07:00
Brian Hackett
30558d3ca0
Bug 1000170 - Make ClientTiledThebesLayer report itself as such in layer dumps. r=BenWa
2014-04-23 14:12:31 -07:00
Kartikaya Gupta
25b0e226ab
Bug 993554 - Prevent clipping sync-scrollable subframes to the critical displayport on Fennec. r=BenWa,botond
2014-04-23 09:27:58 -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
Kyle Huey
2c8f15bb95
Bug 991812: Remove uses of AtomicRefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 0d14e02c64d548fd3177681248d722683aaa87c3
2014-04-14 12:04:25 -07:00
Kyle Huey
384121563d
Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
...
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07: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
16d9ae1433
Bug 994024 - Discard TextureClients that we failed to allocate or lock. r=bjacob
2014-04-11 18:48:10 +02: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
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
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
Nicolas Silva
d9035537ad
Bug 993417 - Make TextureClient::ToSurfaceDescriptor protected and document it's quirk. r=Bas
2014-04-10 09:24:59 +02: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
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
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
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
74853cc59b
Bug 993360 - Check for the max texture size when allocating d3d TextureClients. r=mattwoodrow
2014-04-08 14:50:49 +02:00
Chris Lord
6fbca10a4b
Bug 990608 - Make tile size configurable. r=tn,nical,bgirard
2014-04-04 18:42: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
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
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
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
Nicolas Silva
3cb6d93ac3
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +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
d179b128c4
Bug 990338 - Use Moz2D for updating CanvasClient. r=nical
2014-04-01 15:51:10 +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
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
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
Matt Woodrow
28e1095225
Bug 988771 - Remove DeprecatedCanvasClient. r=nical
...
--HG--
extra : rebase_source : 3dbca3237e08a6ab18e2d5805cacf18659a40d69
2014-03-31 22:50:27 +08: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
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
4f5fed80dc
Merge b2g-inbound to m-c
2014-03-28 16:38:35 -07: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
Kartikaya Gupta
98665d1e19
Bug 948377 - Remove unwanted rounding in CalculateCompositedRectInCssPixels; add a CalculateCompositedSizeInCssPixels also. r=botond
2014-03-28 10:36:47 -04:00
Matt Woodrow
87bb5ca618
Bug 980642 - Implement Clear regions for ClientLayerManager/LayerManagerComposite. r=roc
2014-03-28 16:38:32 +13: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
Sotaro Ikeda
f788f213cf
Bug 977880 - Handle ReleaseFence on tiled thebes layer r=cwiiis,nical,BenWa
2014-03-26 18:01:15 -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
Bas Schouten
886ced8b00
Bug 984796: Fix some small errors in path flattening code. r=jwatt
2014-03-22 00:55:36 +01: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
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
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
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
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
Nicolas Silva
2592474737
Bug 973892 - Make TextureClient::GetAsDrawTarget work with canvas. r=bas
2014-03-17 22:35:20 +01: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
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
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
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
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
Vladimir Vukicevic
b7be770266
b=979489; Implement SimpleTiledContentClient and friends; r=jrmuizel
2014-03-10 14:34:57 -04: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
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
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
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
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
Ed Morley
f60c92c019
Backed out changeset f94ee00aa4d6 (bug 974197) for causing gaia-ui-test failures
2014-03-07 15:45:59 +00: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
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
Matt Woodrow
d72b420dc7
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
e38c52eda7
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
2d75d8ad7c
Bug 971943: 2. webgl.force-layers-readback preference moved to gfxPrefs. r=gw280
2014-02-28 12:59:37 -05:00
Milan Sreckovic
cf2045952f
Bug 971942: 6. layers.low-precision-resolution, layers.prefer-opengl, layers.prefer-d3d9, layers.enable-tiles, gfx.direct2d.disabled, gfx.direct2d.force-enabled, moved to gfxPrefs. r=bschouten
2014-02-26 21:53:32 -05:00
Milan Sreckovic
e23aa3622d
Bug 971942: 4. layers.frame-counter, layers.draw-borders, layers.draw-tile-borders, layers.draw-bigimage-borders, layers.dump, layers.frame-counter, layers.progressive-paint, layers.low-precision-buffer moved to gfxPrefs. r=nsilva
2014-02-26 21:53:31 -05:00
Milan Sreckovic
710bd9d8f9
Bug 971942: 3. layers.bufferrotation.enabled, layers.componentalpha.enabled, layers.scroll-graph, layers.acceleration.disabled, layers.acceleration.force-enabled moved to gfxPrefs. r=clord
2014-02-26 21:53:27 -05:00