Граф коммитов

460 Коммитов

Автор SHA1 Сообщение Дата
Benoit Jacob 4374a80063 Bug 958369 - 5/5 - Make ContextType a typed enum - r=jgilbert 2014-01-10 13:55:24 -05:00
Nicolas Silva bc40f52b1f Bug 958040 - Temporarily turn an assertion into a warning to fix OMTC Linux. r=bjacob 2014-01-10 14:43:40 +01:00
Morris Tseng f5d29ea6c7 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-10 08:06:06 -05:00
Nicholas Cameron 311fe4a473 Bug 951556. Don't do multiple flushes due to DrawBufferWithRotation. r=mattwoodrow 2014-01-09 13:57:52 +13:00
Nicholas Cameron b59a3ba405 Fix bustage from bug 933549 because I am an idiot who forgot to qref, on a CLOSED TREE 2014-01-08 14:21:56 +13:00
Nicholas Cameron c5e2b53f69 Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicholas Cameron 630c694b39 backed out bug 933549 on a CLOSED TREE 2014-01-08 10:27:14 +13:00
Nicholas Cameron a0dbb3261d Bug 933549. Change PaintState to use a DrawTarget instead of a gfxContext. r=mattwoodrow 2014-01-08 10:09:34 +13:00
Nicolas Silva 4d89736fcc Bug 900244 - Implement the D3D9 specific TextureClients. r=nrc 2014-01-07 17:20:40 +01:00
Nicolas Silva e8b4b086ed Bug 938591 - Use texture flags in DataTextureSource + D3D9/11 fixes. r=nrc 2014-01-07 17:20:11 +01:00
Ryan VanderMeulen 50da738663 Backed out changeset 403ab3213879 (bug 893304) for bustage. 2014-01-07 10:07:32 -05:00
Morris Tseng a62da0d2f4 Bug 893304 - Convert CanvasClient to new TextureClint/Host and replace SurfaceDescriptors with TextureClients inside SharedSurfaces. r=nical, r=snorp, r=jgilbert, r=bjacob 2014-01-07 09:58:03 -05:00
Benoit Jacob c569071be2 Bug 949347 - Temporary strong reference to the actor in case mActor might be nulled concurrently - r=nical 2014-01-02 17:54:13 -05:00
Benoit Jacob 62c75299c9 Bug 949814 - Remove GetEGLContext and GetLibraryEGL from GLContext - r=jgilbert 2014-01-02 10:17:25 -05:00
Ms2ger fc0c5d7215 Bug 950143 - Remove the implicit conversion operator from nsIntSize to IntSize; r=roc 2013-12-31 10:06:12 +01:00
Benoit Jacob c3a2373a4b Bug 949347 - reference-count TextureChild and have TextureClient hold on to it - r=nical,sotaro 2013-12-20 16:44:30 -05:00
Tor Arvid Lund a9bab1983c Bug 950677 - Change all remaining gfxIntSize -> IntSize refs. r=nical 2013-12-20 11:46:30 -05:00
Tor Arvid Lund 7a84faef28 Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical 2013-12-20 11:46:29 -05:00
Randall Barker 08972a99be Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-19 12:19:25 -08:00
Phil Ringnalda 64afb91b4b Back out 024623d015e9:fa1dd7e7aa22 (bug 895358) for Windows build bustage
CLOSED TREE
2013-12-17 23:36:05 -08:00
Randall Barker 5f29e6fa80 Bug 895358 - Part 2, Enable progressive tile rendering in B2G; r=BenWa,kats,Cwiiis 2013-12-17 13:41:00 -08:00
Chris Lord eb39e0acf3 Bug 950696 - Cache the 'enable tiles' layers pref. r=bgirard
Rename layers.force-tiles to layers.enable-tiles and cache it with the other
layers prefs in gfxPlatform.
2013-12-17 14:02:16 +00:00
Ryan VanderMeulen eb7ced421f Backed out changeset 96b0ddfc63f7 (bug 893304) for causing bug 950589. 2013-12-16 22:49:02 -05:00
Matt Woodrow 0b806c9170 Bug 913503 - Update windowed plugin positions before we schedule a composite with OMTC. r=roc 2013-12-16 18:38:42 +13:00
Morris Tseng 287ef9237a Bug 893304 - Convert CanvasClient to new TextureClient/Host. r=nical, r=snorp, r=jgilbert 2013-12-13 12:45:13 -05:00
Tor Arvid Lund 3d5f99f7f3 Bug 929513 - Replace some instances of gfxIntSize with gfx::IntSize r=nical 2013-12-13 18:32:02 +01:00
Tor Arvid Lund 71bbbd7eb2 Bug 929513 - Remove unused #include statements r=nical 2013-12-13 18:31:35 +01:00
Phil Ringnalda ef063fb0d4 Back out b6f9dbc91dc4 (bug 947038) for Cipc crashes 2013-12-12 23:33:50 -08:00
David Anderson f853c97cb8 Ensure that the software compositor never uses deprecated textures (bug 947038, r=mattwoodrow). 2013-12-12 20:29:14 -08:00
Benoit Jacob 9f063375a9 Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 20:45:11 -05:00
Benoit Jacob 662b111d2c Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical 2013-12-11 20:45:09 -05:00
Benoit Jacob bffd04bbcc Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc 2013-12-11 20:45:05 -05:00
Benoit Jacob ddd558c190 Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc 2013-12-11 20:45:03 -05:00
Benoit Jacob 94263041e6 Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 20:45:01 -05:00
Benoit Jacob c590710a23 Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical 2013-12-11 20:44:55 -05:00
Benoit Jacob 9e7e683c5a Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical 2013-12-11 20:44:53 -05:00
Nicolas Silva 067ae770a6 Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa 2013-12-11 20:44:51 -05:00
Nicolas Silva 3629fbc964 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 20:44:47 -05:00
Nicolas Silva 21bd46b628 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 20:44:45 -05:00
Nicolas Silva 6d4b3e3b43 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 20:44:44 -05:00
Nicolas Silva 1f2be47e2a Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob 2013-12-11 20:44:40 -05:00
Ryan VanderMeulen c269bf8ea6 Backed out 17 changesets (bug 897452) for OSX crashes on a CLOSED TREE.
Backed out changeset 11ad8608bc27 (bug 897452)
Backed out changeset 6bcc629e76f9 (bug 897452)
Backed out changeset b91c858a43f5 (bug 897452)
Backed out changeset 38ba49ee3e97 (bug 897452)
Backed out changeset ea184ef84762 (bug 897452)
Backed out changeset 686cc5122149 (bug 897452)
Backed out changeset 3685a8018e49 (bug 897452)
Backed out changeset be7ef6240068 (bug 897452)
Backed out changeset f95c20e70947 (bug 897452)
Backed out changeset 4a370d2a1c62 (bug 897452)
Backed out changeset 1222f6ab66d2 (bug 897452)
Backed out changeset 5e9d3c681ee9 (bug 897452)
Backed out changeset 3b9ddce12b7a (bug 897452)
Backed out changeset 7aec6387f3e9 (bug 897452)
Backed out changeset eb1fe464fdaf (bug 897452)
Backed out changeset 07deaa53b6fd (bug 897452)
Backed out changeset ddab7d071d69 (bug 897452)
2013-12-11 14:52:50 -05:00
Benoit Jacob 42e7c9fc5a Bug 897452 - Part 15 - Introduce a AtomicRefCountedWithFinalize class to factor our custom-refcounting needs - r=nical 2013-12-11 13:05:37 -05:00
Benoit Jacob 89e20e13a1 Bug 897452 - Part 14 - Implement CompositableChild::ActorDestroy clearing the back-reference to it - r=nical 2013-12-11 13:05:35 -05:00
Benoit Jacob ad578d9a57 Bug 897452 - Part 12 - remove CompositableClient::OnActorDestroy - r=nrc 2013-12-11 13:05:32 -05:00
Benoit Jacob 448c42bafe Bug 897452 - Part 11 - remove TextureClient::OnActorDestroy - r=nrc 2013-12-11 13:05:29 -05:00
Benoit Jacob 2c56c71b5c Bug 897452 - Part 10 - adapt post landing of bug 893301 - r=nical,nrc 2013-12-11 13:05:27 -05:00
Benoit Jacob 513ae59f87 Bug 897452 - Part 7 - Implement TextureChild::ActorDestroy to notify its TextureClient - r=nical 2013-12-11 13:05:21 -05:00
Benoit Jacob 124e78fd76 Bug 897452 - Part 6 - assert that the forwarder we're initializing our TextureChild with is non null - r=nical 2013-12-11 13:05:19 -05:00
Nicolas Silva f87e0fdc23 Bug 897452 - Part 5 - Fix a TextureClient gtest crash - r=BenWa 2013-12-11 13:05:17 -05:00
Nicolas Silva e3132d6da3 Bug 897452 - Part 3 - Clean up some unused code after PTexture change - r=mattwoodrow 2013-12-11 13:05:13 -05:00
Nicolas Silva d624f90dd5 Bug 897452 - Part 2 - PTexture deallocation logic - r=sotaro,bjacob 2013-12-11 13:05:11 -05:00
Nicolas Silva 01cd073429 Bug 897452 - Part 1 - Implement the PTexture protocol - r=mattwoodrow 2013-12-11 13:05:09 -05:00
Nicolas Silva 85c56fc061 Bug 897452 - Part 0.1 - Make it possible for TextureClient to call virtual methods just before its destructor. r=bjacob 2013-12-11 13:05:05 -05:00
Nicholas Cameron c9131de1bb Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Birunthan Mohanathas bfaa1613a3 Bug 798033 - Remove 'using namespace' from gfx/ headers. r=jrmuizel 2013-12-08 21:53:26 -05:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Phil Ringnalda 74b2dea823 Backed out 7 changesets (bug 946958, bug 865033)
Backed out changeset 6dd0a6cb9ab3 (bug 946958)
Backed out changeset 498152aec5b1 (bug 946958)
Backed out changeset 7d035322f51d (bug 946958)
Backed out changeset 99f8ad7561ef (bug 946958)
Backed out changeset 4639c5abea80 (bug 946958)
Backed out changeset 9d1a4d83eccf (bug 865033)
Backed out changeset 41839e4026bc (bug 865033)
2013-12-08 18:43:45 -08:00
Nicholas Cameron 8996a6fb5c Bug 946958 part 2. Remove methods which just forward to compositor. r=mattwoodrow 2013-12-09 14:40:59 +13:00
Nicolas Silva 711566e4d8 Bug 943392 - Let MemoryTextureClient use a fallible allocation. r=BenWa 2013-12-06 16:30:50 +01:00
Nicholas Cameron 252dc1e208 Bug 893301. Don't use new textures content on b2g. r=bjacob,nical 2013-12-06 07:39:22 +13:00
Nicholas Cameron 6083fff067 Bug 893301. Rollup patch - new textures content. r=nical,nrc 2013-12-06 07:39:22 +13:00
Brad Lassey 5a78ec0d22 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
Benoit Jacob 12ae30d582 Back out bug 893301 for accidentally disabling gralloc for thebes layers on B2G - no review, bustage fix on a CLOSED TREE 2013-12-04 12:19:50 -05:00
Nicholas Cameron 7579d5e3ae Bug 946031. Fix a warning in DeprecatedContentClientSingleBuffered::SyncFrontBufferToBackBuffer. r=mattwoodrow 2013-12-04 17:33:16 +13:00
Benoit Jacob 16bf395b6f Bug 944703 - Part 8: make ShmemTextureClient hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Nicholas Cameron 6b5c57b8c4 Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron ee46d57bdc Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicolas Silva 961a970469 Bug 893301. Fix alpha corruptions. r=nrc 2013-11-08 18:53:16 +01:00
Nicholas Cameron 302a5f0e82 Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron e310d54bf8 Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron 598ae4efa7 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron 5ea6b5881d Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Chris Peterson c94a0e8c44 Bug 944257 - Fix warning by removing unused ContentClientBasic member variable mManager. r=gal 2013-11-27 19:19:56 -08:00
Nicholas Cameron 0a2a18e774 Backout bug 893301 for b2g bustage r=me 2013-11-28 12:31:31 +13:00
Nicholas Cameron 8c5eb6d31b Bug 893301. Some rebasing fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron c85dfc76bf Bug 893301. Remove AccessMode use in ContentClient. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron 3880d465ad Bug 893301. Rename BufferProviders. r=mattwoodrow 2013-11-28 10:16:35 +13:00
Nicholas Cameron 5e6740776c Bug 893301. Renaming and indentation fixes. r=nical 2013-11-28 10:16:35 +13:00
Nicholas Cameron 097d6fd331 Bug 893301. Content clients. r=nical 2013-11-28 10:16:34 +13:00
Nicholas Cameron 9de2acbf91 Bug 893301. Changes to texture clients. r=nical 2013-11-28 10:16:34 +13:00
Chris Lord 9afd262a59 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 50940bf209 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
Markus Stange 30aeb02de9 Bug 920123 - Make Start/Stop FrameTimeRecording work with OMTC and remove paint time recording. r=mattwoodrow 2013-11-27 08:32:19 +01:00
Nicholas Cameron d265676d31 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 176a56a656 Bug 932888. Remove thebes paths from ThebesLayerBuffer (part 1). r=mattwoodrow 2013-11-27 13:29:45 +13:00
Ryan VanderMeulen 1c086f8129 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
Benoit Jacob 0a41dbbab1 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
Nicholas Cameron f59c4c9f6d Bug 900248. Only create d3d9 device on the main thread. r=Bas 2013-11-22 11:07:57 +13:00
Nicholas Cameron aea4f9337a Bug 900248. Don't assume ThebesLayerBufer will get the buffers it wants. r=mattwoodrow 2013-11-22 11:07:55 +13:00
David Anderson 54fffb1db4 Only composite changed areas in the software compositor (bug 882447, r=mattwoodrow,nrc). 2013-11-21 11:25:16 -08:00
Nicholas Cameron 9928f8e67c Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Benoit Jacob 41b487f47a Bug 938970 - 5/5. Switch gfx/layers to UNIFIED_SOURCES - r=ehsan,mattwoodrow 2013-11-17 21:07:08 -05:00
Benoit Girard 5aa117f19b Bug 936511 - Add layers.dump to dump layer tree. r=bas,nrc 2013-11-17 16:47:40 -05:00
Michael Wu 460fe2b239 Bug 892285 - Only unlock gralloc surfaces if they were locked, r=bas 2013-11-15 12:50:00 -05:00
Nicholas Cameron 69478b80a7 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow This might even help diagnose the problems causing a CLOSED TREE. 2013-11-15 10:54:25 +13:00
Matt Woodrow 43199694b8 Bug 934860 - Move paint region clipping into DrawThebesLayer. r=roc 2013-11-07 08:10:50 +13:00
Kartikaya Gupta b6add35df3 Bug 732971 - For Fennec move the resolution from the top-level presShell to the content presShell. r=BenWa
The bulk of this patch is fixing up pieces of code that infer the resolution
as the inverse of the scaling transform on the root layer. This used to be
how various bits of gfx code obtained the resolution, but now that we can set
the resolution on the actual presShell that contains the content, we can also
just read the resolution from the FrameMetrics directly.
2013-10-29 09:27:50 -04:00
Gregor Wagner 9e82d05232 Backout Bug 907463 for causing bug 930575 2013-10-25 09:25:17 -07:00
Gregor Wagner 3a43659abc Backout Bug 907463 2013-10-25 09:25:11 -07:00
Nicholas Cameron e59c5a9ee9 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron 0a1164583f Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
David Anderson fc34a69277 Fix resize jank on Linux with OMTC (bug 926618, r=mattwoodrow). 2013-10-21 13:14:47 -07:00
Benoit Girard 282410c103 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Ryan VanderMeulen 41a335c516 Backed out changeset 6150269410b2 (bug 921212) for bustage on a CLOSED TREE. 2013-10-18 10:21:38 -04:00
Benoit Girard b48817b2a7 Bug 921212 - Rotate buffer in place to avoid gralloc surface allocation. r=Bas 2013-10-11 16:47:47 -04:00
Sotaro Ikeda 49db7bff2e Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec 2013-10-17 11:09:15 -04:00
Matt Woodrow 8a32a82431 Bug 922942 - Update BufferTextureClients using Azure. r=nical 2013-10-16 14:00:30 +13:00
Nicolas Silva a36c06d0a7 Bug 919022 - Fix warning by not overloading CreateBufferTextureClient. r=nrc 2013-10-13 17:24:12 -07:00
Benoit Girard 3696e2adc6 Bug 918825 - Add frame duration marker. r=ehsan
--HG--
extra : rebase_source : 25f51e88ee75f47eea51bcc94a7b60f31b9605af
2013-09-27 12:08:45 -04:00
Nicolas Silva 546040be85 Bug 923917 - Make CompositableClient not crash when texture serialization fails. r=nrc 2013-10-09 16:18:29 -07:00
Ehsan Akhgari eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Nicolas Silva fb7278e4bc Bug 916118 - Simplify the TextureClient deallocation protocol. r=nrc 2013-10-02 13:52:04 -07:00
Phil Ringnalda a92d1ffb9b Backed out changeset 2eb7e93512b1 (bug 918825) for browser-chrome crashes 2013-10-01 22:46:48 -07:00
Benoit Girard 43d7d6f444 Bug 918825 - Add frame duration marker. r=ehsan 2013-09-27 12:08:45 -04:00
Nicolas Silva e422a66147 Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob 2013-10-01 17:57:50 -07:00
Wes Kocher 4218f48b71 Backed out changeset ac77b26ec1ee (bug 915940) for PGO build bustage 2013-10-01 14:30:13 -07:00
Nicholas Cameron a6633f8396 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Nicolas Silva 37cac00b5e Bug 921512 - Add a bit of documentation to layers. r=bjacob 2013-09-30 14:42:47 +02:00
Ryan VanderMeulen a0f5674202 Backed out changeset a77f7d610829 (bug 821474) for leaks.
CLOSED TREE
2013-09-27 16:12:28 -04:00
Nicolas Silva 70bd57c168 Bug 821474 - Add memory reporting for Shmem and Memory texture clients. r=BenWa 2013-09-27 20:17:15 +02:00
Ed Morley afcd2640f5 Backed out changeset e28ae87bbc03 (bug 907463) 2013-09-27 11:37:03 +01:00
Ed Morley 0e5b0cebbd Backed out changeset 08d9bbb1044f (bug 907463) 2013-09-27 11:37:00 +01:00
Nicholas Cameron 99372e1e41 Bug 907463. Dealloc shmem on ActorDestroy. r=nical 2013-09-27 21:48:42 +12:00
Nicholas Cameron f75e9a84ab Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow 2013-09-18 15:39:34 +12:00
Nicolas Silva e3ef6e63f3 Bug 916118 - Backed out changeset bafb8bf3b279 on a CLOSED TREE 2013-09-26 19:06:12 +02:00
Nicolas Silva bc11135ff0 Bug 916118 - Simplify the deallocation flags in TextureClient/Host. r=nrc 2013-09-26 18:00:23 +02:00
Benoit Jacob eb8b1d73bb Bug 913872 - Take nested enums out of gfxASurface - 3/3 : remove the now-useless inclusions of gfxASurface.h - r=jrmuizel 2013-09-24 16:45:14 -04:00
Benoit Jacob 55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ed Morley f1a11dfd16 Backed out changeset 505fe9841b16 (bug 915940) on suspicion of Windows PGO-only compilation failures 2013-09-24 16:49:11 +01:00
Nicholas Cameron 5488ca9bd9 No bug. Fixbuild bustage in CanvasClient.cpp. r=bustage 2013-09-24 13:59:59 +12:00
Nicholas Cameron 6b9eb7d024 Bug 912766. Funky refcounting to keep the gfxWindowsSurface alive during transport. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron f9ecccbcc4 Bug 912766. Use the DIB texture client/host. r=mattwoodrow 2013-09-24 13:14:12 +12:00
Nicholas Cameron abd5b28be1 Bug 915940. Memory reporter for memory image surfaces. r=njn,mattwoodrow 2013-09-24 10:59:26 +12:00
Matt Woodrow 13f0eec037 Bug 750434 - Fix space before #include. CLOSED TREE 2013-09-23 15:19:38 +12:00
Matt Woodrow fe4c62f822 Bug 750434 - Followup to fix windows builds. r=bustage CLOSED TREE 2013-09-23 15:15:17 +12:00
Anthony Jones ext:(%2C%20George%20Wright%20%3Cgwright%40mozilla.com%3E) d53de97263 Bug 750434 - Add support for Azure content rendering to ClientTiledThebesLayer. r=mattwoodrow,BenWa 2013-08-14 16:31:05 +12:00
Nicholas Cameron 7f1d6d1aa2 Bug 902591. Check for Azure in ContentClientIncremental. r=mattwoodrow
--HG--
extra : rebase_source : 134ddc6a2fd891179b7531cea4222188b518f19a
2013-09-18 15:47:23 +12:00
Nicholas Cameron 3ea1b23511 Backed out changeset: 0ae388d62a87. r=me 2013-09-18 15:43:26 +12:00
Nicholas Cameron 803375dcea Bug 907463. Backout OP_SOURCE optimisation from bug 907926. r=mattwoodrow
--HG--
extra : rebase_source : eac66979f88c7801bc19646cf81d7c94a77281c0
2013-09-18 15:39:34 +12:00
Nicholas Cameron a48d09aed2 Bug 915944. Don't set TEXTURE_DEALLOCATE_HOST for deprecated canvas clients. r=mattwoodrow 2013-09-13 14:33:07 +12:00
Nicolas Silva 1393f32821 Bug 913821 - Conservatively ensure that TextureClients/Hosts are removed at the end of a video. r=sotaro 2013-09-12 16:50:35 +02:00
Nicolas Silva f8616ba377 Bug 901224 - Postpone deallocation of shared data to the end of the next transaction. r=sotaro 2013-09-12 16:50:28 +02:00
Matt Woodrow 39c60b3152 Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Matt Woodrow fc0b8ab200 Bug 914505 - Make sure that ThebesLayerBuffer::SupportsAzureContent is correct for the first frame. r=nrc 2013-09-12 16:53:46 +12:00
Vladan Djeric b6d0b0a524 Backed out changeset a2f85a996314 (bug 907926) for TART regressions 2013-09-11 13:31:53 -04:00
Matt Woodrow 73266c5cdf Bug 907926 - Don't ignore the composition operator in the Azure paths through ThebesLayerBuffer. r=roc 2013-09-11 17:08:53 +12:00
Brad Lassey 658df973b5 bug 887819 - Investigate using the tiled layers backend, create pref to enable tiles r=BenWa 2013-09-10 14:21:37 -04:00
Matt Woodrow fa8f16578a Bug 912173 - Always AddRef and Release the GLContext when sharing a SurfaceStream to avoid mismatches. r=nrc 2013-09-09 14:35:20 +12:00
Nicolas Silva 0b5271b13d Bug 912939 - Rename LayerTransaction.ipdlh into LayersMessages.ipdlh. r=kanru
--HG--
rename : gfx/layers/ipc/LayerTransaction.ipdlh => gfx/layers/ipc/LayersMessages.ipdlh
2013-09-06 17:41:00 +02:00
Nicolas Silva afe16b3948 Bug 912040 - Make sure deallocating shared texture data doesn't race with TextureClient access. r=sotaro 2013-09-06 11:04:50 +02:00
Nicolas Silva e9a40376a2 Bug 911941 - Prevent TextureClients to be shared by several ImageLayers. r=Bas 2013-09-06 11:03:12 +02:00
Benoit Jacob 8ec75b058c Bug 912042 - Avoid including GLContext.h in headers that don't need it - r=jrmuizel 2013-09-04 08:14:52 -04:00
Nicolas Silva d322267a1f Bug 910921 - Wrong default texture flags when using ImageClient. r=sotaro 2013-09-02 13:36:42 +02:00
Nicholas Cameron 31ac189fe3 Bug 786412. Conslidate container layer methods. r=mattwoodrow 2013-09-02 10:19:18 +12:00
Nicolas Silva 3b571e9cc9 Bug 907745 - Add comments to prepare for bug 908196. r=bjacob 2013-08-28 15:21:13 +02:00
Nicolas Silva a117d896cc Bug 907745 - cleanup ImageClient::CreateImage. r=mattwoodrow 2013-08-28 15:21:05 +02:00
Matt Woodrow 709eb0737a Bug 907792 - Use SharedTextureClientOG for SharedTextureImage. r=nical 2013-08-28 08:16:54 +12:00
Matt Woodrow 64e549b0dc Bug 907792 - Refactor texture flags so that we set the deallocate flags based on the texture type. r=nical 2013-08-28 08:16:03 +12:00
Ryan VanderMeulen e46507ad7c Backed out changeset a255d2d2b67f (bug 907792) for OSX mochitest asserts on a CLOSED TREE. 2013-08-27 13:07:33 -04:00
Matt Woodrow d9ca7b40f6 Bug 907792 - Use SharedTextureClientOGL when needed. r=nical 2013-08-27 11:50:24 +12:00
Nicolas Silva a9903a8c29 Bug 909765 - Make TextureClient and CompositableClient ref counting thread-safe. r=sotaro 2013-08-27 17:03:58 +02:00
Nicolas Silva baaa305040 Bug 907745 - Prepare for texture locking support. r=mattwodrow 2013-08-26 14:50:16 +02:00
Matt Woodrow 112330bfed Bug 907926 - Follow-up to make sure we only enable Azure on the platforms we meant to. 2013-08-23 20:12:30 +12:00
Matt Woodrow 0b9458a071 Bug 907926 - Make ContentClientBasic support Azure content. r=nrc 2013-08-23 18:13:55 +12:00
Nicholas Cameron ae52eee957 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Jan Beich 21390e1de4 Bug 907837 - Don't include SPS headers directly. r=nrc 2013-08-22 19:11:51 +12:00
Wes Kocher bfece22ab9 Backed out changeset 6356b67f6c87 (bug 902929) 2013-08-20 20:50:26 -07:00
Nicholas Cameron dc0aaf9d43 Bug 902929. Assert that we don't have a compositable child for ImageBridgeClients. r=nical 2013-08-21 13:27:05 +12:00
Nicholas Cameron 4bdcd5e9c7 Bug 907466. Support large canvases with d3d11. r=mattwoodrow 2013-08-21 13:13:57 +12:00
Nicholas Cameron 73aeda1397 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Matt Woodrow 92e3402f7c Bug 906147 - Make sure we lock component alpha textures in the correct order to prevent deadlocks. r=nrc 2013-08-21 11:49:31 +12:00
Matt Woodrow 38ae2bdff7 Bug 900133 - Make sure we always set TEXTURE_DEALLOCATE_HOST when required. r=nical 2013-08-20 11:39:56 +12:00
Matt Woodrow 3b6adb72b1 Bug 900133 - Don't mark textures as being sent to the compositor until after we've drawn to them. r=nical 2013-08-20 11:39:55 +12:00
Matt Woodrow edd0212608 Bug 904620 - Always send a transaction when we get a WebGL update to ensure that we get a composite. r=nrc 2013-08-20 11:39:55 +12:00
Chris Lord b1c2b07b0e Bug 747811 - Add gfxReusableImageSurfaceWrapper. r=BenWa
Add an implementation of gfxReusableSurfaceWrapper based on gfxImageSurface
and use it on Android to avoid the overhead of shared memory.
2013-08-19 14:59:27 +01:00
Chris Lord 46b4d68563 Bug 747811 - Separate gfxReusableSurfaceWrapper into a base class and implementation. r=BenWa
Split gfxReusableSurfaceWrapper into gfxReusableSurfaceWrapper and
gfxReusableSharedImageSurfaceWrapper, to allow for non gfxSharedImage-based
implementations.

