Jonathan Watt
943031a49d
Bug 1025553, part 6 - Remove gfxMatrix::Multiply(). r=Bas
2014-07-11 08:07:07 +01:00
Jonathan Watt
7645116817
Bug 1025553, part 3 - Give gfxMatrix::Invert() the same semantics as Moz2D's Matrix::Invert(). r=Bas
2014-07-11 08:06:39 +01:00
Markus Stange
1b0667b85b
Bug 1020556 - Increase tolerance for scale snapping so that we don't end up with an unnecessary scale factor for pure rotation transforms due to floating point inaccuracies. r=mattwoodrow
2014-07-08 14:07:05 +02:00
Jonathan Watt
0d4536e269
Bug 1034404 - Get rid of the Thebes backed gfxContexts in ThebesLayerD3D9. r=Bas
2014-07-06 00:10:49 +01:00
Jonathan Watt
fa20dc97b8
Bug 986526 - Create helper functions to encode DrawTargets/SourceSurfaces to PNG/JPEG/BMP/ICO/etc. and save them, dump them, or copy them to the clipboard, either as binary or as data: URIs. r=mattwoodrow
2014-06-27 12:19:40 +01:00
Jonathan Watt
f66d49576a
Bug 1028786, part 1 - Add a gfxUtils::ClearThebesSurface() helper method. r=mattwoodrow
...
--HG--
extra : rebase_source : 524ffe6d276ea9b51cf01d534f65c9b74b32b950
2014-06-23 23:48:58 +01:00
Jeff Gilbert
0cb400b638
Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow
2014-06-18 17:04:05 -07:00
Jonathan Watt
0324bd5749
Bug 1025553, part 1 - Change the names of the members of gfxMatrix to match the names of the members of Moz2D's Matrix. r=Bas
2014-06-17 18:35:51 +01:00
Jonathan Watt
eaefe307f9
Bug 1025491 - Remove the DumpAsPNG() code in FilterNodeSoftware.cpp. r=mstange
2014-06-15 01:34:01 +01:00
Jonathan Watt
6b3fa8dfeb
Bug 1022821, part 2 - In gfx code, stop returning RefPtr and, where not an out-param, stop using RefPtr arguments. r=Cwiiis
2014-06-12 20:24:05 +01:00
Michael Wu
82821675ed
Bug 994081 - [2/3] Convert imgFrame to SourceSurfaces, r=seth
2014-04-19 21:28:38 -04:00
Wes Kocher
270fe0b086
Backed out changeset f644eda342c2 (bug 1000640) for various gl-based failures on a CLOSED TREE
2014-06-04 18:29:21 -07:00
Jeff Gilbert
ca0c1805a0
Bug 1000640 - Handle non-premult alpha in Layers. - r=mattwoodrow
2014-06-04 15:20:24 -07:00
Jonathan Watt
adc393ae91
Bug 1019018 - Get rid of the Thebes backed gfxContext in AndroidBridge, and the Thebes version of gfxUtils::ConvertBGRAtoRGBA. r=kats
2014-06-03 12:31:42 +01:00
Phil Ringnalda
c60c621e2b
Merge m-c to m-i
2014-05-31 20:38:25 -07:00
Jeff Muizelaar
b4ef297e6f
Bug 1018416. Add Transform method to nsRegion. r=BenWa
...
Replace the open coded version with one that avoids
allocation and is O(n*log(n)) instead of O(n*2)
--HG--
extra : rebase_source : 9d8de6089bc9fa74ba4b60c3eb3ccf3b3235ad54
2014-05-31 00:39:18 -04:00
Victor Porof
5643294005
Bug 1007203 - Always add categories when pushing to the pseudostack, r=djvj
2014-05-23 17:12:29 -04:00
Matt Woodrow
6f4fe5f50f
Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert
2014-05-13 14:20:27 +12:00
Matt Woodrow
dbc26acf88
Bug 1006198 - Add PremultiplyDataSurface. r=nical
2014-05-13 14:20:26 +12:00
Wes Kocher
8b513c2e26
Backed out 6 changesets (bug 1006198) for webgl assertions on a CLOSED TREE
...
Backed out changeset 5be3c8c44eed (bug 1006198)
Backed out changeset 4b15abd14f28 (bug 1006198)
Backed out changeset bd11a10e7028 (bug 1006198)
Backed out changeset e1044a8ab189 (bug 1006198)
Backed out changeset 558abe22ab30 (bug 1006198)
Backed out changeset 5462b9babaed (bug 1006198)
2014-05-12 20:47:52 -07:00
Matt Woodrow
ebdc59155b
Bug 1006198 - Remove a bunch of dead Thebes code. r=jgilbert
2014-05-13 14:20:27 +12:00
Matt Woodrow
3e52ca3b8e
Bug 1006198 - Add PremultiplyDataSurface. r=nical
2014-05-13 14:20:26 +12:00
Vladimir Vukicevic
be9da7ed31
b=874781; add color bars to layer diagnostics, for vsync checking; r=benwa
2014-05-08 16:49:01 -04:00
Benoit Girard
52eac6846d
Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow
2014-05-03 20:35:47 -04:00
Matt Woodrow
3e13bbf252
Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc
2014-04-17 17:31:44 +12:00
Matt Woodrow
d817c835cb
Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc
2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
672c8c479e
Backed out changeset 20b75bf44c1e (bug 997014)
2014-04-17 08:43:43 +02:00
Carsten "Tomcat" Book
710a34c84c
Backed out changeset 8681fc7a918b (bug 997014)
2014-04-17 08:43:38 +02:00
Matt Woodrow
38567cd2f2
Bug 997014 - Part 5: Remove nsICanvasRenderingContextInternal::Render. r=roc
2014-04-17 17:31:44 +12:00
Matt Woodrow
aed9928e36
Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc
2014-04-17 17:29:52 +12:00
Jonathan Watt
6b2ad9aea1
Bug 985545 - Add a helper method to convert SourceSurfaces to a given format. r=Bas
2014-04-08 10:05:39 +01:00
Tor Arvid Lund
b272755e2d
Bug 948765 - Add a LayerUtils file in gfx/layers. r=nical
...
This file is currently just a helper for doing PremultiplySurface in
Moz2D. It corresponds to an existing Thebes one in the gfxUtils class.
An upcoming patch will require this PremultiplySurface method. The
existing one in gfxUtils has been renamed internally to
DeprecatedPremultiplyTables.
2014-02-12 10:07:46 -05:00
Ali Akhtarzada
f5a3044a06
Bug 970327 - Add PNG dump utils for SourceSurface. r=nical
2014-02-11 13:41:09 -05:00
David Zbarsky
cbdd71e0f8
Bug 952977: Convert SnapTransforms to gfx::Matrix r=nical
2014-01-27 10:27:20 -05:00
Benoit Jacob
93826fc6b0
Bug 959380 - 4/5 - Make gfxContentType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)GFX_CONTENT_\(COLOR\|ALPHA\|COLOR_ALPHA\|SENTINEL\)\($\|[^A-Za-z0-9_]\)/\1gfxContentType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3846defaec
Bug 959380 - 3/5 - Make gfxSurfaceType a typed enum - r=jrmuizel
...
find . -type f | grep -v '\./obj' | grep -v '\.hg' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxSurfaceType\(Image\|PDF\|PS\|Xlib\|Xcb\|Glitz\|Quartz\|Win32\|BeOS\|DirectFB\|SVG\|OS2\|Win32Printing\|QuartzImage\|Script\|QPainter\|Recording\|VG\|GL\|DRM\|Tee\|XML\|Skia\|Subsurface\|D2D\|Max\)\($\|[^A-Za-z0-9_]\)/\1gfxSurfaceType::\2\3/g'
2014-01-23 13:26:40 -05:00
Benoit Jacob
3369ca8bb6
Bug 959380 - 2/5 - Make gfxImageFormat a typed enum - r=jrmuizel
...
find . -type f | grep -v \./obj | grep -v \.hg | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)gfxImageFormat\(ARGB32\|RGB24\|A8\|A1\|RGB16_565\|Unknown\)\($\|[^A-Za-z0-9_]\)/\1gfxImageFormat::\2\3/g'
2014-01-23 13:26:40 -05:00
Tor Arvid Lund
0f9fdd2d39
Bug 950677 - Change gfxIntSize to gfx::IntSize in ImageContainer.h. r=nical
2013-12-20 11:46:29 -05:00
Matt Woodrow
d9683d5ba3
Bug 948221 - Part 6: Make UnpremultiplyImageSurface work on surfaces that don't have matching strides. r=roc
2013-12-12 10:05:26 +13:00
Ehsan Akhgari
02adcaf06e
Bug 939585 - Build gfx/thebes in unified mode; r=BenWa
2013-11-27 08:03:04 -05:00
Phil Ringnalda
62cb41d82e
Back out d280a1c64f76 (bug 939585) for Mac build bustage
...
CLOSED TREE
2013-11-24 18:02:14 -08:00
Benoit Girard
f5ea9b323a
Bug 939585 - Build gfx/thebes in unified mode. r=ehsan,bjacob
2013-11-21 14:22:45 -05:00
Matt Woodrow
1647157c5c
Bug 923341 - Part 3: Use azure for CreateSamplingRestrictedDrawable. r=seth
2013-11-13 17:32:48 +13:00
Jeff Muizelaar
4cc65796f2
Bug 922807. Always draw images with OVER. r=roc
...
There's no reason I can see to draw them with SOURCE. SOURCE is slower with the
Azure wrapper (see FillAzure()). It is also slow with cairo when we have a
clip.
--HG--
extra : rebase_source : 5c92c09a20699213ef90fad35ae8309f5ca88979
2013-10-01 21:22:44 -04:00
Nicolas Silva
8605f47406
Bug 922202 - Make PlanarYCbCrImage::Data forward-declarable and remove some header includes. r=bjacob
2013-10-01 17:57:50 -07:00
Ehsan Akhgari
6c364e9615
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
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
Matt Woodrow
ca7201f9f8
Bug 917703 - Avoid copying to a sub image in CreateSamplingRestrictedDrawable if possible. r=roc
2013-09-19 17:23:31 +12:00
Wes Kocher
158158f87e
Backed out 5 changesets (bug 907926, bug 911393, bug 917703) due to OSX reftest bustage during an unrelated CLOSED TREE
...
Backed out changeset 94a6733b01dc (bug 907926)
Backed out changeset 44108fb6f7cc (bug 917703)
Backed out changeset f2dd2a27af69 (bug 911393)
Backed out changeset fdb0d1053128 (bug 907926)
Backed out changeset b3616b786e8f (bug 907926)
2013-09-19 17:56:18 -07:00
Matt Woodrow
ca3643fb38
Bug 917703 - Avoid copying to a sub image in CreateSamplingRestrictedDrawable if possible. r=roc
2013-09-19 17:23:31 +12:00