Граф коммитов

859 Коммитов

Автор SHA1 Сообщение Дата
Matt Woodrow 0c71819122 Bug 1011865 - Create optimized source surfaces when skia-gl is enabled since we want to cache the GPU texture. r=gw280 2014-05-23 17:09:34 +12:00
Matt Woodrow 869cbbd129 Bug 1012386 - Release the CGImage we addref'd in DrawTargetCG::CopySurface. r=jrmuizel 2014-05-21 18:43:16 +12:00
Milan Sreckovic 2ca1dde32b Bug 1007856: Update 2D.h to doxygen friendly comment format. r=bas,trivial 2014-05-19 13:54:41 -04:00
Jeff Muizelaar 7db7c28ba4 Bug 1011062. Add a fast path to DrawTargetSkia::MaskSurface(). r=gw280
This should speed things up significantly by avoid a bunch
of unneeded work.

--HG--
extra : rebase_source : 1194a825a5a9e5e86a94ba6c6c67f959051f1da3
2014-05-16 21:31:43 -04:00
Jeff Muizelaar adc31c670f Bug 1011011. DrawTargetSkia: Round alpha properly when creating Paint. r=mattwoodrow
This fixes some off by one errors in content reftests

--HG--
extra : rebase_source : 38a7aaed5600431f2c75005e1b71b8e572c3685d
2014-05-15 22:12:42 -04:00
Botond Ballo 49966e8549 Bug 961289 - Add support for writing a BaseRect to an output stream. r=Bas
--HG--
extra : source : 2f5a1727bfe5c95c99aced1221c816fefcb95b0c
2014-05-07 16:29:44 -04:00
Markus Stange fa2b5d8efd Bug 1009020 - Use a fixed epsilon when nudging the transform to integers in ChooseScaleAndSetTransform. r=roc 2014-05-12 21:37:21 +02:00
Markus Stange 6cedf152d2 Bug 1008154 - Make BaseRect::Intersects return false if at least one of the rects is empty. r=roc 2014-05-11 17:48:32 +02:00
Matt Woodrow 42a1b01ffc Bug 1003707 - Pass surfaces sizes in to CreateSourceSurfaceFromNativeSurface instead of trying to extract it from cairo. r=Bas 2014-05-08 11:23:44 +12:00
Doug Sherk 44492a6505 Bug 1002289 - Allow adding/subtracting of BaseSize on BaseRect. r=botond, Bas 2014-05-02 11:22:54 -04:00
Matt Woodrow d8e88266a3 Bug 997551 - Avoid copying data in GetSourceSurfaceForSurface whenever possible. r=Bas 2014-04-25 15:31:53 +12:00
James Willcox 73b9d741e9 Bug 987010 - Ignore alpha in Skia BGRX source surfaces - r=gwright 2014-04-17 17:01:23 -04:00
Matt Woodrow 6b0c6f1f73 Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas 2014-04-17 12:45:25 +12:00
Jonathan Watt 1aa51ae65a Bug 996673 - Stop using |#pragma once| in Moz2D headers. r=Bas 2014-04-16 17:17:22 +01:00
Dan Glastonbury 4c6c1b1385 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 200e95e9eb 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 6122161e8f Bug 982698 - Make FilterNodeD2D1 support DataSourceSurface input surfaces. r=Bas 2014-04-15 23:45:11 +01:00
Jonathan Watt 6b18c742cc 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 5cba8c373e 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 fcf60755cc Bug 995832 - Make DrawTargetSkia::DrawSurface accept any surface type. r=gw280 2014-04-15 13:55:48 +01:00
peter chang fc8c3c2db9 Bug 970007 - Fix incorrect colorformat when using CairoSurface. r=gal r=bas 2014-04-14 20:51:00 +02:00
Jonathan Watt e6bfe53ec2 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 149c0b0375 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 47c54b3ec4 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 e3136f10a5 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 38ba64bea6 Bug 987077: Correctly deal with a constant acceleration. r=jwatt 2014-04-02 21:16:57 +01:00
Matt Woodrow e378b02005 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 2b85454eab 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 a89e1563ef Bug 989858 - Part 6: Rename DeprecatedPaint and stop passing a gfxContext in. r=roc 2014-04-01 12:02:10 +08:00
Matt Woodrow cc85b3dbf4 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 ff78811d5f 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 70730aef78 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 a852688935 Backed out changeset 32ce387c5487 (bug 987010) for crashes.
CLOSED TREE
2014-03-26 15:58:07 -04:00
James Willcox 8f21634db7 Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright 2014-03-26 13:22:42 -05:00
James Willcox 83c16f28e8 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 b6b21ffe8c Backed out changeset 08c58214f01f (bug 987010) for xpcshell crashes; CLOSED TREE 2014-03-26 15:15:18 +00:00
Ed Morley 9ba6fe2dd0 Backed out changeset a0827d7c8a02 (bug 981621) 2014-03-26 15:14:57 +00:00
James Willcox 41af8c05dd 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 41323022ff Bug 987010 - Ignore alpha in Skia BGRX source surfaces r=gwright 2014-03-26 09:08:27 -05:00
Rik Cabanier c2025c36cd Bug 987292 - drawImage does not resample outside source rect r=jmuizelaar 2014-03-24 14:10:00 +01:00
Jonathan Watt ada9b58e25 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 66495ade28 Bug 987667 - Make GenericAtomicRefCounted thread-safe; r=bjacob 2014-03-25 13:58:48 -04:00
James Willcox 52b762a06a Bug 981621 - Guard against null GrContext r=gwright 2014-03-24 09:13:55 -05:00
Bas Schouten 90a70f0ab4 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 18:40:58 +01:00
Phil Ringnalda 8eb18b0e12 Back out 87e39d7d851a (bug 984796) for printfing like log size is infinite
CLOSED TREE
2014-03-21 19:49:15 -07:00
Jonathan Watt 06a79a3b5a 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 886ced8b00 Bug 984796: Fix some small errors in path flattening code. r=jwatt 2014-03-22 00:55:36 +01:00
George Wright e7aad60492 [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 020f3fd4d8 Bug 979118 - Add global MMX_FLAGS, SSE_FLAGS and SSE2_FLAGS variables; r=glandium 2014-03-19 21:55:00 -04:00
Jonathan Watt 62e7421fb7 Bug 985320 - Add a static Matrix::Scaling method to Moz2D's Matrix. r=Bas 2014-03-19 22:33:38 +08:00