Commit Graph

786 Commits

Author SHA1 Message Date
Sotaro Ikeda
d1f5d678d4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-06 15:45:03 -07:00
Phil Ringnalda
5e348eaecc Back out ef1cd14c8cac (bug 1067455) for Windows assertion failures
CLOSED TREE
2014-10-05 19:16:56 -07:00
Sotaro Ikeda
b5b8786cc4 Bug 1067455 - Reduce Fence::merge() call on compositor thread r=nical 2014-10-05 14:14:33 -07:00
Nicolas Silva
fdbe68167e Bug 1073113 - make D3D11 image layers double buffered. r=mattwoodrow 2014-10-03 11:25:07 +02:00
Sotaro Ikeda
93503c5410 Bug 1075136 - backout the commit 2014-10-02 06:45:02 -07:00
Sotaro Ikeda
3777979c62 Bug 1075136 - Initialize TileClient::mCompositableClient correctly r=nical 2014-10-01 07:16:32 -07:00
Jeff Muizelaar
05d4c288be Bug 1074615. Remove DRAW_SNAPPED. r=mwoodrow
This doesn't seem to be necessary and doesn't really make sense to me. This
will help us moving region clipping into Moz2D

--HG--
extra : rebase_source : 4a5987ce2a95eaba44a69233d1b7f461f5ec16ea
2014-10-01 01:25:25 -04:00
Jeff Muizelaar
6e8d0fadde Bug 1066664. Fix screenshot rotation. r=mwoodrow
This moves the screenshot (now-nonexistent) unrotation code from the opengl
compositor into ClientLayerManager.cpp
2014-09-30 16:20:48 -04:00
Sotaro Ikeda
982854387c Bug 1073862 - Remove RemoveTextureFromCompositableTracker usage for back buffer removal r=nical 2014-09-29 07:18:25 -07:00
Markus Stange
abdabfe784 Bug 1073103 - SReplace 'Thebes' with 'Painted' in some more places. r=roc 2014-09-26 13:07:06 -04:00
Markus Stange
131bfce4c5 Bug 1073103 - Rename ThebesLayer to PaintedLayer. r=roc
--HG--
rename : gfx/layers/basic/BasicThebesLayer.cpp => gfx/layers/basic/BasicPaintedLayer.cpp
rename : gfx/layers/basic/BasicThebesLayer.h => gfx/layers/basic/BasicPaintedLayer.h
rename : gfx/layers/client/ClientThebesLayer.cpp => gfx/layers/client/ClientPaintedLayer.cpp
rename : gfx/layers/client/ClientThebesLayer.h => gfx/layers/client/ClientPaintedLayer.h
rename : gfx/layers/client/ClientTiledThebesLayer.cpp => gfx/layers/client/ClientTiledPaintedLayer.cpp
rename : gfx/layers/client/ClientTiledThebesLayer.h => gfx/layers/client/ClientTiledPaintedLayer.h
rename : gfx/layers/composite/ThebesLayerComposite.cpp => gfx/layers/composite/PaintedLayerComposite.cpp
rename : gfx/layers/composite/ThebesLayerComposite.h => gfx/layers/composite/PaintedLayerComposite.h
rename : gfx/layers/d3d10/ThebesLayerD3D10.cpp => gfx/layers/d3d10/PaintedLayerD3D10.cpp
rename : gfx/layers/d3d10/ThebesLayerD3D10.h => gfx/layers/d3d10/PaintedLayerD3D10.h
rename : gfx/layers/d3d9/ThebesLayerD3D9.cpp => gfx/layers/d3d9/PaintedLayerD3D9.cpp
rename : gfx/layers/d3d9/ThebesLayerD3D9.h => gfx/layers/d3d9/PaintedLayerD3D9.h
2014-09-26 13:06:08 -04:00
Nicolas Silva
5dc44835f0 Bug 1072411 - Remove useless format convertion code in ImageClient. r=jrmuizel 2014-09-24 13:50:28 -04:00
Bas Schouten
e225e93649 Bug 1072404: Firefox may crash when the D3D device is removed while rendering. r=mattwoodrow 2014-09-24 17:12:10 +00:00
Nicolas Silva
d1b829ea88 Bug 1071825 - Remove simple tiling code. r=mattwoodrow 2014-09-23 17:44:48 -04:00
Kartikaya Gupta
13d10fa7ac Bug 1071256 - Fix OS X tiling codepath to deal with low-precision tiles. r=mattwoodrow 2014-09-22 17:52:21 -04:00
Benoit Girard
7ad2ef08e2 Bug 1063046 - Simplify format change for tiled layers. r=mstange
--HG--
extra : rebase_source : 82f26e690987c4c08e918eaf5783111922465194
2014-09-22 14:05:26 -04:00
Kartikaya Gupta
385074ab72 Bug 1023473 - Replace tabs with spaces. r=me and DONTBUILD 2014-09-22 11:52:21 -04:00
Jeff Gilbert
39ac1c0389 Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
Milan Sreckovic
e69d88af19 Bug 1048984.2: mOutstandingClients could have been temporarily incorrect in GetTextureClient() call. Call ShrinkToMaximumSize() instead of ShrinkToMinimumSize() in ReturnDeferredClients(). Also add comments and more asserts around outstanding clients. r=nsilva 2014-09-16 10:13:52 -04:00
Milan Sreckovic
61e6103054 Bug 1048984.1: Utility methods for managing texture pool returns. Make sure tiles go back to the correct pool. r=nsilva 2014-09-16 10:07:46 -04:00
Nicolas Silva
61aef5d8c8 Bug 1061699 - Only crash debug builds if BorrowDrawTarget is called on an unlocked TextureClient. r=Bas 2014-09-16 14:32:24 +02:00
James Willcox
fe19d22a4b Back out a84f9edfe968 for bustage 2014-09-12 14:01:26 -05:00
Jeff Gilbert
a399ede263 Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp 2014-09-12 13:39:20 -05:00
Jeff Muizelaar
876ec2d266 Bug 1064479. Redo how screen rotation is implemented on B2G/Layers. r=nical,mwoodrow
Currently we use a world transform on the LayerManager. This gets passed to the
screen render target which adjusts the gl transform to accomplish the rotation.
This causes a lot of the system to have to know about the transform.

