Morris Tseng
6c605d106d
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical
2015-09-29 11:51:23 +01:00
Carsten "Tomcat" Book
f08a248c9a
Backed out changeset 446055bf8ee4 (bug 1199371)
2015-09-03 08:38:28 +02:00
Matt Woodrow
c5f3ed703d
Bug 1199371 - Don't create TextureClients for video when the video isn't visible. r=nical
...
--HG--
extra : rebase_source : 410c00d88d0601f5f2b1e02cf8b09f60a934e07a
2015-09-01 15:35:55 -04:00
Birunthan Mohanathas
a8939590de
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
Robert O'Callahan
84a4b59472
Bug 1143575. Remove ClearAllImagesExceptFront because it doesn't do anything. r=nical
...
ImageBridgeChild::FlushAllImages with aExceptFront==true does absolutely
nothing, so remove the parameter and remove all callers which pass true.
--HG--
extra : commitid : D7XjM7QaYjQ
extra : rebase_source : 6c8db683a98a2a340202a88d00d6d70f44a9f374
2015-03-26 14:08:30 +13:00
Robert O'Callahan
68954a66d8
Bug 1143575. Route ImageCompositeNotifications to ImageContainers. r=nical
...
For frame statistics to work properly, we have to notify an ImageContainer
when it has been composited. This requires a few changes, which have
been lumped together in this patch:
-- Create PImageContainer and ImageContainerParent/ImageContainerChild.
-- Add mFrameID and mProducerID everywhere we're passing around images.
-- Route composition notifications from the compositor back to
ImageContainerChild.
--HG--
extra : commitid : 7atVkOgdEhG
extra : rebase_source : caaba6a708ed267368df44609fb047abde9c3ca1
2015-07-06 15:02:26 +12:00
Robert O'Callahan
6111862fcc
Bug 1143575. Make ImageClientSingle handle multiple textures. r=nical
...
--HG--
extra : commitid : IMpF8V8HNbk
extra : rebase_source : e7748b4daa61d031a092970c793edef38787f974
2015-07-03 22:37:03 +12:00
Robert O'Callahan
942ed20877
Bug 1143575. Pass a picture rect with OpUseOverlaySource and OpUseTexture, and eliminate OpUpdatePictureRect. r=nical
...
The picture rect logically belongs with the texture, and later patches will
make OpUseTexture take multiple textures, each of which needs its own
picture rect.
--HG--
extra : commitid : AF2YszcgNe1
extra : rebase_source : 826332fc5dfec25b712ff62e5812cb00aaac81a4
2015-07-04 10:52:42 +12:00
Sotaro Ikeda
813272f335
Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical
2015-07-05 11:56:04 -07:00
Nathan Froyd
974d8120f2
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
Sotaro Ikeda
e2d6f1ea99
Bug 1091037 - Raise ImageBridge thread priority r=gsvelto,nical
2015-05-07 06:53:47 -07:00
Andrea Marchesini
ade2831035
Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan
2015-04-22 08:29:24 +02:00
Nicolas Silva
cfff5e52c5
Bug 1155621 - Make nsIntRect and nsIntPoint typedefs of mozilla::gfx::IntRect and mozilla::gfx::IntPoint. r=Bas
2015-04-21 17:04:57 +02:00
Ethan Lin
1142d9f968
Bug 1146214 - Remove the unused code after refactoring. r=nical
2015-04-10 02:20:00 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Nicolas Silva
aff1fa6b6c
Bug 1147894 - Remove the redundant OpUpdateTexture IPDL message. r=sotaro
2015-03-27 11:16:22 +01:00
Ehsan Akhgari
883849ee32
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
Benoit Girard
aa69b47387
Bug 1135857 - Remove ContentClientIncremental. r=mattwoodrow
2015-02-23 18:22:06 -05:00
Kyle Huey
7c82e6dd0a
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Ehsan Akhgari
b447c92ece
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
bda824b950
Bug 1076868 - Fix RemoveTextureFromCompositableAsync() call handling r=nical
2014-10-07 11:37:15 -07:00
Trevor Saunders
d75ed5bf7f
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
chiajung hung
d7c7e3a117
Bug 1002823 - [Stingray] Add a new kind of image layer without graphic buffer for overlaying video input. r=nical
2014-08-18 22:14:00 -04:00
Benoit Jacob
61671a4f88
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-04 14:04:12 -04:00
Benoit Jacob
15eb88c866
back out bug 774388 and bug 1028383 for intermittent e10s mochitest-2 crashes
2014-07-04 21:24:32 -04:00
Benoit Jacob
688107fdd1
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-04 14:04:12 -04:00
Ryan VanderMeulen
6d9424856d
Backed out 10 changesets (bug 1033358, bug 774388, bug 1028383) for causing frequent shutdown crashes on a CLOSED TREE.
...
Backed out changeset a54b05c9e4a1 (bug 1028383)
Backed out changeset 37985f79e0c2 (bug 774388)
Backed out changeset d07521729077 (bug 774388)
Backed out changeset 9f14b17f358c (bug 774388)
Backed out changeset 2d347d6aa9bc (bug 774388)
Backed out changeset 99581dfb5ec4 (bug 774388)
Backed out changeset 2532e22d6135 (bug 774388)
Backed out changeset 719844108f1a (bug 774388)
Backed out changeset 7829c78348a4 (bug 1033358)
Backed out changeset c571df9a85de (bug 1033358)
2014-07-03 20:37:05 -04:00
Benoit Jacob
0ce7e6bc43
Bug 774388 - Patch 9: Introduce NS_INLINE_DECL_THREADSAFE_REFCOUNTING_WITH_MAIN_THREAD_DESTRUCTION - r=mattwoodrow
2014-07-03 14:53:31 -04:00
Sotaro Ikeda
e17cd37863
Bug 1029719 - Release TextureClient on correct thread r=jmuizelaar
2014-06-27 06:26:51 -07:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Sotaro Ikeda
539d95f87e
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Nicolas Silva
7c865568d2
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Ryan VanderMeulen
9e342ce37a
Revert to revision 63dfac3c9c87 due to mass bustage pile-ups that landed after it on a CLOSED TREE.
2014-05-16 12:29:37 -04:00
Nicolas Silva
5fdb00fc48
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-05-07 11:06:19 +02:00
Sotaro Ikeda
582a7928b4
Bug 950079 - Add release Fence handling to SurfaceStream on gonk
2014-05-14 15:40:15 -07:00
Sotaro Ikeda
1de11b15ef
Bug 984434 - Change ImageBridgeChild::FlushAllImages() to use async ipc r=nical
2014-05-12 07:39:25 -07:00
Sotaro Ikeda
e4e2cb245d
Bug 1000525 - Defer Fence release until IPC delivery complete r=nical
2014-05-05 18:56:40 -07:00
chiajung hung
098a829ab1
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-30 21:52:00 -04:00
Ed Morley
1281549341
Backed out changeset fbb86a21aba0 (bug 924622) for leaks on OS X 10.6; CLOSED TREE
2014-04-25 17:51:42 +01:00
Ed Morley
1ce229a50b
Backed out changeset d58403b60c77 (bug 959089)
2014-04-25 17:51:11 +01:00
chiajung hung
59edff0d8f
Bug 959089 - Part 2: Use the new protocol to do buffer allocation. r=nical
2014-04-25 02:29:00 -04:00
Nicolas Silva
2dd73e27ec
Bug 924622 - Make sure gfx's ipc shutdown happens before shutting down xpcom threads. r=bsmedberg, sotaro
2014-04-25 13:55:36 +02:00
Matt Woodrow
e52746c78e
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Phil Ringnalda
c213611c51
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
605fb137f9
Bug 991028 - Remove deprecated IPDL SurfaceDescriptor types. r=nical
2014-04-07 13:32:49 +12:00
Nicolas Silva
1c3e5f7d5d
Bug 989904 - Remove some of the deprecated backend-independent textures. r=mattwoodrow
2014-04-01 14:28:23 +08:00
Nicolas Silva
24e2f3dd3b
Bug 989883 - Remove deprecated ContentClient/Host. r=mattwoodrow
2014-04-01 14:28:05 +08:00
Sotaro Ikeda
3c541b7114
Bug 985772 - Remove SurfaceDescriptor around GonkNativeWindow r=nical,pchang,schiu,mikeh,gal
2014-03-31 08:24:28 -07:00
Sotaro Ikeda
e4b5d68110
Bug 986933 - Add DeallocGrallocBuffer() r=nical
2014-03-25 18:28:47 -07:00
Bas Schouten
d301df5d45
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
522c9a1fee
Bug 974356 - 2/4 - add an IsSameProcess method to ISurfaceAllocator - r=nical
2014-02-25 08:12:49 -05:00
Sotaro Ikeda
6c3be1e5b5
Bug 962101 - Handle Remove Texture in Compositable level. r=nical
2014-02-10 15:52:35 -05:00
Nicolas Silva
84a35dc66a
Bug 966528 - Use a specific IPDL message for component alpha. r=mattwoodrow
2014-02-06 12:28:29 +01:00
Nicolas Silva
d3412aefb7
Bug 959615 - Initialize the TextureChild/Parent at creation time. r= bjacob
2014-01-21 23:06:18 +01:00
Tor Arvid Lund
0cb3c8eff8
Bug 950677 - Change gfxIntSize -> gfx::IntSize some places in layers/ipc. r=nical
2013-12-20 11:46:28 -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
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
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
Ehsan Akhgari
96c519ebd6
Bug 938134 - Build widget/xpwidgets in unified mode; r=roc
...
--HG--
rename : widget/shared/WidgetUtils.cpp => widget/shared/SharedWidgetUtils.cpp
2013-11-17 14:03:55 -05:00
Sotaro Ikeda
49db7bff2e
Bug 925381 - Fix mpeg4 video seek failure. r=nical, r=doublec
2013-10-17 11:09:15 -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
Matt Woodrow
c00e35e764
Bug 886219 - Make sure we release ImageBridge compositables and textures from the ImageBridge thread. r=nical
2013-10-02 16:05:35 +13:00
Cervantes Yu
0a6a25b7c4
Bug 771765 - Support template content process, part 9: allocating a toplevel protocol should return itself. r=dzbarsky
...
Reverse the effect in bug 879475 part 14 since we need to keep track of open protocols in the Nuwa process.
2013-09-26 12:19:09 +08:00
David Zbarsky
9eca84e4d8
Bug 879475: Allocing an actor for a bridged or opened protocol should return bool r=jlebar
...
Conflicts:
dom/ipc/ContentChild.cpp
dom/ipc/ContentChild.h
2013-09-23 17:54:25 -04: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
Nicholas Cameron
73aeda1397
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12: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
Nicolas Silva
8592c4c12d
Bug 858914 - New texture classes + OGL backend (preffed off). r=bas, nrc
2013-07-30 11:59:51 +02:00
David Zbarsky
db1c02da4a
Bug 885804: Renaming in gfx r=nical
2013-07-08 11:48:39 -04:00
Matt Woodrow
58a83c3cf9
Bug 871150 - Call IdentifyTextureHost on ImageBridgeChild so that we create appropriate textures for the compositor. r=nical
2013-06-24 17:28:22 +12:00
Vladimir Vukicevic
020a93e885
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Vladimir Vukicevic
99cf91d665
Backed out changeset fd25fb9e951e and 0f0c080ed1ba (bug 843599) for mac debug assertion failures on a CLOSED TREE
2013-05-27 11:45:59 -04:00
Vladimir Vukicevic
8969f99b17
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Matt Woodrow
f0fe705373
Bug 870211 - Add new IPC messages to LayersTransaction for doing incremental updates to textures. r=Bas
2013-05-16 15:45:43 +12:00
James Willcox
ff9fc3204f
Bug 863223 - Make canvas updates asynchronous once again r=nrc
2013-05-01 19:24:27 -04:00
Matt Woodrow
fbeb0e7f79
Bug 809273 - Add code handling dual buffers in ThebesLayerBuffer. r=roc
2013-04-22 14:40:52 +12:00
Nicholas Cameron
ec2b053649
Bug 862064; use PCompositable for tiled layers and add TiledContentClient. r=nical
...
--HG--
extra : rebase_source : b0055e13b661f78bc0e7168c0df8c6082cfdb34e
2013-04-17 09:36:06 +12:00
Nicholas Cameron
fdc9d01061
Bug 844928, remove PTexture. r=nical
...
--HG--
extra : rebase_source : c6588d7381fc468068eb7e393f52afafb9586253
2013-04-12 19:28:55 +12:00
Bas Schouten
839048be74
Bug 825928: Land layers refactoring. r=jrmuizel,bas,nical,mattwoodrow,roc,nrc,benwa,bjacob,jgilbert,kchen CLOSED TREE
...
Please contact Bas Schouten <bschouten@mozilla.com>, Nicolas Silva <nsilva@mozilla.com> or Nicholas Cameron <ncameron@mozilla.com> with general questions. Below is a rough list of authors to contact with specific questions.
Authors:
gfx/layers/Compositor.* gfx/layers/Effects.h - Compositor Interface - bas,nrc,nical
gfx/layers/d3d* - D3D9/D3D10 - bas
gfx/layers/ThebesLayer* - ThebesLayers - nrc,bas
gfx/layers/composite/* - CompositeLayers - nrc,nical
gfx/layers/client/* - Client - nrc,nical,bas
gfx/layers/*Image* - nical
gfx/layers/ipc ipc - IPC - nical
gfx/layers/opengl - CompositorOGL - nrc,nical
gfx/2d - bas,nrc
gfx/gl - GLContext - bjacob
dom/* layout/* - DOM - mattwoodrow
2013-04-10 09:20:52 +00:00
Chris Jones
039ea59262
Bug 782456, part 0: Add the cross-process ImageBridge glue. r=roc
2012-08-29 09:24:48 -03:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Kan-Ru Chen
4e3b4c5d63
Bug 757341 - Camera direct texturing with async video. r=cjones
2012-08-17 18:56:55 +08:00
Nicolas Silva
966f3cd0b1
Bug 598868: Add support for pushing video frames directly to the compositor thread, bypassing the content thread. r=cjones
2012-07-13 15:38:09 -04:00