Birunthan Mohanathas
47ed3a3675
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Nathan Froyd
8780083336
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
Bas Schouten
06d0be21af
Bug 1158575: Support using GDI rendering for opaque surfaces when using cross-process layers. r=jrmuizel
2015-05-22 17:54:24 +02:00
Andrea Marchesini
e95d49e405
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Ehsan Akhgari
64a4483dde
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
Sotaro Ikeda
6543eda80d
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-19 05:33:12 -07:00
Wes Kocher
80cd1b254d
Backed out changeset 9b764e12796d (bug 1039883) for b2g m7 failures
2014-07-18 14:21:44 -07:00
Sotaro Ikeda
f5c38acac7
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
1a9b9f9427
Backed out changeset 79d65a1bbb01 (bug 1039883) for assertion failures on a CLOSED TREE
2014-07-18 16:09:15 +02:00
Sotaro Ikeda
67616ec086
Bug 1039883 - release Tiled layer's gralloc when an application is background r=nical
2014-07-18 06:21:24 -07:00
Sotaro Ikeda
d6e33f2033
Bug 1035755 - Fix RemoveTextureFromCompositableTracker::ReleaseTextureClient() r=nical
2014-07-15 06:22:35 -07:00
Sotaro Ikeda
5a9be37586
Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar
2014-06-27 06:26:51 -07:00
Benoit Jacob
8c1b0d7cfc
Bug 1028588 - Fix dangerous public destructors in gfx - r=jrmuizel
2014-06-23 14:49:07 -04:00
Nicholas Nethercote
bb9d51e11e
Bug 1010064 - Allow memory reports to be anonymized. r=bsmedberg.
...
--HG--
extra : rebase_source : 5eb756b17a97e751deb0f47e909fdb35533cb23b
2014-05-20 23:06:54 -07:00
Jonathan Watt
a2c85753d8
Bug 1025490 - Stop using gfxImageSurface in the layers code. r=Bas
2014-06-17 18:35:51 +01:00
chiajung hung
aca898b7e3
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ed Morley
2e2eb508f0
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
c35afafcc1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Matt Woodrow
abb78fae19
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
3c6121821c
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
25cf440923
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
d532a9c01b
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Phil Ringnalda
fde12dd0a6
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
fbd13c088f
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
950ae39f8e
Bug 991028 - Get rid of OpenDescriptor/CloseDescriptor. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
364dbbb0aa
Bug 991028 - Stop using OpenDescriptor in ContentClientIncremental. r=nical
2014-04-07 13:32:49 +12:00
Matt Woodrow
75309237f6
Bug 991028 - Remove AutoOpenSurface. r=nical
2014-04-07 13:32:48 +12:00
Nicolas Silva
9e32afc054
Bug 989904 - Remove the remaining deprecated textures code. r=mattwoodrow
2014-04-03 14:04:04 +08:00
Sotaro Ikeda
ac241610d9
Bug 986933 - Add DeallocGrallocBuffer() r=nical
2014-03-25 18:28:47 -07:00
Matt Woodrow
054e401662
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
3c662b2e64
Bug 981315: Add ShmemSection and use it for gfxShmSharedReacLock. r=gal
2014-03-13 06:17:05 +01:00
Chris Lord
f1977b5d50
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
Bas Schouten
a0108bc8af
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
Benoit Jacob
5941604c55
Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical
2014-02-25 08:12:49 -05:00
Ehsan Akhgari
067fa188b6
Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree
2014-02-20 21:33:49 -05:00
L. David Baron
fb212fb7fe
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
Nicholas Nethercote
ed423fbdef
Bug 955942 (part 2) - Remove MemoryUniReporter. r=mccr8.
...
--HG--
extra : rebase_source : 9d70016cb19637ffece6409a184bf41d574cc6b4
2013-12-07 22:09:10 -08:00
Tor Arvid Lund
d44e391678
Bug 950677 - gfxIntSize -> IntSize in ipc/ directory. r=nical
...
(Detail: Chose to put an #include for Point.h in a header instead of a
forward declaration because a fwd decl caused an "Already defined" error
and having neither fwd decl or #include caused another compile failure
saying IntSize was undefined)
2013-12-20 11:46:29 -05:00
Tor Arvid Lund
7b9c2a5b21
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -05:00
Nicholas Cameron
ec6049922f
No bug. Remove an erroneous comment. r=me. DONTBUILD
2013-12-04 12:28:36 +13:00
Benoit Jacob
406f766862
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
f83f2f5858
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
Ryan VanderMeulen
9071a054e6
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
6c51ca326b
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
688f0181f9
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
Nicholas Cameron
407c5f8c6b
Bug 907463. Dealloc shmem on ActorDestroy. r=nical
2013-09-27 21:48:42 +12:00
Benoit Jacob
633e63c6ef
Bug 938970 - 2/5. Add more namespace qualifiers in gfx/layers code to avoid ambiguous namespace resolution - r=mattwoodrow
2013-11-17 21:06:21 -05:00
Nicholas Cameron
d1aab0c912
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
Gregor Wagner
aafe01583e
Backout Bug 907463 for causing bug 930575
2013-10-25 09:25:17 -07:00