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
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
Jeff Gilbert
ee12c03986
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 17:15:38 -07:00
Wes Kocher
77bc735a23
Backed out changeset c4d1692d88ee (bug 1144906) for OSX m(gl) permaorange
2015-06-04 16:50:59 -07:00
Jeff Gilbert
891a5c7f86
Bug 1144906 - Add accel E10S backend for WebGL compositing. - r=jrmuizel,mattwoodrow,nical,sotaro
2015-06-04 14:21:32 -07:00
Amanda Sambath
376d6d03c3
Bug 1158120 - Replace nsIntSize by mozilla::gfx::IntSize in gfx/layers. r=nical
2015-06-03 13:45:24 +02:00
Wes Kocher
5ee1a8327e
Backed out changeset 29bd04fc57f0 (bug 1144906) for b2g m12 orange
...
--HG--
extra : amend_source : 79faafb4230715cf6af79b452d121d1e7b58e665
2015-05-28 17:08:53 -07:00
Jeff Gilbert
ec631286de
Bug 1144906 - Fast WebGL compositing on E10S. - r=jrmuizel,mattwoodrow,nical
2015-05-28 14:51:39 -07:00
Jeremy Chen
179b1de266
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
Ethan Lin
aac29696f5
Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro
...
--HG--
extra : rebase_source : 5e619c27d9157dcc379a7a3f721aa44aa7b42370
2015-05-13 00:36:00 +02:00
Nicolas Silva
e887c595eb
Bug 1155621 - Remove no-op gfx2DGlue conversion helpers. r=Bas
2015-04-21 17:22:30 +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
Nicolas Silva
e3eaf89e3f
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Nicolas Silva
da6cace77d
Bug 1147894 - Only use non-null compositors with TextureHost::SetCompositor. r=sotaro
2015-03-27 11:16:18 +01:00
Jeff Gilbert
a76e617dd0
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
Milan Sreckovic
f3bcc7c644
Bug 1110528 - Check for invalid surface before calling update. r=nical
...
CLOSED TREE
2014-12-12 14:56:06 -05:00
James Willcox
ff5ac4a822
Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
...
--HG--
extra : rebase_source : 8da8c1e9e5ded06c8735ee5d30f8333f829064c5
2014-11-26 15:16:07 -06:00
Jeff Muizelaar
f2786d3f9f
Bug 1097877. Move GLBlitTextureImageHelper from gfx/gl to gfx/layers/opengl. r=nical
...
The only user is in layers/opengl. This is needed to do better state tracking
in the compositor.
--HG--
rename : gfx/gl/GLBlitTextureImageHelper.cpp => gfx/layers/opengl/GLBlitTextureImageHelper.cpp
rename : gfx/gl/GLBlitTextureImageHelper.h => gfx/layers/opengl/GLBlitTextureImageHelper.h
extra : rebase_source : bba00cbfac9253ca933721659dadbda2bfbe65c5
2014-11-10 14:49:05 -05:00
James Willcox
27c08cecb8
Bug 1086693 - Part 6: Use generated bindings for AndroidMediaCodec and AndroidSurfaceTexture r=blassey,gcp
2014-11-13 12:47:24 -06:00
Jeff Gilbert
d41ee052e4
Bug 1088345 - Improve glGetError handling. - r=kamidphish
2014-10-24 16:52:35 -07:00
Nicolas Silva
f1166bf04f
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
d1499d6259
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
833ec9bb3d
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
James Willcox
9790bce151
Bug 1014614
- Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : f8ac8c505b5f9a4f307044b932aef50b99d38d4f
2014-10-21 08:53:01 -05:00
James Willcox
ddabd5424e
Bug 1014614
- Do not try to use a temporary texture for SurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 68e6f70fe1c1aa123c4a1e21b3d25b78bcff7ad1
2014-10-21 08:53:01 -05:00
James Willcox
a8cc145afb
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 4f148d8a0c2f9ec2d939f9d9939dab897b435bef
2014-10-21 08:53:00 -05:00
L. David Baron
731e55f016
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
Wes Kocher
36939bc3c8
Backed out 9 changesets (bug 1014614
) for Android mochitest bustage on a CLOSED TREE
...
Backed out changeset 40f99ba7f616 (bug 1014614
)
Backed out changeset 8fbc3c85adfc (bug 1014614
)
Backed out changeset 40dbd7c6ce65 (bug 1014614
)
Backed out changeset f2b504bdd7c5 (bug 1014614
)
Backed out changeset c878e29fbef9 (bug 1014614
)
Backed out changeset 511dcc817f5d (bug 1014614
)
Backed out changeset 2b72e71f1fdf (bug 1014614
)
Backed out changeset 8b530a9a2f99 (bug 1014614
)
Backed out changeset 7fa1b78de684 (bug 1014614
)
2014-10-17 16:34:01 -07:00
James Willcox
b1bb293164
Bug 1014614
- Support attach/detach of GLContext to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b309ea1761abdb26261fe8f2eda03de66952c018
2014-10-17 10:35:11 -05:00
James Willcox
be81b623ed
Bug 1014614
- Do not try to use a temporary texture for SurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : b2108d17ef5d87328d1dc0e9ff190d667bfeaa44
2014-10-17 10:35:11 -05:00
James Willcox
9450484c06
Bug 1014614
- Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
...
--HG--
extra : rebase_source : 70d12286eb15808a4a540bae0d6785e560e97b29
2014-10-17 10:35:10 -05:00
Nicolas Silva
52335c4b52
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
95c05d4b68
Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
...
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
d90c3a1c7d
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Sotaro Ikeda
11b001307a
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
Nicolas Silva
0836f2451a
Bug 1079250 - SharedDataGonkOGL::DeleteTextureIfPresent to assert mCompositor rather than gl(). r=sotaro
2014-10-09 16:00:17 +02:00
Nicolas Silva
452d1c1678
Bug 1072491 - Make GrallocTextureHost more robust against some invalid states. r=sotaro
2014-09-26 10:32:59 -04:00
Sotaro Ikeda
1b0758dac8
Bug 1017351
- Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07:00
Sotaro Ikeda
8a3ab50601
Bug 1061435 - Set timeout to fClientWaitSync() r=nical
2014-09-24 07:00:19 -07:00
Jeff Gilbert
301271b198
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
...
--HG--
extra : rebase_source : 13101216d6e5eccfb0a19c14b783b3878644b665
2014-09-17 08:13:29 -05:00
James Willcox
688cd17359
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
a2cd642ccd
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Matt Woodrow
8b5e9e6b2d
Bug 1057222 - Avoid uploading the whole tile when it's new but only partially valid. r=BenWa
...
--HG--
extra : rebase_source : 8fe73f903f2917830f05fd82a865a5376ecab31c
2014-08-27 18:52:24 +12:00
Sotaro Ikeda
d777c83976
Bug 1055934 - Backout Bug 1028532 r=milan
2014-08-21 14:10:57 -07:00
Sotaro Ikeda
5e4b56bf52
Bug 1028532 - Remove Fence::merge() on gonk r=jmuizelaar
2014-06-25 06:13:34 -07:00
Jeff Gilbert
f3d7974f16
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Sotaro Ikeda
8364b31b70
Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical
2014-06-12 18:46:25 -07:00
Nicolas Silva
0f65b4eb76
Bug 1000103 - Fix intermittent OSX crash in TextureImageTextureSourceOGL::GetFormat. r=mattwoodrow
2014-06-09 17:30:53 -04:00
Sotaro Ikeda
539d95f87e
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Wes Kocher
40ac0457aa
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00