Commit Graph

20 Commits

Author SHA1 Message Date
Benoit Jacob
c1d7f88886 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Ehsan Akhgari
bdb172ee45 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Seth Fowler
3aca66ef56 Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-25 00:19:42 -07:00
Phil Ringnalda
d9907eb8f3 Back out 353f5b3c81c7:62a1a184b2c3 (Bug 869723 and Bug 870090) for not actually building
CLOSED TREE
2013-08-24 19:13:21 -07:00
Seth Fowler
8ebd59a07e Bug 869723 (Part 1) - Add imgIContainer::GetOrientation. r=joe sr=bz 2013-08-24 17:31:14 -07:00
Matt Woodrow
64b190a16a Bug 907926 - Supprt having different content/canvas backends in gfxPlatform. r=nrc 2013-08-23 18:13:55 +12:00
Seth Fowler
121c299feb Bug 859377 (Part 5) - Use CreateOffscreenDrawTarget instead of CreateOffscreenSurface. r=joe
--HG--
extra : rebase_source : ff31b47bcfd2cc6c733903a885e08ce7add358dd
2013-05-07 10:47:42 -07:00
Seth Fowler
d48060c7da Bug 859377 (Part 4) - Make ClippedImage use gfxImageSurfaces on Windows. r=me 2013-04-30 16:28:25 -07:00
Seth Fowler
05a976db1b Bug 859377 (Part 3) - Make ClippedImage cache temporary surfaces. r=joe
--HG--
extra : rebase_source : 060615904e1b416f84b4d6ecf6329841896f13da
2013-04-25 15:58:32 -07:00
Seth Fowler
b98a20274f Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz
--HG--
extra : rebase_source : fcf5028a8f91f28306ca009cbe41f48794f19291
2013-04-05 14:15:05 -07:00
Seth Fowler
b78a4dda08 Bug 826093 (Part 1) - Add ClippedImage. r=joe
--HG--
extra : rebase_source : 2a7bb09ee0b1c221b4b57c5d201c282f5c6f52fb
2013-04-05 14:14:32 -07:00
Phil Ringnalda
d372c62b0a Backout 051cf1c1449c:521215a7b32e (bug 826093) for Android reftest failure 2013-04-04 21:06:58 -07:00
Seth Fowler
3d7422de02 Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz 2013-04-04 19:06:42 -07:00
Seth Fowler
30d5f2d31e Bug 826093 (Part 1) - Add ClippedImage. r=joe 2013-04-04 19:06:41 -07:00
Ryan VanderMeulen
0922380a81 Backed out changesets 957f2b35ce83:1799cffbba63 (bug 826093) for Android reftest-2 failures (again) on a CLOSED TREE. 2013-03-26 21:56:03 -04:00
Seth Fowler
a3368113cc Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz 2013-03-26 16:29:13 -07:00
Seth Fowler
840b0e20cc Bug 826093 (Part 1) - Add ClippedImage. r=joe 2013-03-26 16:29:12 -07:00
Ryan VanderMeulen
916f9eafbf Backed out changesets 4b97cab51e59:5e573640e390 (bug 826093) for Android reftest-2 failures on a CLOSED TREE. 2013-03-26 16:52:17 -04:00
Seth Fowler
3d4a2fd8a3 Bug 826093 (Part 5) - Remove imgIContainer::ExtractFrame. r=joe, sr=bz 2013-03-26 11:56:47 -07:00
Seth Fowler
629754a3c2 Bug 826093 (Part 1) - Add ClippedImage. r=joe 2013-03-26 11:56:46 -07:00