Commit Graph

3005 Commits

Author SHA1 Message Date
Edwin Flores
499b236543 Bug 934412 - Add header offset in SharedRGBImage::GetBuffer r=nical 2013-12-03 10:25:27 +13:00
Benoit Girard
e4183dfbd6 Bug 944866 - Pat 1: Add DrawLines to Compositor.h and implement for OGL. r=gal 2013-12-01 15:54:46 -05:00
Botond Ballo
cc2d1d28c8 Bug 944521 - Scroll-grabbing elements shouldn't grab tap gestures. r=Cwiiis 2013-11-29 16:40:21 -05:00
Dan Glastonbury
1d20a3aa09 Bug 830881 - Port layerscope GL changes to new layers. r=vlad 2013-11-29 14:11:49 +10:00
Mike Hommey
19da4ce8f2 Bug 944830 - Fix non-unified build in gfx after bug 942492, bug 943293 and bug 944172. r=bjacob 2013-12-01 07:20:57 +09:00
Chris Peterson
fd2b11af1f Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal 2013-11-27 19:19:56 -08:00
Ms2ger
a129edb4cb Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
a88cf8354a Bug 937224 - Part a: Move LOCAL_INCLUDES to moz.build in gfx/; r=mshal 2013-11-28 15:10:38 +01:00
Mike Hommey
9245936f8b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Benoit Jacob
fad9e41e04 Bug 942503 - Move BlitTextureImage out of GLContext - r=jgilbert 2013-11-28 15:57:19 -05:00
Benoit Jacob
7fd983a4b5 Bug 944172 - Move DecomposeIntoNoRepeatTriangles out of GLContext - r=BenWa 2013-11-28 15:57:19 -05:00
Mike Hommey
2b828323f2 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00
Andreas Pehrson
801b8841c8 Bug 907292 - Change gfxImageSurface to gfx::DataSourceSurface in TextureHost et al 2013-11-27 10:59:01 +01:00
Nicholas Nethercote
77419f6a47 Bug 936964 (part 7, attempt 2) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
* * *
Bug 936964 (part 7b) - Fix a use-after-free found by ASan.

--HG--
extra : rebase_source : d38ab6b63e9d576773baf8e55fa4f7182c33915e
2013-11-07 16:35:30 +11:00
Mike Hommey
d210f8ff00 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-28 13:08:16 +09:00
Ehsan Akhgari
c3970a73fb Backed out 9 changesets (bug 943660, bug 936964) because of ASAN use-after-free crashes on browser-chrome and mochitest-other
Backed out changeset 85486c4aa3d8 (bug 936964)
Backed out changeset 25312eb71998 (bug 936964)
Backed out changeset 6dbb8333960c (bug 936964)
Backed out changeset da6465ad476f (bug 936964)
Backed out changeset a87ffc992f38 (bug 936964)
Backed out changeset 4ae3a61182db (bug 936964)
Backed out changeset 34e9c3137804 (bug 936964)
Backed out changeset fd1459e71585 (bug 936964)
Backed out changeset 3e8a701d8bdc (bug 943660)

Landed on a CLOSED TREE

--HG--
rename : content/canvas/src/WebGLMemoryTracker.h => content/canvas/src/WebGLMemoryReporterWrapper.h
2013-11-27 20:05:00 -05:00
Nicholas Cameron
1bcc68168a merge backout 2013-11-28 12:32:24 +13:00
Nicholas Cameron
219e9da952 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron
22bfe7130d Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
ca64c4c883 Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
4d7d27aa4c Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron
16c6b58eb5 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron
1dc4b3068e Bug 893301. Tweeks to TextureHost. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
8805ee0f2a Bug 893301. Reviewer changes. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
c6c0992ff8 Bug 893301. Content hosts. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
0c1a756507 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
cf077d310e Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron
57c33f768f Bug 893301. Add a path to RotatedContentBuffer for new textures. r=mattwoodrow 2013-11-28 10:16:33 +13:00
Nicholas Cameron
fca47643ea Bug 893301. Rename GetTextureHost to GetAsTextureHost. r=nical 2013-11-28 10:16:33 +13:00
Nicholas Nethercote
78e4d6490d Bug 936964 (part 7) - Make lots of classes report their own memory consumption, instead of using a separate reporter class. r=mccr8,sr=bz.
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryTracker.h
extra : rebase_source : 611e8d35907959b163aeced1c4ffe1d265048fe6
2013-11-07 16:35:30 +11:00
Anthony Jones
a6c5fd96ab Bug 888084 - Use RollingMean to calculate mean; r=BenWa 2013-09-25 12:13:33 +12:00
Chris Lord
62fe777b60 Bug 931823 - Fix calculation of tiled update data and convert to typed units. r=kats,botond
Various changes to FrameMetrics and such have causes the tile coherency checks
to end up with nonsense values, meaning updates are always happening a tile at
a time.