Instead we can just bake the transform into the root layer's shadow transform.
Everything now mostly just works.

--HG--
extra : rebase_source : e0e170d191eef5887a2e6b17f71ac79037033006
2014-09-10 15:59:00 -04:00
Nicolas Silva
8851364126 Bug 1041744 - Don't crash if tile allocation fails. r=Bas 2014-09-11 13:52:17 +02:00
Jonathan Watt
fa8c7ec8a5 Bug 1064084, part 1 - Convert all consumers of gfxContext::Translate() to use gfxContext::SetMatrix()/Multiply(). r=Bas 2014-09-11 07:57:38 +01:00
Jonathan Watt
b3072839ca Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas 2014-09-10 18:29:35 +01:00
Ehsan Akhgari
7bfdbee6dc Bug 1064354 - Fix more bad implicit constructors in gfx; r=jrmuizel 2014-09-08 20:48:12 -04:00
Jeff Muizelaar
046fb41321 Bug 1062492. Only use DIBTextureClient with cairo drawing. r=bas
We don't want DIBTextureClient unless we're going to be using cairo for
drawing.
2014-09-08 17:18:04 -04:00
Benoit Girard
0d4aa8b929 Bug 1057088 - Add a way to sync query compositor properties like overfill and HWC status. r=smaug,jrmuizel
--HG--
extra : rebase_source : 2791431bc77e939e78db3b888fc816c9d98294d3
2014-09-02 15:23:34 -04:00
Morris Tseng
8c6bfcdd75 Bug 1062643 - Clear cached resources when ClientLayerManager destroyed. r=nical 2014-09-03 18:55:00 -04:00
Sotaro Ikeda
5e807d5689 Bug 1062361 - Free cached tiles on memory-pressure r=nical 2014-09-04 08:27:46 -07:00
Matt Woodrow
bf7ddd9c43 Bug 982338 - Disable tiling for OSX 10.6. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
c570dad38c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : 8413ce440168235196e44f1a166cfff07a4f842f
2014-09-03 09:20:56 +12:00
Phil Ringnalda
d75200777a Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033) for build bustage
CLOSED TREE

Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033)
Backed out changeset bb3885b57d48 (bug 1059033)
Backed out changeset 76897f52ac2c (bug 1059033)
Backed out changeset 31e89a2a409f (bug 1059033)
Backed out changeset 8e81f6f74182 (bug 1059033)
Backed out changeset c5bbf22f2f28 (bug 1059033)
2014-09-01 18:07:57 -07:00
Matt Woodrow
ab08ddbe57 Bug 982338 - Enable tiling for OSX 10.8. r=Bas
--HG--
extra : rebase_source : c55a42c7e47413966cd5d67a3ae2eb65d142c860
2014-07-25 12:49:45 +12:00
Matt Woodrow
0da1f6255a Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical
--HG--
extra : rebase_source : b25fcc2b2fb298b9654c36a57fc9fa26877bf9ff
2014-09-02 12:35:10 +12:00
Carsten "Tomcat" Book
cd08246928 Backed out changeset 7de1b4a42f1c (bug 982338) for OS X Crash Bustage on a CLOSED TREE 2014-09-01 09:58:39 +02:00
Phil Ringnalda
91ea7d35b7 Backed out 8 changesets (bug 1057212, bug 1059033) for Windows build bustage
CLOSED TREE

