Morris Tseng
d563c2a331
Bug 1207887 - Fix AsyncPanZoomAnimation, WheelScrollAnimation and TextureHost doesn't compile in non-unified build. r=nical
2015-09-23 18:53:00 +02:00
Aryeh Gregor
d1a1825fa8
Bug 1193298 - Part 1: Avoid RefPtr in ternary operator. r=froydnj
2015-08-11 06:43:00 -04:00
Benoit Girard
dd036454ac
Bug 1072313 - Check for more leaks in the layers code. r=mstange
2015-07-29 11:57:03 -04:00
Bobby Holley
710865df63
Bug 1188696 - Hoist nsRefPtr.h into MFBT. r=froydnj
2015-07-29 10:44:59 -07:00
Jeff Muizelaar
b3f2f5c860
Bug 1186025. Optimize the usage of regions. r=mstange
...
This eliminates a bad idiom in some places.
2015-07-21 10:54:44 -04:00
Birunthan Mohanathas
a29151dc87
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
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
Jeff Gilbert
b9ee920350
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
c801883c90
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
f857abecd5
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Milan Sreckovic
64e9f67caf
Bug 1131463 - Report AtomicRefCounterWithFinalize doing the wrong thing with AddRef and Release in release build as well. r=sotaro
2015-05-29 16:41:28 -04:00
CJKu
c633e92c73
Bug 1133007 - Send the content of a texture only if its was altered since previous transmission. r=kamidphish, r=boris
2015-06-02 06:21:00 -04:00
Wes Kocher
e3c99b1002
Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange
2015-05-28 17:08:53 -07:00
Jeff Gilbert
1e6d621331
Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical
2015-05-28 14:51:39 -07:00
Jeremy Chen
9b9e69cd0f
Bug 1155495 - Part 1: Remove TextureHostOGL and integrate the platform specific API into TextureHost. r=nical, r=sotaro
2015-05-22 02:25:00 -04:00
Bas Schouten
5e3bac60af
Bug 1158575: Support using GDI rendering for opaque surfaces when using cross-process layers. r=jrmuizel
2015-05-22 17:54:24 +02:00
Nathan Froyd
43cddcfc0d
Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
...
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary. It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00
Nathan Froyd
3c715f85db
Bug 1116905 - part 3 - remove dependence on implicit conversion from T* to TemporaryRef<T>, gfx changes; r=jrmuizel
2015-04-30 15:20:30 -04:00
Nicolas Silva
d73f54cb00
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
a4b8f3e340
Bug 1146214 - Implement fence delivery. Combine ipc messages and remove reply fence delivery message. r=nical
2015-04-10 02:19:00 +02:00
Nicolas Silva
166bce0b62
Bug 1132854 - Remove the gfx::ToIntSize conversion helper. r=Bas
2015-04-07 16:08:57 +02:00
Nicolas Silva
02da2bf4ee
Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel
2015-03-27 11:16:27 +01:00
Nicolas Silva
e18ddbeb5c
Bug 1145981 - Backout, missing review
2015-03-27 11:19:22 +01:00
Nicolas Silva
3ef06e667f
Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro
2015-03-27 11:16:34 +01:00
Nicolas Silva
86e0d129d2
Bug 1145981 - Do not crash when a DIB texture is updated without a compositor. r=jrmuizel
2015-03-27 11:16:27 +01:00
Nicolas Silva
d88ccba361
Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro
2015-03-27 11:16:18 +01:00
Ehsan Akhgari
ea41d8de48
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
Matt Woodrow
dda2ab8de0
Bug 1138967 - Part 3: Add D3D11 YCbCr texture clients and upload on the client side. r=nical
2015-03-19 10:17:13 +13:00
Jeff Muizelaar
6cbfabbc4c
Bug 1141864. Replace a bunch nsAutoPtr.h includes with nsRefPtr.h
2015-03-10 20:48:09 -04:00
Bas Schouten
33aee03953
Bug 1138934: Make sure the white texture of a component alpha pair is fully uploaded when new. r=nical
...
This is slightly wasteful since this will also always upload the full black texture. The wastage here is so rare and generally so few though that I don't think it's worth adding plumming for the texture host to know if this is the texture on white of on black.
2015-03-06 02:37:12 +01:00
Milan Sreckovic
06cb5bf264
Bug 1110528 - Check for invalid surface before calling update. r=nical
...
CLOSED TREE
2014-12-12 14:56:06 -05:00
Benoit Girard
433462a3b6
Bug 1110998 - Let the profiler turn on layers.dump-texture. r=mstange
2014-12-12 16:11:57 -05:00
Benoit Girard
4016d4d437
Bug 1105834 - Part 3: Add lz4 support to layers.dump-texture. r=jrmuizel
2014-12-08 14:42:33 -05:00
Benoit Girard
d63ecdc725
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
Wes Kocher
45d5855d14
Backed out 3 changesets (bug 1105834) for non-unified bustage
...
Backed out changeset 33592fd41f1f (bug 1105834)
Backed out changeset c3e505887e9f (bug 1105834)
Backed out changeset 6aad17f431d1 (bug 1105834)
2014-12-08 17:15:46 -08:00
Benoit Girard
b3d1b4bc18
Bug 1105834 - Part 3: Add lz4 support. r=jrmuizel
2014-12-08 14:42:33 -05:00
Benoit Girard
285d0437e8
Bug 1105834 - Part 2: Add layers.dump-texture feature. r=mstange
2014-11-28 17:41:47 -05:00
Nicolas Silva
53260df28f
Bug 1098000 - Track the number of compositable references to TextureHost and only unbind gralloc textures after the last ref goes away. r=sotaro
2014-11-17 11:06:25 +01:00
Matt Woodrow
cfc49c30ba
Bug 1097441 - Initialize mSize on BufferTextureHost. r=nical
2014-11-13 10:44:42 +13:00
Sotaro Ikeda
c035b4f8c3
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-13 07:53:49 -08:00
Ryan VanderMeulen
86e0ade867
Backed out changeset 92295f515d2d (bug 1091777) for bustage.
2014-11-12 21:09:40 -05:00
Sotaro Ikeda
62eaf2a790
Bug 1091777 - Add TextureClient recycling to CairoImag r=nical
2014-11-12 17:47:10 -08:00
Jeff Muizelaar
4b98a7213e
Bug 1066312. Use IDXGIKeyedMutex for synchronization with D3D11 angle. r=jgilbert
...
This currently does nothing because the ANGLE we're using doesn't have keyed mutex
support.
2014-10-31 10:57:32 -04:00
Nicolas Silva
6ea204e520
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
2211ee6ae4
Backed out changeset 5ff4c7dded93 (bug 1077301) for making bug 1084118 return with a near perma-fail vengeance.
2014-10-24 14:25:25 -04:00
Nicolas Silva
0de37868e9
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
David Parks
d7e8a996ec
Bug 918634 - swapFrameLoader not implemented for e10s r=nical
...
Allow layers to change layermanager if using LayerManagerComposite.
2014-10-14 15:11:38 -07:00
L. David Baron
93b8d0608e
Back out changeset 197317c196cf (bug 1077301) for apparently breaking component alpha on some Windows variants (perhaps those without accelerated layers backends).
2014-10-20 00:23:46 -04:00
Jeff Muizelaar
3c55dc87ae
Bug 1070308. Add Acquire and Release semantics to SharedSurface. r=jgilbert
...
This is needed for D3D11 keyed mutex support. The added assertions
also ensure we're doing things at the right times.
2014-10-09 16:33:22 -04:00
Nicolas Silva
a2cb98c27c
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00