This fixes the calculation of those values, adds some documentation and
converts a large part of it to using typed units, to make it easier to
understand what's happening.
2013-11-27 17:33:27 +00:00
Benoit Jacob
5f4cdeaa93 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-27 10:19:34 -05:00
Benoit Jacob
f5c4a871c3 Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
aca470946c Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical 2013-11-27 10:18:38 -05:00
Benoit Jacob
fe8d9d9b24 Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-27 10:18:38 -05:00
Brad Lassey
f30a2db1ea Bug 915673 - Only use tiled layers for scrollable layers on b2g. r=tn,bgirard
Introduce a constructor for thebes layers that can take a hint about what the
layer will be used for, and use that hint to only create tiled layers when
the layer represents scrollable content.
2013-09-17 13:55:09 -04:00
Chris Lord
cd2dacabe9 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Markus Stange
dd94318c9b Bug 943041 - Don't delay compositing on the compositor thread in ASAP mode (layout.frame_rate == 0). r=BenWa 2013-11-27 08:33:39 +01:00
Markus Stange
724b3c2649 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Wes Kocher
ef237316f2 Merge m-c to inbound 2013-11-26 20:05:18 -06:00
Nicholas Cameron
e09d3edf71 Bug 932888. Rename ThebesLayerBuffer. r=mattwoodrow
--HG--
rename : gfx/layers/ThebesLayerBuffer.cpp => gfx/layers/RotatedBuffer.cpp
rename : gfx/layers/ThebesLayerBuffer.h => gfx/layers/RotatedBuffer.h
2013-11-27 13:29:46 +13:00
Nicholas Cameron
c16c657321 Bug 932888. Remove some now unnecessary includes. r=mattwoodrow 2013-11-27 13:29:46 +13:00
Nicholas Cameron
714efc30e2 Bug 932888. Azurify some intermediate surfaces in BasicLayerManager. r=mattwoodrow 2013-11-27 13:29:45 +13:00
Nicholas Cameron
04e34b0ee6 Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow 2013-11-27 13:29:45 +13:00
Jim Mathies
1c2433a824 Bug 940952 - Replace apzc GeckoContentController pan notifications with more general purpose transform notifications. r=botond 2013-11-26 14:14:39 -06:00
Carsten "Tomcat" Book
d088654a68 merge b2g-inbound to mozilla-central 2013-11-26 12:40:07 +01:00
Botond Ballo
b1dc5bb9d8 Bug 942535 - Fix a compiler warning about signed/unsigned comparison in APZ. r=dholbert
--HG--
extra : rebase_source : 816fc31c43178e1b5841c3a49cd71d2c08751331
2013-11-25 14:29:41 -05:00
Matt Brubeck
72385391d3 Bug 942689 - Include modifer info in tap gesture events [r=roc,jimm,botond] 2013-11-25 20:30:26 -08:00
Nicholas Cameron
7009d02c24 Bug 943122. Don't repeat 'Mask layer:' in layer dumps. r=BenWa 2013-11-26 15:07:44 +13:00
Nicholas Cameron
792ecf9509 Bug 943110. Don't use fputc in display list/layers dumps. r=BenWa 2013-11-26 15:07:41 +13:00
David Anderson
13e235e641 Remove unnecessary Lock() calls from BasicCompositor (bug 942318, r=mattwoodrow). 2013-11-25 15:15:03 -08:00
Nicholas Cameron
66a02fcd19 Bug 942819. Check the return value of GetD3D9DeviceManager. r=mattwoodrow 2013-11-26 10:54:13 +13:00
Benoit Girard
f8fd653be7 Bug 942483 - Port paint-dumping to android/b2g. r=gal 2013-11-23 17:44:18 -05:00
Ryan VanderMeulen
2ab6caa2dc Merge m-c to inbound. 2013-11-22 15:37:03 -05:00
Ryan VanderMeulen
d7e49cc136 Merge b-i to m-c. 2013-11-22 15:35:31 -05:00
Botond Ballo
ce9e6a29fd Bug 912666 - Implement scroll grabbing in APZ. r=kats,Cwiiis 2013-11-21 17:38:00 -05:00
Trevor Saunders
280dc2e3ce bug 938025 - part 1 - get rid of some static constructors r=bz r=bjacob 2013-11-22 14:45:50 -05:00
Nicholas Cameron
f1b0c4184f Bug 924403. Rename OGL shaders files. r=mattwoodrow
--HG--
rename : gfx/layers/opengl/LayerManagerOGLProgram.cpp => gfx/layers/opengl/OGLShaderProgram.cpp
rename : gfx/layers/opengl/LayerManagerOGLProgram.h => gfx/layers/opengl/OGLShaderProgram.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.h => gfx/layers/opengl/OGLShaders.h
rename : gfx/layers/opengl/LayerManagerOGLShaders.txt => gfx/layers/opengl/OGLShaders.txt
2013-11-27 11:15:17 +13:00
Nicolas Silva
532313927f Bug 924403 - Send non-OMTC GL layers into oblivion. r=nrc 2013-11-27 11:15:17 +13:00
Ryan VanderMeulen
bc4870bf0a Backed out changesets 7caa8e80b06a, 1509f8be5df3, a249bd79e71a, and 9cc4a77561e8 (bug 933082) for mochitest asserts on a CLOSED TREE. 2013-11-26 14:58:09 -05:00
Ryan VanderMeulen
77a5ac1aba Backed out changeset de63b66f3d12 (bug 907743) for Windows bustage.
CLOSED TREE
2013-11-26 14:12:05 -05:00
Benoit Jacob
7031739d99 Bug 933082 - Part 4: let ClientLayerManager hold a ShadowLayerForwarder instead of inheriting from ShadowLayerForwarder. Make ISurfaceAllocator refcounted. Make SharedSurface_Gralloc keep its mAllocator alive - r=nical 2013-11-26 14:00:29 -05:00
Benoit Jacob
88e510bc64 Bug 933082 - Part 3: let ShadowLayerForwarder hold a strong ref to its LayerTransactionChild - r=nical 2013-11-26 14:00:07 -05:00
Benoit Jacob
6da01b7c61 Bug 933082 - Part 2: propagate the mIPCOpen flag, avoid crashing in DestroySharedSurface on a dead channel - r=nical 2013-11-26 13:59:48 -05:00
Benoit Jacob
b61b39b9da Bug 933082 - Part 1: make LayerTransactionChild reference-counted - r=nical 2013-11-26 13:59:28 -05:00
Matt Brubeck
ac835b7740 Bug 941327 - Match scale to scroll offset during zoom animation [r=botond] 2013-11-21 14:12:28 -08:00
Matt Brubeck
c265704099 Bug 941123 - Pre-render content before starting animated zoom [r=botond] 2013-11-21 14:12:25 -08:00
Nicholas Cameron
d46ced7f0e No bug. Add a missing include to fix bustage in the previous patches. r=me 2013-11-22 11:07:58 +13:00
Nicholas Cameron
650c934e8a Bug 900248. Handle the add/remove monitor case. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
66f6fcf591 Bug 900248. An extra safety check in TextureD3D9 plus some refactoring around it. r=Bas 2013-11-22 11:07:58 +13:00
Nicholas Cameron
e3a771b492 Bug 900248. Move logic for device checking to Ready() and check it at the start of transactions. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
d4dfd11e67 Bug 900248. Better handling of device reset and recreation. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
6038069353 Bug 900248. Remove managed pool d3d9 texture use. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
82a91f798b Bug 900248. Reinstate some removed code and don't composite immediately after resetting the device. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
891ad37444 Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron
b59f54b2f4 Bug 900248. Don't return a d3d9 device from device() if we can't composite. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
75b395fe3e Bug 900248. Don't assume success for effect creation. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
a2c46dbd46 Bug 900248. Rebuild the d3d9 device. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
2c528ed544 Bug 900248. ReleaseTextureResources. r=Bas 2013-11-22 11:07:56 +13:00
Nicholas Cameron
a6d524ccf4 Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
Ryan VanderMeulen
d72592ffa8 Merge m-c to inbound. 2013-11-21 15:53:49 -05:00
Ryan VanderMeulen
5caaa48f5b Merge b2g-inbound to m-c. 2013-11-21 15:22:03 -05:00
Nicolas Silva
0efbe40a7d Bug 940959 - Compiled shaders. r=generated code 2013-11-21 17:42:10 +01:00
Nicolas Silva
f1816cfd25 Bug 940959 - Use alpha textures for YCbCr planes with D3D11. r=nrc 2013-11-21 17:42:05 +01:00
Nicolas Silva
c8a1b87893 Bug 940959 - Use alpha textures for YCbCr planes with D3D10. r=nrc 2013-11-21 17:41:58 +01:00
Nicolas Silva
a98016bf5f Bug 940959 - Use alpha textures for YCbCr planes with D3D9. r=nrc 2013-11-21 17:40:55 +01:00
David Anderson
c06bd5c0fb Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Botond Ballo
d1cce81fc7 Bug 941210 - APZCTreeManager builds a wrong APZC tree for some layer trees. r=kats 2013-11-20 15:27:40 -05:00
Nicolas Silva
ae28771d9f Bug 926558 - Remove a warning that is not used correctly. r=BenWa 2013-11-13 13:25:50 +01:00
Botond Ballo
a04c592e61 Bug 912666 - Propagate the 'scrollgrab' attribute to FrameMetrics. r=kats,Cwiiis 2013-09-23 14:09:48 -05:00
Wes Kocher
48c985dd95 Merge inbound to m-c 2013-11-21 19:14:06 -08:00
Benoit Girard
495c58d0d8 Bug 936566 - Print mask layers in layers dump. r=nrc 2013-11-19 23:55:27 -05:00
Chris Lord
bc95d9ddc6 Bug 907743 - Align display port to tile boundaries when tiles are enabled. r=botond,kats
This aligns display ports to tile boundaries, taking care to compensate for
the difference between the requested scroll position and the actual scroll
position.
2013-09-10 18:21:04 -04:00
Jacek Caban
9368b13878 Bug 900248 - Removed extra qualification of IsInTextureHostList.
--HG--
extra : rebase_source : 8e0cdc445810aad2f3f4332462df69b07a6eac02
2013-12-02 12:25:51 +01:00
Ed Morley
2ac7edcee1 Merge mozilla-central and inbound 2013-11-20 12:44:07 +00:00
Ryan VanderMeulen
73463a4880 Merge inbound to m-c. 2013-11-19 20:43:15 -05:00
Ben Kelly
984f0e8486 Bug 940488 - Initalize RotatedBuffer::mDidSelfCopy. r=BenWa 2013-11-19 14:56:57 -05:00
Botond Ballo
b75d9dd1de Bug 900092 - Remove FrameMetrics::ROOT_SCROLL_ID. r=kats,tn 2013-11-08 19:07:00 -05:00
James Willcox
bd9fd5c2da Bug 928804 - Always use an up-to-date texture transform when compositing SharedTextureSourceOGL r=nical 2013-11-19 08:41:57 -06:00