Bob Owen
38ef1e1caa
Bug 1347646 Part 1: Backout 4849ef8c9a34 for causing OOM issues when printing PDFs. r=jwatt, r=lsalzman, r=tobytailor
2017-04-08 22:47:51 +01:00
Tobias Schneider
cb6c095f73
Bug 1311512 - Use recording draw target for mozPrintCallback canvases. r=jwatt
2016-12-22 11:11:15 -08:00
Nicolas Silva
a400802da9
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-29 20:19:28 +02:00
Wes Kocher
98c4789238
Backed out changeset d51327ec371e (bug 1289816) for canvas reftest failures
2016-07-28 13:08:59 -07:00
Nicolas Silva
a9f94cf9c1
Bug 1289816 - Simplify CopyableCanvasLayer::UpdateTarget and remove unnecessary copies. r=jnicol
2016-07-28 17:58:42 +02:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01: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
Morris Tseng
8ce8403338
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-12 11:21:03 +08:00
Nicholas Nethercote
e04159e24b
Bug 1211324 (part 4) - Replace GraphicsFilter constants with gfx::Filter equivalents. r=mattwoodrow.
...
The conversion is as follows:
- GraphicsFilter::FILTER_NEAREST == gfx::Filter::POINT
- GraphicsFilter::FILTER_GOOD == gfx::Filter::GOOD
- GraphicsFilter::FILTER_BEST == gfx::Filter::LINEAR
Also typedef GraphicsFilter to gfx::Filter; this will be removed in the next
patch.
These changes mean ToFilter() and ThebesFilter() are no longer needed.
2015-10-05 17:12:46 -07: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
c17e9b2c66
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer. r=roc
2015-10-05 10:50:16 +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
a0c3fca880
Bug 709490 - Part 7: If layer is not available, fallback to BasicCanvasLayer, r=roc
2015-09-29 11:51:25 +01: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
Jeff Gilbert
e2b7d174dd
Bug 1100699 - Use OriginPos instead of isInverted. - r=mattwoodrow,snorp
2014-11-17 17:02:19 -08:00
jdashg
f21da91589
Bug 1066280 - Handle dirtying in BasicCanvasLayer. - r=mattwoodrow
2014-10-08 15:18:28 -07:00
Jonathan Watt
727b0a4e88
Bug 1065031, part 2 - Changes to Moz2D consuming code to update callers of Moz2D Matrix's Translate, Scale and Rotate methods to use these methods' new names. r=Bas
2014-09-10 18:29:35 +01:00
Matt Woodrow
028aa0ce91
Bug 997336 - Account for the DrawTarget 'device offset' when drawing layers with a mask. r=Bas
2014-05-12 12:31:27 +12:00
Matt Woodrow
f62f5adcbb
Bug 991067 - Null check mSurface in BasicCanvasLayer to match previous behaviour. r=roc
2014-04-07 20:57:27 +12:00
Matt Woodrow
827f3363f9
Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
34a2662a70
Bug 989858 - Part 5: Remove partially implemented moz2d paint function. r=roc
2014-04-01 12:02:10 +08:00
Matt Woodrow
8c0e6892ea
Bug 989858 - Part 2: Convert BasicCanvasLayer. r=roc
2014-04-01 12:02:09 +08:00
Horia Iosif Olaru
d87bd0cb39
Bug 952051 - Change the GetOperator call in FlushGroup to take into account the mix-blend-mode operator for the group. r=roc
...
Create a new GetEffectiveOperator function that also takes into acount the mix-blend-mode operator for basic layers. Replace logic that chooses between the effective mix blend mode and the operator returned by GetOperator, with calls to this function.
2014-02-27 11:56:48 -05:00
Tor Arvid Lund
8137f30c4b
Bug 948765 - Port CopyableCanvasLayer to Moz2D. r=nical
...
This patch deprecates the UpdateSurface and PaintWithOpacity methods in the
CCL class. To do this, many other changes were made in the process.
BasicImplData::Paint was deprecated, and its mOperator was ported to Moz2D.
This caused changes in several *Layer subclasses.
GLScreenBuffer::Readback was deprecated.
I want to change the usages of the (now) deprecated functions, so that they
use the new Moz2D ones: CanvasClient::Update has been updated, but the big
one (BasicLayerManager::PaintSelfOrChildren) will have to be its own
project.
2014-02-12 10:07:46 -05:00
Rik Cabanier
369ddec69f
Bug 902525 - Part 5: fixes for blending of HTML elements r=roc
2013-09-15 16:43:10 -07:00
Nicholas Cameron
6ff5d55180
Bug 903816. Include-what-you-use for gfx/layers. r=roc
2013-08-12 11:17:23 +12:00
Vladimir Vukicevic
124b83b8c8
b=843599, followup -- use MOZ_WIDGET_GONK, not MOZ_B2G, to fix desktop b2g builds
2013-05-27 11:21:47 -04:00
Vladimir Vukicevic
41bde486b6
b=843599; use gralloc buffers for WebGL streaming on B2G; r=nical,jgilbert,jrmuizel
2013-05-27 10:12:13 -04:00
Matt Woodrow
021593347d
Bug 867474 - Split BasicShadowableLayerManager into a separate ClientLayerManager. r=nrc
2013-05-01 17:03:25 +12:00
Nicolas Silva
ee77840a7b
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
2013-04-24 14:42:40 -04:00
Nicholas Cameron
97c38ba23b
Bug 862106. Use Create*Client directly. r=nical
2013-04-17 09:36:06 +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
Benoit Girard
dd031819a7
Bug 851611 - Part 4: Split out GeckoProfilerFunc.h & PseudoStack.h. r=jrmuizel
2013-03-15 20:48:56 -04:00
James Willcox
56bc03898f
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
2013-03-22 15:22:20 -04:00
Ed Morley
4aa6d699c5
Backed out changeset b43bbab312e7 (bug 829747) for ABORTs on Android 2.2; CLOSED TREE
2013-03-22 19:10:24 +00:00
James Willcox
2e81183593
Bug 829747 - Update WebGL canvases asynchronously r=bgirard,jgilbert
2013-03-22 12:13:21 -04:00
Jeff Gilbert
46195df92b
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Ed Morley
3077eb4cca
Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts
2013-02-21 19:54:25 +00:00
Jeff Gilbert
a79294f4c5
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
608b6e27e4
Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE.
2013-02-20 10:01:20 -05:00
Jeff Gilbert
00c4965862
Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
2013-02-13 15:26:24 -08:00
Jeff Gilbert
8c33e2cc5d
Bug 811958 - Fix and move ShateType type - r=bgirard
2012-11-26 14:23:27 -08:00
Jeff Gilbert
a35a38f6c7
Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android
2012-11-26 13:48:20 -08:00
Jeff Gilbert
534b58bc55
Bug 811958 - Fix and move ShareType type - r=bgirard
2012-11-26 12:51:57 -08:00
Nicolas Silva
c40a0a69b9
b=811115 - remove MOZ_EGL_XRENDER_COMPOSITE dead code. r=jgilbert
2012-11-18 16:47:57 +01:00
Benoit Girard
bc3adeb562
Bug 794337 - Properly alias canvas image data when using Quartz compositing. r=jrmuizel
2012-11-02 16:24:37 -04:00
Chris Jones
a868506921
Bug 806029: Have remote content drop their buffers when they're hidden. r=mattwoodrow sr=roc
2012-11-07 19:51:55 -08:00
Matt Joras
7be86c9563
Bug 798033 - Removes "using namespace" directive from gfx headers - r=jmuizelaar
2012-10-25 16:12:59 -04:00
Nicholas Cameron
f02c92fdde
Bug 802518; add Painted() to BasicShadowableCanvasLayer::Paint; r=jgilbert DONTBUILD
2012-10-18 21:40:32 +13:00