Commit Graph

848 Commits

Author SHA1 Message Date
James Willcox
bdb0deafb2 Bug 987010 - Ignore alpha in Skia BGRX source surfaces - r=gwright 2014-04-17 17:01:23 -04:00
Matt Woodrow
2a86d08969 Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas 2014-04-17 12:45:25 +12:00
Jonathan Watt
679d2f9680 Bug 996673 - Stop using |#pragma once| in Moz2D headers. r=Bas 2014-04-16 17:17:22 +01:00
Dan Glastonbury
3084cbcab2 Bug 963492 - Assertion failure: GetTransform() == Matrix(mat.xx, mat.yx, mat.xy, mat.yy, mat.x0, mat.y0). r= matt.woodrow 2014-04-15 14:57:29 +10:00
Jonathan Watt
61a8971526 Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Markus Stange
b6241f2007 Bug 982698 - Make FilterNodeD2D1 support DataSourceSurface input surfaces. r=Bas 2014-04-15 23:45:11 +01:00
Jonathan Watt
0dcb1838b9 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Jonathan Watt
2ab567a6db Bug 996687 - Make Moz2D's DataSourceSurface's mIsMapped member exist in non-DEBUG builds (since non-DEBUG code uses it\!). r=Bas 2014-04-15 17:38:57 +01:00
Jonathan Watt
5cfb1fc921 Bug 995832 - Make DrawTargetSkia::DrawSurface accept any surface type. r=gw280 2014-04-15 13:55:48 +01:00
peter chang
882f079c4a Bug 970007 - Fix incorrect colorformat when using CairoSurface. r=gal r=bas 2014-04-14 20:51:00 +02:00
Jonathan Watt
03c7d2bb04 Bug 993319 - Add a GetNativeSurface method to SourceSurface. r=Bas
--HG--
extra : rebase_source : b8119354c53c57ba8fdeb6e7ca6c4c2285772244
2014-04-10 09:12:31 +01:00
Matt Woodrow
6586d24779 Bug 993784 - Part 2: Add gfxContext API to mask directly from a moz2d SourceSurface. r=roc 2014-04-09 21:15:19 +12:00
Jeff Muizelaar
8fe9179a5d Bug 990854. Update CopySurface() to be as fast as DrawSurface(). r=mwoodrow
Bug 987292 made DrawSurface faster by avoiding creating CGImageRef.
We can do the same for CopySurface.
2014-04-03 11:24:05 +08:00
Jonathan Watt
4678063331 Bug 983591 - Add a Moz2d helper to copy pixel data from a B8G8R8X8 surface to a packed B8G8R8 array. r=Bas 2014-04-08 10:14:52 +01:00
Bas Schouten
1cfc05dded Bug 987077: Correctly deal with a constant acceleration. r=jwatt 2014-04-02 21:16:57 +01:00
Matt Woodrow
0d0dc840d2 Bug 990357 - Don't push layer for OPERATOR_SOURCE when the drawing operation covers the entire clip for DrawTargetSkia. r=gw280 2014-04-01 16:59:20 +08:00
Matt Woodrow
6e3ee59a02 Bug 990357 - Don't push layer for OPERATOR_SOURCE when the drawing operation covers the entire clip for DrawTargetCG. r=jrmuizel 2014-04-01 16:57:35 +08:00
Matt Woodrow
b34afdaf89 Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow
2d994368c3 Bug 973264 - If we wrap gfxImageSurface data when creating a SourceSurface, hold a reference to the original surface so the data stays alive. r=Bas
--HG--
extra : rebase_source : ef99e74688f992c80bd4da1cd5373dcd95ac80a3
2014-03-05 16:04:05 +13:00
Phil Ringnalda
39be46ace0 Back out 5adc1acdb309 (bug 973264) for Windows reftest bustage
CLOSED TREE

