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
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
Ethan Lin
02d4c66440
Bug 1155498 - Part 2 - Use new FenceHandle to handle the fence in TextureHost. r=sotaro
2015-05-13 00:36:00 +02:00
Andrea Marchesini
b8630baa2d
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
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
Nicolas Silva
13344864c0
Bug 1132854 - Make nsIntSize a typedef of gfx::IntSize. r=Bas, roc
2015-03-29 16:59:08 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Nicolas Silva
3ef06e667f
Bug 1146912 - Finish replacing TextureHost::GetTextureSource by BindTextureSource. r=sotaro
2015-03-27 11:16:34 +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
Ehsan Akhgari
2b0bc024d5
Bug 1117263 - Mark virtual overridden functions as MOZ_OVERRIDE in graphics layers code; r=roc
2015-01-03 12:21:23 -05:00
James Willcox
7fcdaf7a42
Bug 1097116 - Add fencing and better lifetime management for EGLImage Images r=jgilbert
2014-11-26 15:16:07 -06:00
Jeff Muizelaar
60181dcf0a
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.
2014-11-10 14:49:05 -05: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
James Willcox
0f01d3f5f9
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
2014-10-21 08:53:00 -05: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
Wes Kocher
fc6c88a0cd
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
20e61c9ede
Bug 1014614 - Rename nsSurfaceTexture to AndroidSurfaceTexture r=jgilbert
2014-10-17 10:35:10 -05:00
Nicolas Silva
a2cb98c27c
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Ryan VanderMeulen
7a57c1a082
Backed out changeset d16adf321576 (bug 1077301) for B2G bustage.
...
CLOSED TREE
2014-10-16 14:38:29 -04:00
Nicolas Silva
1619f4f6ab
Bug 1077301 - Simplify the gralloc texture code. r=sotaro
2014-10-16 19:08:32 +02:00
Sotaro Ikeda
88543b81f5
Bug 1082986 - Use RefPtr to hold Compositor r=nical
2014-10-16 06:48:29 -07:00
jdashg
f4e7d402a7
Bug 1066280 - Remove SurfaceStream. - r=kamidphish,mattwoodrow
2014-10-07 21:15:39 -07:00
Nicolas Silva
7a57c1cd43
Bug 1077307 - Merge NewTextureSource and TextureSource. r=sotaro
2014-10-07 15:58:59 +02:00
Sotaro Ikeda
a9bf07a253
Bug 1017351 - Handle Sharing GrallocTextureHostOGL among ImageHosts r=nical
2014-09-26 04:30:11 -07:00
Jeff Gilbert
4943991010
Bug 1037147 - Remove SharedTextureHandle and friends r=mattwoodrow,snorp
2014-09-17 08:13:29 -05:00
James Willcox
e07d73a455
Back out a84f9edfe968 for bustage
2014-09-12 14:01:26 -05:00
Jeff Gilbert
63c2e0ad7f
Bug 1037147 - Replace SharedTextureHandle with a TextureClient variant r=mattwoodrow,snorp
2014-09-12 13:39:20 -05:00
Trevor Saunders
d67df400c1
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Ehsan Akhgari
6ad78acff0
Bug 1050609 - Fix more bad implicit constructors in gfx/layers; r=roc
2014-08-20 00:55:14 -04:00
Jeff Gilbert
e9a9e7bc3d
Bug 1037151 - Merge SharedSurface_GL into SharedSurface. - r=mattwoodrow
2014-07-11 15:10:49 -07:00
Jeff Gilbert
6b722909fc
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-18 17:04:06 -07:00
Sotaro Ikeda
14194a18db
Bug 1024144 - Deliver acquire fence to HwComposer r=sushil,nical
2014-06-12 18:46:25 -07:00
Sotaro Ikeda
998892d3ad
Bug 1001417 - Forward fence objects in SharedSurfaceGralloc to Compositor r=jgilbert,nical
2014-06-08 06:18:53 -07:00
Wes Kocher
5de84ad908
Backed out changeset 3a764e34c366 (bug 1000640)
2014-06-04 18:27:22 -07:00
Jeff Gilbert
c1ad500e63
Bug 1000640 - Use new StreamTextureClient/Host with OMTC. - r=mattwoodrow
2014-06-04 15:20:26 -07:00
Sotaro Ikeda
846351a281
Bug 1005908 - Avoid unnecessary fEGLImageTargetTexture2D'ing r=nical
2014-05-14 09:59:25 -07:00
Benoit Jacob
3de8fa4fb5
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
...
find gfx/layers -type f | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)TEXTURE_\(USE_NEAREST_FILTER\|NEEDS_Y_FLIP\|DISALLOW_BIGIMAGE\|ALLOW_REPEAT\|NEW_TILE\|COMPONENT_ALPHA\|RB_SWAPPED\|FRONT\|ON_WHITE\|ON_BLACK\|TILE\|RECYCLE\|COPY_PREVIOUS\|DEALLOCATE_CLIENT\|IMMUTABLE\|IMMEDIATE_UPLOAD\|DOUBLE_BUFFERED\|ALLOC_FALLBACK\)\($\|[^A-Za-z0-9_]\)/\1TextureFlags::\2\3/g'
find gfx/layers -type f | xargs sed -i 's/TEXTURE_FLAGS_DEFAULT/TextureFlags::DEFAULT/g'
2014-04-25 22:34:05 -04:00
Nicolas Silva
537755e76b
Bug 1001458 - Rename TileIterator ino BigImageIterator. r=BenWa
2014-04-28 13:27:25 +02:00
Blair McBride
2628f554b1
Backed out 9 changesets (bug 987311, bug 989027, bug 989144). r=sheriff
...
Backed out changeset 046c061d91c2 (bug 989144)
Backed out changeset 3f1b41adeaef (bug 987311)
Backed out changeset 8d5a171564bd (bug 987311)
Backed out changeset dcc0d016de7a (bug 987311)
Backed out changeset 27f338fbc835 (bug 989027)
Backed out changeset 4a67f5144ea4 (bug 989027)
Backed out changeset 62ba0a377450 (bug 987311)
Backed out changeset 6a2542a5c865 (bug 987311)
Backed out changeset 1dfd9a457f34 (bug 987311)
2014-04-27 19:45:08 +12:00
Benoit Jacob
1960158bd9
Bug 987311 - 2/6 - Make TextureFlags a typed enum, auto regex changes - r=nical
2014-04-25 22:34:05 -04:00
Jonathan Watt
55c20bd03b
Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow
2014-04-16 01:41:40 +01:00
Chris Lord
6cf5ebb6f7
Backout 941bee559cd7 (Bug 980647) due to critical regressions on b2g
2014-04-07 13:09:44 +01:00