David Anderson
35fa218998
Remove PLayer. (bug 1323539 part 2, r=mattwoodrow)
2016-12-21 10:43:47 -05:00
Matt Woodrow
7b46c20b8f
Bug 1303897 - Part 1: Use TextureForwarder for Image::GetTextureClient. r=nical
2016-09-23 09:43:11 +12:00
Jonathan Watt
356d59cd2f
Bug 1277862, part 2 - Rename Moz2D's Filter to SamplingFilter in the rest of gfx/. r=Bas
2016-05-25 17:01:18 +01: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
Nicholas Nethercote
69ab754504
Bug 1211324 (part 5) - Remove GraphicsFilter and gfxGraphicsFilter. r=mattwoodrow.
2015-10-05 17:18:10 -07: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
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
Sotaro Ikeda
68bb70fada
Bug 1100110 - Fix ScaleMode handling of ImageLayer and HwcComposer2D r=mattwoodrow
2014-12-06 17:12:50 -08:00
Boris Chiou
7d385c3554
Bug 959118 - Dump layer tree with layer scope on the viewer. r=dglastonbury
...
We also want to dump layer tree on the viewer, so we
can check the layer tree and layerscope together
in the viewer. This can help us resolve more gfx bugs.
In this patch, I only add a part of the layer data to
the protocol buffer packet, and you can check the
.proto file for more information if you want to add
more layer data.
By the way, as Jeff's suggestion, use auto & MakeUnique<>()
to make the UniquePtr initialization more concise.
2014-07-27 22:32:00 +02:00
Benoit Girard
c36e97ca50
Bug 1027496 - Stream display list and layers dump. r=mattwoodrow
2014-06-19 18:36:25 -04:00
David Zbarsky
b8816e2953
Bug 952977: Convert ComputeEffectiveTransforms to gfx::Matrix4x4 r=nical
2014-01-27 10:28:04 -05:00
Tor Arvid Lund
c3137b71bb
Bug 950677 - More gfxIntSize -> IntSize changes in Layer* classes. r=nical
2013-12-20 11:46:29 -05:00
Ehsan Akhgari
a15756e3c9
Bug 921753 - Part 2: Move GraphicsFilters outside of gfxPattern.h so that we won't need to #include that header everywhere GraphicsFilter is needed; r=roc
...
This patch reduces the number of files that transitively #include
gfx/2d.h from 1582 to 1362.
2013-10-01 17:01:19 -04:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
David Zbarsky
1e45da28fc
Bug 903819 - Don't include Layers.h everywhere, part 4 r=nrc
2013-08-20 15:45:30 -04:00
Nicolas Silva
500da44280
Bug 899583 - Disallow BigImage with YCbCr compositing. r=BenWa
2013-08-02 01:02:06 +02:00
Jeff Gilbert
44f85c45d8
Bug 877382 - Remove THEBES_API decorator. - r=BenWa
2013-05-29 14:59:24 -07:00
Matt Woodrow
b466e2b121
Bug 756601 - Send the values of mScaleToSize/mScaleMode across IPC. r=roc
2013-05-10 09:02:50 +12:00
Bas Schouten
b439abe1f3
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
Robert O'Callahan
9519a64c5e
Bug 852489. Part 3.5: Ensure that Mutated is called for all layer attributes. r=mattwoodrow
2013-03-28 23:58:45 +13:00
Robert O'Callahan
94cdb72590
Bug 852489. Part 3: Add logging to track addition of IPC edits and causes of layer mutation. Also avoid unnecessary mutate in ClearAnimations. r=mattwoodrow
2013-03-22 15:17:28 +13:00
Matt Woodrow
19164d9447
Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc
2012-08-29 17:47:18 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
24eaff95c9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Karl Tomlinson
ebb45f3543
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
2012-09-18 15:16:15 +12:00
Ed Morley
bc7eac1c76
Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs
2012-09-17 14:17:02 +01:00
Karl Tomlinson
2176d66471
b=777946 implement SCALE_STRETCH through ComputeEffectiveTransforms r=Bas
2012-09-17 17:19:59 +12:00
Nicolas Silva
e0905a590a
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Kan-Ru Chen
1621ccbf53
Bug 757341 - Move GonkIOSurfaceImage to its own header. r=roc
2012-08-17 18:56:49 +08:00
Robert O'Callahan
770933684d
Bug 778045. Add helpful comment to ImageContainer explaining its modes. r=bas
2012-08-03 15:23:27 +12:00
Benoit Girard
2d30a1d9e8
Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
2012-07-31 11:11:57 -04:00
David Zbarsky
9f192bc533
Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones
2012-07-30 17:42:26 -07:00
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
James Willcox
12af787121
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ed Morley
c289f9f162
Backout 4987ffd173a4 (bug 687267) for bustage
2012-07-23 14:47:54 +01:00
James Willcox
a60fcafab7
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert,blassey
2012-07-20 15:20:51 -04:00
Ms2ger
45a14cadbf
Bug 776142 - Back out bug 687267 / changeset 8571114112b2 on a CLOSED TREE.
2012-07-22 14:02:18 +02:00
James Willcox
18e78b0b0f
Bug 687267 - Initial support for Flash on Honeycomb r=bgirard,vlad,jgilbert
2012-07-20 15:20:51 -04:00
David Zbarsky
7f0b27a36b
[Bug 774505] Don't include Layers.h everywhere r=cjones
2012-07-18 12:31:40 -04:00
Kan-Ru Chen
495d867d3a
Bug 774552 - Draw GraphicBuffer directly. r=roc,BenWa
2012-07-17 10:12:58 +08:00
Nicolas Silva
48fba6e085
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
Ehsan Akhgari
d07e155f48
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Matt Woodrow
145d424c02
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Ehsan Akhgari
87955e1b5e
Bug 766000 - CompositionNotifySink needs a virtual destructor; r=roc
2012-06-18 21:19:06 -04:00
Andreas Gal
b6ffde5f8f
Bug 714408 Part 2 - Media plugin support for libstagefright - r=doublec
2012-06-01 12:54:23 +12:00
Bas Schouten
77aaea16d9
Bug 734404 - Part 1: Add support for DXGI shared surface handles to ImageLayers. r=roc
2012-05-30 07:14:30 +02:00
Nicholas Cameron
4ffe1932d5
Bug 753784; add the ability to force a single tile. r=roc
2012-05-22 19:14:03 -04:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Nicholas Cameron
f18b89857b
Bug 716439; creating mask layers. r=roc
2012-02-08 11:27:44 +13:00