--HG--
extra : rebase_source : e7e68eb00234424a7fe4bcd6a165c5cc07f0fa30
2014-03-30 20:32:34 -07:00
Matt Woodrow
bad09e1466 Bug 973264 - If we wrap gfxImageSurface data when creating a SourceSurface, hold a reference to the original surface so the data stays alive. r=Bas
--HG--
extra : rebase_source : 91833db0c39af3984dc7e7a1965486916a9f47f8
2014-03-05 16:04:05 +13:00
Ryan VanderMeulen
a0a7f1acec Backed out changeset 32ce387c5487 (bug 987010) for crashes.
CLOSED TREE
2014-03-26 15:58:07 -04:00
James Willcox
4fb0804a3e Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright 2014-03-26 13:22:42 -05:00
James Willcox
108a4757be Bug 981621 - Don't crash if we fail to create SkiaGL backing texture r=gwright 2014-03-26 13:21:50 -05:00
Ed Morley
28b94e6939 Backed out changeset 08c58214f01f (bug 987010) for xpcshell crashes; CLOSED TREE 2014-03-26 15:15:18 +00:00
Ed Morley
b9ee929f4c Backed out changeset a0827d7c8a02 (bug 981621) 2014-03-26 15:14:57 +00:00
James Willcox
146bae5aff Bug 981621 - Don't crash if we fail to create SkiaGL backing texture r=gwright 2014-03-26 09:10:12 -05:00
James Willcox
a6c0201109 Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright 2014-03-26 09:08:27 -05:00
Rik Cabanier
36410d994f Bug 987292 - drawImage does not resample outside source rect r=jmuizelaar 2014-03-24 14:10:00 +01:00
Jonathan Watt
d1f497be9e Bug 982697 - Make Moz2D's DataSourceSurfaceD2D ctor clear the texture memory before drawing to it so that the old content of recycled textures isn't displayed underneath the drawn content. r=Bas 2014-03-26 02:03:55 +00:00
Ehsan Akhgari
04a9eef480 Bug 987667 - Make GenericAtomicRefCounted thread-safe; r=bjacob 2014-03-25 13:58:48 -04:00
James Willcox
11722c2841 Bug 981621 - Guard against null GrContext r=gwright 2014-03-24 09:13:55 -05:00
Bas Schouten
ec5bb433f2 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 18:40:58 +01:00
Phil Ringnalda
94a50979f7 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00
Jonathan Watt
bffb9388c5 Bug 985470 - Replace the Moz2D Matrix().Translate() calls with Matrix::Translation() for better perf. r=mattwoodrow
--HG--
extra : rebase_source : 7181564bdaa57a970a256e9676857a7195874631
2014-03-22 07:56:11 +08:00
Bas Schouten
a3d8192024 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
George Wright
8bd7a8f28c [PATCH 3/6] Bug 985217 - Minor changes to gfx/2d for API changes in Skia r=snorp 2014-03-20 14:07:36 -04:00
Ehsan Akhgari
5ab76fe98e Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Jonathan Watt
e636293bab Bug 985320 - Add a static Matrix::Scaling method to Moz2D's Matrix. r=Bas 2014-03-19 22:33:38 +08:00
Matt Woodrow
cca6f8378b Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Phil Ringnalda
79d8e75d3b Back out f79690ca47fa:48828b35e4ce (bug 982318) for b2g mochitest bustage
CLOSED TREE
2014-03-18 00:02:24 -07:00
Jonathan Watt
cf5d257ff6 Bug 982884 - Make DrawTargetD2D::GetBitmapForSurface correctly handle fractional source rect for data surfaces. r=Bas 2014-03-13 09:58:22 +00:00
Jonathan Watt
d5e6d48c8a Bug 984263 - Add methods to Moz2D Matrix to help with translation and rotation matrices. r=Bas 2014-03-18 13:04:47 +08:00
Matt Woodrow
686e2f7be4 Bug 982318 - Add TransformBounds to Matrix4x4 so that we can stop assuming 2d matrices in TiledContentHost. r=Bas 2014-03-18 12:06:23 +08:00
Jacek Caban
a2d1f25ecd Bug 981607 - Ensure that Log may handle both long and long long. r=botond 2014-03-14 14:05:47 +01:00
Jonathan Watt
880a3e3b3a Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel 2014-03-11 07:24:43 +00:00
George Wright
5137367585 Bug 976184 - Apply a drop shadow image filter to our SkPaint when drawing a surface with a shadow r=mattwoodrow 2014-03-06 16:33:39 -05:00
Ehsan Akhgari
8cf9386f77 Bug 978472 - Add support for leak checking in GenericRefCounted classes; r=bjacob 2014-03-09 14:40:49 -04:00
Jonathan Watt
0c186fb8f2 Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas CLOSED TREE to fix orange 2014-03-07 14:55:16 +00:00
Jonathan Watt
705e519aba Bug 980885 - Fix more Moz2D D2D mapping code that fails to set/reset mIsMapped. r=Bas 2014-03-07 13:24:47 +00:00