--HG--
rename : gfx/thebes/gfxReusableSurfaceWrapper.cpp => gfx/thebes/gfxReusableSharedImageSurfaceWrapper.cpp
2013-08-19 14:59:25 +01:00
Benoit Girard ext:(%2C%20Chris%20Lord%20%3Cchrislord.net%40gmail.com%3E) 9bdf6932e4 Bug 747811 - Make the tiles backend safe across processes. r=nrc,BenWa
The tiles backend passes raw pointers to transfer tiled buffers between the
main thread and the compositor. This patch changes that to use shared
memory and tile descriptors instead, as well as changing the memory management
slightly to facilitate that.
2013-08-19 14:59:22 +01:00
Nicholas Cameron 9dab8f05ab Bug 904343. Clear surface descriptors. r=nical. 2013-08-19 11:08:43 +12:00
Nicholas Cameron de9fb7e97c Bug 905790. Let canvases use fallback texure clients like images clients can. r=mattwoodrow 2013-08-18 18:46:21 +12:00
Arnaud Sourioux 25dd048448 Bug 903112 - Replace this with MOZ_THIS_IN_INITIALIZER_LIST() in gfx/. r=jfkthame 2013-08-16 09:18:36 -04:00
Jonathan Kew 787e2ca17f Bug 905780 - actually call the function, don't just interpret its address as a boolean. r=nrc 2013-08-15 22:18:54 +01:00
Nicolas Silva 510cee9244 Bug 858914 - Various TextureClient/Host cleanups. r=nrc. 2013-08-08 14:53:12 +02:00
Phil Ringnalda d2099e030b Back out d393cfeb5dbf:9f82224bb8a3 (bug 903816) for Android reftest failures
CLOSED TREE
2013-08-11 19:21:17 -07:00
Nicholas Cameron 5cd4425728 Bug 903816. Include-what-you-use for gfx/layers. r=roc 2013-08-12 11:17:23 +12:00
Ryan VanderMeulen 97a5f277f4 Backed out changeset ce3a1df4d559 (bug 875247) for mochitest-mc crashes. 2013-08-09 17:56:15 -04:00
Chris Pearce c1ed4d351f Bug 875247 - Use DXVA2 via D3D11 on Windows 8 to avoid readback of video frames when we turn on OMTC on Windows 8. r=Bas,padenot,gps 2013-08-10 08:17:44 +12:00
Nicholas Cameron a36037a10d Bug 902330. Initialise shmem texture clients properly. r=mattwoodrow 2013-08-09 11:32:25 +12:00
Nicholas Cameron 6668fc7c4a Bug 902330. Fix the SupportsAzureContent mess. r=mattwoodrow 2013-08-09 11:32:19 +12:00
Nicholas Cameron 0d12b9587b Bug 902329. Implement component alpha thebes layers with Azure. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron dcdeebdb8d Bug 901722. Fix up component alpha/sub-pixel AA enablement. r=mattwoodrow 2013-08-09 11:30:19 +12:00
Nicholas Cameron bfd24951d3 Bug 901404. Support Azure with single buffered thebes layers. r=mattwoodrow 2013-08-09 11:30:18 +12:00
Milan Sreckovic 56587a4366 Bug 900729: Make TextureFlags constant names (UseNearestFilter, NeedsYFlip, AllowRepeat, NewTile, ComponentAlpha) all caps in CompositorTypes.h and prefix them with TEXTURE_ for consistency and uniqueness. r=nsilva. 2013-08-06 13:36:35 -04:00
Nicholas Cameron f742a26a6e Bug 874721, bug 899435. D3D9 compositor and windows OMTC window resizing. r=Bas, mattwoodrow 2013-08-04 19:46:17 +12:00
Matt Woodrow c297e37460 Bug 900133 - Add TEXTURE_IMMEDIATE_UPLOAD to avoid racing when single buffered. r=nical 2013-08-03 13:30:28 -04:00
Matt Woodrow 7629da8ce8 Bug 900133 - Make sure we always call OnTransaction when we might recreate textures. r=nical 2013-08-03 13:29:48 -04:00
Matt Woodrow 1d98457e70 Bug 893302 - Implement CanvasClient2D on top of NewTextures. r=nical 2013-08-03 13:29:37 -04:00
Matt Woodrow c7f6c4749b Bug 893302 - Rename the CanvasClient class to include Deprecated so we can implement one on top of NewTextureHost. r=nical 2013-08-03 13:29:28 -04:00
Matt Woodrow 1c112a09e7 Bug 900133 - Recreate the TextureClient for an ImageClient if the image size changes. r=nical 2013-08-03 13:29:18 -04:00
Wes Kocher 67614e96b8 Backed out 6 changesets (bug 900133, bug 881634, bug 893302) for build bustage
Backed out changeset 49632bc14e27 (bug 900133)
Backed out changeset 036780fccc89 (bug 900133)
Backed out changeset b8db58f5e209 (bug 893302)
Backed out changeset 67c3e4204e44 (bug 893302)
Backed out changeset a857a4246dd9 (bug 900133)
Backed out changeset e0e2e27af6c1 (bug 881634)
2013-08-02 20:35:39 -07:00