Backed out changeset a54dbdca597b (bug 1059033)
Backed out changeset d8d79e4fbfc4 (bug 1059033)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033)
Backed out changeset e59430ea4256 (bug 1059033)
Backed out changeset 301fdfea8fbf (bug 1059033)
Backed out changeset 1ef5a3a9bb06 (bug 1059033)
Backed out changeset a7eaac164c36 (bug 1059033)
2014-08-31 23:55:31 -07:00
Matt Woodrow
60ee95919c Bug 982338 - Enable tiling for OSX 10.8. r=Bas 2014-07-25 12:49:45 +12:00
Matt Woodrow
2b8f6be48c Bug 1059033 - Part 4: Avoid recreating DrawTargets too often. r=nical 2014-09-01 15:22:57 +12:00
Botond Ballo
00e33dc16a Bug 1057642 - More convenient formatting of BasePoint. r=BenWa,kats
--HG--
extra : rebase_source : bf75da112714f584ce3fc802d716a6c969e1d160
2014-08-27 19:25:53 -04:00
Benoit Girard
c507c01cdf Bug 1055050 - Add visual warning if the transaction latency is > 100 ms. r=mwoodrow
--HG--
extra : rebase_source : 23140892b8e598c7073dd1b8c83fbddfa0bf52ee
2014-08-28 15:24:26 -04:00
Carsten "Tomcat" Book
aef0b33b55 merge mozilla-inbound to mozilla-central a=merge 2014-08-28 13:07:10 +02:00
Kartikaya Gupta
39794bb5b4 Bug 1055760 - Replace GetPrimaryScrollableLayer with functions that are more appropriate. r=BenWa 2014-08-27 22:13:41 -04:00
Kartikaya Gupta
c11c63c527 Bug 1055760 - Update tiling code to use LayerMetricsWrapper. r=botond,BenWa 2014-08-27 22:13:41 -04:00
Nicolas Silva
c0faefef23 Bug 1016538 - Fix unbalanced locking logic in tiling. r=Bas 2014-08-27 16:50:25 +02:00
Matt Woodrow
fb5f228c2c Bug 1057222 - Do partial tile uploads on desktop. r=BenWa
--HG--
extra : rebase_source : 47ef135eeb5a2f1c9b97594fa7bc7bcd90360cd2
2014-08-27 18:51:37 +12:00
Matt Woodrow
ba0aa4478a Bug 1059029 - Fix buffer invalidation logic when using DrawTargetTiled. r=nical
--HG--
extra : rebase_source : 117bdf387a3743f35abbfb68a47b2cd88d1f1dc4
2014-08-28 15:37:01 +12:00
Matt Woodrow
1107842200 Bug 1051134 - Revert changes to padding out textures that will be resampled for mobile. r=Bas
--HG--
extra : rebase_source : 62ed83806bdba1ac95dc08e47bb17157e7d6c05a
2014-08-28 15:36:07 +12:00