gecko/gfx
Jeff Muizelaar d2a14a64bd Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas
gfxSurfaceDrawable::Draw() sets a gfxPattern(Snapshot()) to the gfxContext's
pattern. If the gfxSurfaceDrawable is created by
CreateSamplingRestrictedDrawable it will be destroyed before the Snapshot().
This causes the Snapshot to be copied unnecessarily.

If we set the pattern to something else we'll destroy the snapshot before the
gfxSurfaceDrawable and save a copy.

--HG--
extra : rebase_source : 03864e8a0fe021940747cf691df30ec51e4d8b2d
2013-12-17 13:33:34 -05:00
..
2d Bug 944704, part 4 - Fix PathBuilderCG::Arc to sweep in the correct direction. r=Bas 2013-12-14 11:09:36 +00:00
angle Bug 945292 - Makefile.in part. r=glandium 2013-12-17 12:06:08 +01:00
cairo Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
gl Backed out 6 changesets (bug 877115) for mochitest-1 and reftest orange on this CLOSED TREE 2013-12-16 16:33:07 -08:00
graphite2 Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
harfbuzz bug 941470 - update harfbuzz to latest upstream commit (205bf834...), to pick up plan-caching for user features and misc fixes. r=jdaggett 2013-12-04 07:07:44 +00:00
ipc Bug 949132 - Add a flag to FrameMetrics indicating a non-APZ scroll (original patch by mstange). r=tn 2013-12-16 12:04:45 -05:00
layers Bug 951186 - Propagate the current compositor in ContentHostBase::UseTextureHost. r=nical 2013-12-17 17:11:14 +01:00
ots Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
qcms Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps 2013-11-19 11:50:54 +09:00
skia Bug 848491 - Fixed cross compilation with mingw. 2013-12-04 13:25:41 +01:00
src Bug 941595 - Build with system-cairo is broken. r=glandium 2013-12-10 10:37:03 -05:00
tests Merge m-c to inbound on a CLOSED TREE. 2013-12-11 22:39:20 -05:00
thebes Bug 951216. Avoid unnecessary Snapshot() copies by clearing the pattern. r=Bas 2013-12-17 13:33:34 -05:00
ycbcr Bug 929513 - Add YCbCrUtils class and change gfxIntSize in BasicCompositor r=nical 2013-12-13 18:31:57 +01:00
moz.build Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00