Morris Tseng
08d68942a0
Bug 1322500 - Introducing ShareableCanvasLayer. r=sotaro
...
MozReview-Commit-ID: 1zVJ3HVQV9W
2016-12-28 10:16:43 +08:00
Matt Woodrow
bd20037151
Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
2016-11-24 18:11:31 +13:00
Carsten "Tomcat" Book
142a4dd27a
Merge mozilla-central to mozilla-inbound on a CLOSED TREE
2016-11-24 17:05:00 +01:00
Carsten "Tomcat" Book
0e44962038
Backed out changeset f4f8dc2931aa (bug 1319626)
2016-11-24 17:02:22 +01:00
Matt Woodrow
ef863b04e4
Bug 1319626 - Part 6: Fix a few unified build include problems. r=mstange
2016-11-24 18:11:31 +13:00
Nicolas Silva
b5ac574480
Bug 1300121 - Make PersistentBufferProviderShared::BorrowDrawTarget more robust agaist bad edge cases and if all fails, fallback to the basic provider. r=Bas
2016-10-11 13:23:11 +02:00
Matt Woodrow
29fb1b2c1f
Bug 1305897 - Move ActiveResourceTracker onto ShadowLayerForwarder, since it's not used anywhere else. r=nical
2016-10-03 21:20:13 +13:00
Nicolas Silva
4de44f9036
Bug 1291296 - Make it possible to change a PersistentBufferProvider's Forwarder without crashing. r=ethlin
2016-08-09 14:42:15 +02:00
Nicolas Silva
a400802da9
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-29 20:19:28 +02:00
Nicolas Silva
e022eef660
Bug 1290081 - Make canvas layer transactions asynchronous. r=sotaro
2016-07-29 20:19:23 +02:00
Wes Kocher
aa15caaf1e
Backed out changeset 67cb195b1b45 (bug 1290081) for canvas reftest failures
2016-07-28 13:09:07 -07:00
Nicolas Silva
bbcb2de8bf
Bug 1290081 - Make canvas layer transactions asynchronous. r=sotaro
2016-07-28 17:58:33 +02:00
kearwood
b5b6726ccc
Bug 1284324 - Implement Canvas Layer mirrors r=bas
...
- When a canvas layer is set to mirror, it copies the
texture from the canvas rather than changing the
texture factory with Morph().
- This is useful when a canvas content will be sent to
multiple devices simultaneously, such as a VR HMD
and a 2d monitor mirror.
- This is used by the WebVR 1.0 API, in Bug 1250244
MozReview-Commit-ID: JfMSockO2uz
2016-07-04 13:11:07 -07:00
Nicolas Silva
84cb9d96a7
Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas
2016-07-01 10:58:06 +02:00
Sebastian Hengst
cf24627d37
Backed out changeset 14dfa550c783 (bug 1167235)
2016-06-28 20:28:23 +02:00
Nicolas Silva
fe2f5020fe
Bug 1167235 - Part 1 - Render canvas2D into TextureClient directly. r=Bas
2016-06-28 14:06:51 +02:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Morris Tseng
5d262e4409
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] ([email protected] ) for polishing patches.
2015-10-12 11:21:02 +08:00
Wes Kocher
bbd458236d
Backed out 11 changesets (bug 709490) for webgl-color-test.html failures a=backout
...
Backed out changeset fc04c5d43550 (bug 709490)
Backed out changeset cd8f9410d335 (bug 709490)
Backed out changeset 6e687c9143c1 (bug 709490)
Backed out changeset 9b20f2c833c4 (bug 709490)
Backed out changeset f9d130aea88e (bug 709490)
Backed out changeset fc513b410949 (bug 709490)
Backed out changeset acf6220b431a (bug 709490)
Backed out changeset 9bceaf913791 (bug 709490)
Backed out changeset 37fba20111e2 (bug 709490)
Backed out changeset 2285ce1596b8 (bug 709490)
Backed out changeset fb4e09920569 (bug 709490)
2015-10-05 08:28:25 -07:00
Morris Tseng
f3a9959ded
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async. r=nical
...
Thanks Jon Morton [:jmorton] ([email protected] ) for polishing patches.
2015-10-05 10:50:15 +08:00
Wes Kocher
20f2b1dd4d
Backed out 13 changesets (bug 709490) for android webgl-color-test.html failures
...
Backed out changeset 5be7514914b6 (bug 709490)
Backed out changeset 04b6f94fbe8a (bug 709490)
Backed out changeset 00c0e85dd8cd (bug 709490)
Backed out changeset 221385b7b81a (bug 709490)
Backed out changeset ecc38c18734f (bug 709490)
Backed out changeset 22878c936384 (bug 709490)
Backed out changeset 0edcbb60eee3 (bug 709490)
Backed out changeset 5feceec2014b (bug 709490)
Backed out changeset 835b655cb873 (bug 709490)
Backed out changeset 6fbb4a3f8cf7 (bug 709490)
Backed out changeset a5f8646fa156 (bug 709490)
Backed out changeset 2ae1386916b3 (bug 709490)
Backed out changeset 6b29a2a0a8fb (bug 709490)
2015-09-29 08:57:36 -07:00
Morris Tseng
276c20ec9e
Bug 709490 - Part 1: Let ImageBridge transfer CanvasClient async, r=nical
2015-09-29 11:51:23 +01:00
Andrew Comminos
c82a524b5c
Bug 1193015 - Require MOZ_GLX_USE_SURFACE_SHARING to enable WebGL surface sharing on GLX. r=jgilbert
2015-09-24 15:21:36 -07:00
David Anderson
24bc79533a
Don't create a D3D11 compositor device on content processes. (bug 1183910 part 8, r=bas,mattwoodrow)
2015-08-05 02:45:06 -07:00
Andrew Comminos
f8f6e8f2c8
Bug 1187440 - Implement GLX shared surfaces on the OpenGL compositor. r=jgilbert,nical
2015-07-30 12:40:56 -04:00
Kyle
52144377fa
Bug 1167651 - Made EGL initialize its ANGLE display using WARP if the system is blacklisted from using HW acceleration for WebGL ANGLE or if WebGL WARP is forced through a pref. ClientCanvasLayer is changed so that it will use shared surfaces only if the compositing device and the WebGL device are both WARP or both not WARP. Added a mIsWARP field to GLLibraryEGL so that this condition can be checked. r=jgilbert
2015-07-23 13:11:04 -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
Robert O'Callahan
c34fb98abf
Bug 1143575. Remove unused CompositableClient::OnTransaction. r=nical
2015-03-25 21:30:25 +13:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
David Anderson
2511c6ca59
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Markus Stange
3000f6c8eb
Back out bug 1148582 for static analysis bustage.
2015-07-01 01:20:59 -04:00
David Anderson
38a60e1411
Bug 1148582 - Add mask layers to FrameMetrics for ancestor scroll frame clips. r=mattwoodrow
2015-06-21 12:27:31 -04:00
Matt Woodrow
67af037a87
Bug 1176506 - Don't test texture sharing on WARP devices since it never works and can be detected as a driver reset. r=Bas
2015-06-26 14:06:49 -07:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -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
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
Matt Woodrow
3ec6af579c
Bug 1158089 - Remove LAYERS_D3D10 enum value since it's unused. r=Bas
2015-05-11 16:22:51 +12:00
Thibaud Backenstrass
0513f5db71
Bug 1158122 - Remove all occurences of nsIntRect in gfx/layers/client. r=nical
2015-05-07 11:07:47 +02:00
Phil Ringnalda
b2bf3c92a2
Back out dc2fed1aa0af (bug 1144906) for ASan, Android debug, and OS X 10.10 mochitest-gl bustage
...
CLOSED TREE
2015-05-06 19:55:40 -07:00
Jeff Gilbert
56670c45c9
Bug 1144906 - Fast WebGL on E10S. - r=mattwoodrow,nical
2015-05-06 16:35:29 -07:00
Wes Kocher
d3991e8f5e
Backed out changeset 93af6e2a390d (bug 1144906) for build bustage
2015-05-06 16:01:47 -07:00
Jeff Gilbert
18916e6e17
Bug 1144906 - Support fast WebGL on E10S. - r=mattwoodrow,nical
2015-05-06 13:48:28 -07:00
Jeff Gilbert
e2b7d174dd
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Jeff Muizelaar
a8a9c7eae1
Bug 1113291. Reenable DisplayLink blocking on Windows. r=bas
...
Bug 1107299 broke this blocking because it assumed that DoesD3D11DeviceWork()
only described whether texture sharing works. However we were also checking for
broken DisplayLink drivers in that function. This splits out that part and uses
it appropriately.
2014-12-22 00:41:57 -05:00
Bas Schouten
e57648a590
Bug 1107299: Only block shared surface usage when that is broken. r=jrmuizel
...
Currently when the usage of surface sharing is broken on certain drivers, be block D3D11 entirely and fall back to Basic composition. There's no real benefit in this case from disabling D3D11 entirely, and we might as well just use it with software composition like we do when we don't have Direct2D, and in addition to that disable texture sharing for webGL, falling back to slow WebGL which again is no worse than the situation when using Basic or D3D9 composition.
2014-12-06 00:02:18 +00:00
jdashg
7faaf9266c
Bug 1066280 - Fixes for SurfaceStream removal. - r=kamidphish,mattwoodrow
2014-10-07 21:16:14 -07:00