Commit Graph

81 Commits

Author SHA1 Message Date
Matt Woodrow
f8409228f1 Bug 1340117 - Batch ReadLock intializer into a separate IDPL message to avoid hitting the file descriptor limit. r=dvander 2017-02-27 16:12:12 +13:00
Matt Woodrow
b4e0f72e10 Bug 1313281 - Part 2: Remove DeliverFence. r=sotaro 2016-10-27 20:59:50 +13:00
Matt Woodrow
2dabc216dc Bug 1281456 - Decouple TextureForwarder and CompositableForwarder. r=gw280 2016-09-27 16:22:20 +13:00
Matt Woodrow
76abbdcfa8 Bug 1297578 - Part 1: Create a base CompositorBridgeParent class and avoid implementing things twice. r=nical 2016-08-26 09:08:52 +12:00
Jeff Gilbert
a229d1ad42 Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-07-01 13:14:57 -07:00
Carsten "Tomcat" Book
8f2b8a345d Backed out changeset fdabb719c53a (bug 1268638) 2016-06-23 09:47:25 +02:00
Jeff Gilbert
31182c70e5 Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-06-22 17:47:41 -07:00
Wes Kocher
cb2060e2a2 Backed out 8 changesets (bug 1268638) for build bustage CLOSED TREE
Backed out changeset 1a2db6efc575 (bug 1268638)
Backed out changeset ad38e0439b62 (bug 1268638)
Backed out changeset 0078605c6974 (bug 1268638)
Backed out changeset 8ed7ed6c57db (bug 1268638)
Backed out changeset 69116551e4b9 (bug 1268638)
Backed out changeset 002f87a61edf (bug 1268638)
Backed out changeset 8b0db9b0f87c (bug 1268638)
Backed out changeset 5d1285d0c221 (bug 1268638)
2016-06-21 14:53:22 -07:00
Jeff Gilbert
30f9b3f433 Bug 1268638 - Avoid using gfxPrefs in a widfely-included header. - r=jrmuizel
MozReview-Commit-ID: KUERI1IC4HK
2016-06-21 14:10:32 -07:00
George Wright
f7f67d9f58 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-18 03:35:10 +01:00
Sotaro Ikeda
cc18201e0b Bug 1252835 - Make TextureHost recycling implicit r=nical 2016-06-15 04:28:10 -07:00
Phil Ringnalda
98e8049569 Back out changeset c3d167fbd0e4 (bug 1176011) for frequent crashes @mozilla::layers::FixedSizeSmallShmemSectionAllocator::ShrinkShmemSectionHeap() 2016-06-10 19:05:25 -07:00
George Wright
b3daac294f Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-10 14:57:20 -04:00
Wes Kocher
4dd1f16912 Backed out changeset a85da8081c68 (bug 1176011) of OSX failures 2016-06-08 11:44:29 -07:00
George Wright
9bce4b3dd5 Bug 1176011 - Move TextureClientPool to CompositorBridgeChild r=nical 2016-06-08 12:23:41 -04:00
Nicolas Silva
329b5544c1 Bug 1256693 - ISurfaceAllocator cleanup. r=sotaro 2016-03-17 14:58:58 +01:00
Nicolas Silva
b32137e3d8 Bug 1250500 - Avoid copying BufferTextureHost when possible. r=sotaro 2016-02-25 14:15:52 +01:00
Nicholas Nethercote
df2a06cf61 Bug 1234343 (part 1) - Make GfxMemoryImageReporter::sAmount signed. r=Bas.
This is so that if it goes negative (due to missing DidAlloc() calls) it shows
up in about:memory as a negative number, rather than a huge positive number.
2016-01-05 18:26:17 -08:00
Nicolas Silva
360f6becaa Bug 1228952 - Move texture metadata out of the BufferTextureClient/Host's buffer. r=Sotaro 2015-12-16 19:50:58 +01:00
Nicolas Silva
a1b1560746 Bug 1219330 - Prevent the creation of TextureClient after shutdown. r=mattwoodrow 2015-10-30 13:25:29 +01:00
Nicholas Nethercote
10141da023 Bug 1208345 - Remove gfxContext::GraphicsOperator. r=jwatt.
Also...

- Rename various "operator" identifiers as "op" to match |CompositionOp|.

- Rename |nsBackgroundLayerState::mCompositingOp| as |mCompositionOp| to match
  |CompositionOp|.

- Remove some deprecated functions that are no longer needed.
2015-09-24 22:38:58 -07:00
Nathan Froyd
92a8124fef Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Milan Sreckovic
8652cbb729 Bug 1118595 - More aggressive shrinking of shmem section heap. r=bschouten 2015-02-20 14:58:00 -05:00
Milan Sreckovic
0ad696bf3e Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical 2014-12-09 13:19:29 -05:00
Ryan VanderMeulen
1e6003a24b Backed out changesets 258ac2909d6e and 55252aebf52d (bug 1099437) for bustage.
CLOSED TREE
2014-11-26 14:14:16 -05:00
Milan Sreckovic
530e74983d Bug 1099437 - Part 1: Protect against negative sizes and overflow. r=nical 2014-11-20 15:07:22 -05:00
Sotaro Ikeda
e9f22928b0 Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-19 05:33:12 -07:00
Wes Kocher
a38cfddcd3 Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures 2014-07-18 14:21:44 -07:00
Sotaro Ikeda
010ff9062f Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 12:40:35 -07:00
Carsten "Tomcat" Book
dbc1e7e9d8 Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE 2014-07-18 16:09:15 +02:00
Sotaro Ikeda
493aa8441b Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical 2014-07-18 06:21:24 -07:00
Chris Peterson
b51aca5b49 Bug 1031165 - Fix non-unified OS X build's warnings-as-errors in gfx/layers. r=bjacob 2014-06-26 23:36:27 -07:00
Chris Lord
46041cdb7a Bug 1011569 - Remove PreferMemoryOverShmem in favour of IsSameProcess. r=nical 2014-06-11 14:52:19 +01:00
chiajung hung
6d989dc8a2 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-30 21:52:00 -04:00
Birunthan Mohanathas
eeb9aaaa94 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Ed Morley
d7140486ee Backed out changeset d58403b60c77 (bug 959089) 2014-04-25 17:51:11 +01:00
chiajung hung
219670ffd0 Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical 2014-04-25 02:29:00 -04:00
Jonathan Watt
55c20bd03b 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
Matt Woodrow
ea5c198fb6 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
dc383bca70 Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
cfd19c8f26 Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
872b2cd61c Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Phil Ringnalda
9724e72fe9 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
f63bc4cb77 Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
89e925982f Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
b924e9f2ce Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical 2014-04-07 13:32:49 +12:00
Matt Woodrow
55957df8b3 Bug 991028 - Remove AutoOpenSurface. r=nical 2014-04-07 13:32:48 +12:00
Matt Woodrow
b6a7565254 Bug 985302 - Make ISurfaceAllocator use AtomicRefCountedWithFinalize to avoid calling virtual functions from its destructor. r=Bas 2014-03-19 12:02:42 +08:00
Bas Schouten
645a5f4986 Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal 2014-03-13 06:17:05 +01:00
L. David Baron
a6f5776e51 Bug 969898: Make gfx/heap-textures memory reporter support 64-bit numbers on 64-bit platforms. r=njn 2014-02-10 17:03:24 -08:00