Markus Stange
0f8ae00cdc
Bug 1055622 - Add support for specifying the font smoothing background color to Moz2D. r=Bas, r=jrmuizel
2014-10-24 18:32:23 +02:00
Markus Stange
199762c424
Bug 1074842 - Let SourceSurfaceCGBitmapContext take ownership of the data when DrawTargetCG is destroyed. r=jrmuizel
2014-10-24 18:32:22 +02:00
Matt Woodrow
97ffb8ffb7
Bug 1070722 - Remove DrawTargetCG::OptimizeSourceSurface since we don't get any benefit without quartz high-quality downscaling enabled. r=jrmuizel
2014-10-02 21:14:46 +13:00
Matt Woodrow
0b55343996
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
2014-09-26 15:05:14 -04:00
Wes Kocher
64e89669a6
Backed out changeset b5705fbed44f (bug 1070722) for reftest orange on a CLOSED TREE
2014-09-26 14:29:46 -07:00
Matt Woodrow
fa88132850
Bug 1070722 - Use the imagelib high quality downscaler on OSX instead of the quartz one. r=jrmuizel
...
--HG--
extra : rebase_source : 53c205cfc8af95be28d0878248b04e9872910651
2014-09-26 15:05:14 -04:00
Matt Woodrow
7ab5665d74
Bug 1062723 - Part 3: Implement source clipping for DrawTargetCG. r=jrmuizel
...
--HG--
extra : rebase_source : 679e0a97bdc31bb4b98b375618f70fb04a74b2cb
2014-09-12 17:18:22 +12:00
Michael Wu
e58cfe332e
Bug 1063733 - Optimize DataSourceSurface allocation, r=bas,seth
2014-09-10 17:54:16 -04:00
Matt Woodrow
b2c63285ba
Bug 1059033
- Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
...
--HG--
extra : rebase_source : dac51f66400d5810b9662cf6cf48ce60bf1aa4d1
2014-09-03 09:21:14 +12:00
Phil Ringnalda
d75200777a
Backed out 8 changesets (bug 982338, bug 1057212, bug 1059033
) for build bustage
...
CLOSED TREE
Backed out changeset 4df1bd30364d (bug 982338)
Backed out changeset b68664a02904 (bug 1057212)
Backed out changeset 07b3695aa02f (bug 1059033
)
Backed out changeset bb3885b57d48 (bug 1059033
)
Backed out changeset 76897f52ac2c (bug 1059033
)
Backed out changeset 31e89a2a409f (bug 1059033
)
Backed out changeset 8e81f6f74182 (bug 1059033
)
Backed out changeset c5bbf22f2f28 (bug 1059033
)
2014-09-01 18:07:57 -07:00
Matt Woodrow
1228e8b905
Bug 1059033
- Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
...
--HG--
extra : rebase_source : 2046ee6e625b8869c7da5b401cb7fe1135f4966a
2014-09-02 12:35:32 +12:00
Phil Ringnalda
91ea7d35b7
Backed out 8 changesets (bug 1057212, bug 1059033
) for Windows build bustage
...
CLOSED TREE
Backed out changeset a54dbdca597b (bug 1059033
)
Backed out changeset d8d79e4fbfc4 (bug 1059033
)
Backed out changeset 87494588e493 (bug 1057212)
Backed out changeset 3e4105ea0a73 (bug 1059033
)
Backed out changeset e59430ea4256 (bug 1059033
)
Backed out changeset 301fdfea8fbf (bug 1059033
)
Backed out changeset 1ef5a3a9bb06 (bug 1059033
)
Backed out changeset a7eaac164c36 (bug 1059033
)
2014-08-31 23:55:31 -07:00
Matt Woodrow
b48bd57177
Bug 1059033
- Part 5: Implement OptimizeSourceSurface for DrawTargetCG. r=Bas
2014-09-01 15:23:21 +12:00
Matt Woodrow
86d55eb90d
Bug 1057216 - Make DrawTargetCG hold a reference to DataSourceSurface when we're wrapping their data. r=jrmuizel
...
--HG--
extra : rebase_source : ad610592f69294caedcbca5d61c1644120cbec66
2014-08-27 10:20:18 +12:00
Markus Stange
aa23379b28
Bug 1049499 - Choose the correct number of gradient repetitions if a non-identity pattern matrix is involved. r=jrmuizel
2014-08-07 13:23:53 +02:00
Nicolas Silva
d6dd3d64a1
Bug 1025138 - Integrate DrawTargetTiled preffed off. r=mattwoodrow
2014-08-06 14:40:03 +02:00
Milan Sreckovic
9a47d98489
Bug 1042259 - Manage color spaces in DrawTargetCG, without re-creating them as often as before. Use std::vector for gradient stops, sorting them in the process. r=mstange
2014-07-23 12:12:59 -04:00
Milan Sreckovic
8c9e2ee580
Bug 1031525 - Support DrawTargetCG::DrawWindow and non-CG types. r=gw280,mattwoodrow
2014-07-14 13:24:01 -04:00
Jonathan Watt
d103dd96a6
Bug 1027763, part 4 - Add a new DrawTarget::GetType() method and three generic type enum values for it to return. r=Bas, r=jrmuizel
2014-06-27 10:17:49 +01:00
Jonathan Watt
3480cabb15
Bug 1027763, part 1 - Rename DrawTarget::GetType() to DrawTarget::GetBackendType() in Moz2D code. r=Bas
2014-06-19 21:35:33 +01:00
Jonathan Watt
a5f66d9e89
Bug 1023336, part 2 - Use the new BufferSizeFromStrideAndHeight helper where appropriate in Moz2D code. r=Bas
2014-06-13 22:03:52 +01:00
Jonathan Watt
344fb8cd20
Bug 1024983 - Stop addrefing and releasing excessively in the Moz2D code in functions that return a TemporaryRef. r=mstange
2014-06-13 17:09:23 +01:00
Markus Stange
6eb6d71957
Bug 1022624 - Rename numStops to stopCount.
2014-06-10 22:29:03 +02:00
Markus Stange
f3f989876c
Bug 1022624 - Share code for constructing repeated linear and radial gradients. r=jrmuizel
2014-06-10 22:27:45 +02:00
Markus Stange
1dd3880ba2
Bug 1022624 - Implement support for radial gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel
2014-06-10 22:26:58 +02:00
Markus Stange
37a45d0830
Bug 1022624 - Implement support for linear gradients with ExtendMode::REFLECT in DrawTargetCG. r=jrmuizel
2014-06-10 22:26:32 +02:00
Matt Woodrow
a116f0d15b
Bug 1012386 - Release the CGImage we addref'd in DrawTargetCG::CopySurface. r=jrmuizel
2014-05-21 18:43:16 +12:00
Matt Woodrow
375c837dc3
Bug 996929 - Implement OptimizeSourceSurface for all Moz2D backends. r=Bas
2014-04-17 12:45:25 +12:00
Jeff Muizelaar
3fc24ea7d9
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
Matt Woodrow
f11261b42c
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
Rik Cabanier
8ce82a7204
Bug 987292 - drawImage does not resample outside source rect r=jmuizelaar
2014-03-24 14:10:00 +01:00
Jonathan Watt
7887504abd
Bug 981857 - Make DrawTargetCG::CopySurface() support data surfaces. r=jrmuizel
2014-03-11 07:24:43 +00:00
Ehsan Akhgari
cc2dbcc735
Bug 935778 - Part 0.6: Add support for MOZ_DECLARE_REFCOUNTED_VIRTUAL_TYPENAME and use it in moz2d
...
X-Git-Commit-ID: bc256ac44cbba52b04f8f0390965632ec4507608
2014-02-24 08:23:37 -05:00
Markus Stange
7801698af8
Bug 973308 - Don't let empty clip rects put infinities into the gradient calculations. r=jrmuizel
2014-02-18 23:18:29 +01:00
Jeff Muizelaar
069e63be95
Bug 821475. Moz2D: Remove flip when drawing gradient. r=mstange
...
We muck with the matrix before we draw the text. We need to set it back after.
--HG--
rename : mobile/android/base/FilePicker.java => mobile/android/base/ActivityHandlerHelper.java
extra : rebase_source : 4f937b0b2779ee6c771e030a7ae0894f14a7b211
2014-02-15 18:21:43 -05:00
Markus Stange
6c1f71473b
Bug 966996 - The computed gradient stops need not cover the origin, so don't start at zero. r=jrmuizel
...
--HG--
extra : rebase_source : cc8afae8083129aee8765855037fc89ea1280b1c
2014-02-13 12:11:16 +01:00
Markus Stange
3a1354b2f9
Bug 966996 - Clamp the gradient extents to the current clip extents so that we don't compute unseen gradient stops. r=jrmuizel
...
--HG--
extra : rebase_source : 5ccf62603305ff2d88c98512e795fed87badc2c8
2014-02-13 12:10:43 +01:00
Markus Stange
57aa1c3ea0
Bug 950511 - Back out part 1 from bug 941095 (DrawTargetCG::SetPermitSubpixelAA) because it's unnecessary and causes bad text rendering in context menus.
2014-02-04 21:03:12 +01:00
Benoit Jacob
06f7a9c4a2
Bug 958375 - 8/9 - Make remaining Moz2D enums typed - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:17 -05:00
Benoit Jacob
2d5774ca0a
Bug 958375 - 6/9 - Make BackendType and NativeSurfaceType typed enums - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
55e7c24065
Bug 958375 - 4/9 - Make SurfaceFormat a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 14:06:16 -05:00
Benoit Jacob
b493201ca4
Bug 958375 - 1/9 - Make SurfaceType a typed enum - r=Bas
...
Specifically:
r=Bas for manual changes
f=Bas for automatic changes
See attachments on the bug for the specific breakdown.
2014-01-10 13:55:24 -05:00
Markus Stange
41fb4612d8
Bug 951443 - Don't attempt to create 0x0-sized CGContexts when the UnboundnessFixer encounters an empty clip. r=jrmuizel
2014-01-08 10:31:17 +01:00
Benoit Girard
63dbe4cee0
Bug 941095 - Part 1: Support SetPermitSubpixelAA with Quartz. r=bas
...
--HG--
extra : rebase_source : 69171a8a17a34c822b34f48babecf18ffa08bf56
2013-12-11 23:16:03 -05:00
Markus Stange
3b8525bea8
Bug 924102 - Implement DrawTarget filter APIs with FilterNodeSoftware for Cairo, CG, D2D, D2D1 and Dual. r=Bas
2013-11-27 12:22:56 +01:00
Markus Stange
294abc7618
Bug 930956 - Make DrawTargetCG::DrawSurface support painting a DataSourceSurface that is not a DataSourceSurfaceCG. r=jrmuizel, r=Bas
2013-11-27 12:21:43 +01:00
Jeff Muizelaar
2a66d6e9b2
Bug 929471. Make DrawTargetCG independent from QuartzSupport.mm. r=bgirard
2013-11-07 22:53:54 -05:00
Matt Woodrow
f9c1c3c562
Bug 922942 - Update BufferTextureClients using Azure. r=nical
2013-10-16 14:00:30 +13:00
Markus Stange
df71b06fc0
Bug 902591 - Choose the number of linear gradient repetitions in such a way that the whole extents rect is filled. Substantial parts of the code in this patch were written by roc in bug 508730. r=mattwoodrow
...
--HG--
extra : rebase_source : d7f99adc56ef4d81e14bf3ece6761dd8d5c476ed
2013-10-11 10:26:40 -04:00
Matt Woodrow
a567cd9101
Bug 923309 - Don't flush CGContext drawing to the window when we're only meant to be completing any pending drawing. r=Bas
2013-10-10 17:44:09 +13:00